SYSTEM_COMMAND and Messages
Posted: Wed Mar 22, 2017 7:14 am
I am using the builtin SYSTEM_COMMAND to change library lists as such
I have noticed on my VLF-ONE command that when I receive the message queue when the call to the server module completes
There is a "Library List changed." message in the queue.
I don't have any code that adds that as a message so I am assuming the CHGLIBL command is doing it. Every request has to set the library list so some commands have multiple requests to fill dynamic picklists and such so I end up with a few of these "Library List changed." messages.
Is there anyway to get it to stop? It is interfering with my other messages.
The documentation states that using X on IBM i is the same as running as S. Using B is the same as X run in the background and hidden on Windows but does not mention it running on IBM i.
Code: Select all
#command := "CHGLIBL libl(" + #libraryList + ")"
use builtin(SYSTEM_COMMAND) with_args(X #command) to_get(#STD_NUM)
Code: Select all
#avFrameworkManager.avReceiveSystemMessageQueue intomainform(False) requester(#COM_OWNER)
Is there anyway to get it to stop? It is interfering with my other messages.
The documentation states that using X on IBM i is the same as running as S. Using B is the same as X run in the background and hidden on Windows but does not mention it running on IBM i.