11/23/2018 0 Comments Qsysopr Break Handling ProgrammerCL Programming. An example of a break-handling program is to have the program send a message, which is normally sent to the QSYSOPR queue. Break-handler program on QSYSOPR. Programming and Web. Am I correct that the message queue break handling program has to return before the system calls the break. Hi All, I have a break-handler program on the QSYSOPR message queue. Everything works exactly as advertised except that the operators are complaining that they can not interact with the QSYSOPR from the green-screen 5250 using DSPMSG. Stated differently, when I issue the CHGMSGQ command to associated the break-handler program with the QSYSOPR message queue, CHGMSGQ obtains an exclusive lock on the message queue. The break-handler program does not manipulate or remove the messages, it only reads from the queue. Is it possible to have a break-handler program that does not obtain an exclusive lock? Here is the CHGMSGQ command: CHGMSGQ MSGQ(QSYSOPR) DLVRY(*BREAK) PGM(LIB/PGM *ALWRPY) SEV(10) Thanks in advance, Tony. You almost have it. Break handling attributes: PGM Break handling program.... > PGM Library.......... > LIB Allow other jobs to reply.. > *ALWRPY *NOALWRPY: When the message queue is in *BREAK mode with a brea handling program other than *DSPMSG specified, other jobs can display the message queue, but cannot reply to inquiry messages on the message queue. *ALWRPY: When the message queue is in *BREAK mode with a break handling program other than *DSPMSG specified, other jobs can reply to inquiry messages on the message queue. By setting the 'Allow other jobs to reply' to '*ALWRPY' should (It works for me. Shuklam baradharam song free download. ) allow the operators to interact with the messages as well. Hope this helps. Hi Dan, First off, thank you for responding. I am still unclear as to how to solve the problem since what you have described, appears to be what I am doing. Qsysopr Message QueueThe only thing that I don't understand is 'When the message queue is in *BREAK mode with a break handling program other than *DSPMSG specified.' What indicates that the break-handling program has *DSPMSG specified and what does that mean and (most importanly) how to I specify this attribute for the CL break-handling program? Dspmsg QsysoprThanks again, Tony that associated obtains an exclusive. Nthony, When I read your first message I understood that the break message program was working and the only issue was that the operators were not able to answer messages manually. This should be correctable by changing the 'Allow other jobs to reply' to '*ALWRPY'. But I guess I've missed something. If you like to send me more detail or perhaps the code your trying to get to work I'll load it on my system at home and take a look. I'm on V5r1m0. [email protected] Please remove '.nojunkmail'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |