+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Reading the QSYSOPR msgq

  1. #11
    IamBC1 Guest

    Default Reading the QSYSOPR msgq

    firas400, see the attached code. Nothing elegant, but it does work. I simply sent each message to the user message queue, you could check the &RtnType field to identify the messages you want to act upon.
    Code

  2. #12
    Guest.Visitor Guest

    Default Reading the QSYSOPR msgq

    One could do a CHGMSGQ to specify a program that gets called whenever a message arrives. you will have to put the message queue into *BREAK mode, specify the SMS sending program on the Message Queue definition, and eventually specufy the *ALWRPY parameter. CHGMSGQ MSGQ(QSYSOPR) DLVRY(*BREAK) PGM(MYLIB/MYPGM *ALWRPY)

  3. #13

    Default Reading the QSYSOPR msgq

    Hello all need to read the qsysopr msgq in order to send special messages and alerts through SMS to mobile. is there anyway i can catch the message on the qsysopr depending on the msg description and then call the program to send it to mobile? thanks in advance

  4. #14

    Default Reading the QSYSOPR msgq

    You could create a Monitor in iSeriesNavigator to monitor QSYSOPR MSGQ for various messages. When one of these messages is encountered, you specify a program to call. You can pass the MSGKEY to the CL program and RCVMSG from QSYSOPR to get more details on the message. Then you can call your mobile. Note, however, that you can't do a RVCMSG if the MSGQ is locked by another job. Worst case though, you could send a message that just says "Check QSYSOPR". Hope this helps, mary

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Replies: 10
    Last Post: 12-08-2009, 10:39 AM
  2. Replies: 13
    Last Post: 01-18-2005, 07:44 AM
  3. How to get Date/Time Sent for Messages in MSGQ
    By Guest.Visitor in forum CL
    Replies: 1
    Last Post: 06-29-2004, 10:58 AM
  4. qsysopr
    By Guest.Visitor in forum Security
    Replies: 1
    Last Post: 01-24-2001, 08:57 AM
  5. MSGQ System API
    By Guest.Visitor in forum Application Software
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts