I don't know anything about data queues
Hope it helps. Nicolas
Nicolas
I have used QCAPCMD many times, but never used the request message
functionality.
However, I believe this is the intention:
1. Set the program up as a request processor. This is easiest in CL:
SNDPGMMSG yada yada MSGTYPE(*RQS)
RCVMSG yada yada KEYVAR(&KEY) RMV(*NO)
2. Use the &KEY variable in the call to QCAPCMD - this will allow the request
message sent previously to be altered by any prompting that occurs through the
use of this API.
Note that the RMV(*NO) is most important, as the API cannot get the message if
it has been removed.
3. Handle any exceptions that occur. This will include CPF1907, as it will be
sent if someone happens to attempt sysreq 2. see the CL programming manual.
Hope this is helpful.
Nick B.