Results 1 to 5 of 5

Thread: QSYSOPR Messages

  1. #1
    Experienced Forum Member
    Join Date
    Feb 2007
    Location
    India
    Posts
    58
    Rep Power
    622

    QSYSOPR Messages

    Hi,

    I want to get the QSYSOPR messages for a purpose like whenever a message comes in QSYSOPR msgq it should get stored in a file with a date and time. Like for example when a job comes in a MSGW it also reflects in a QSYSOPR MSGQ with waiting for reply. it should stored in a file and when we reply that message then also it should stored in a file.

    Can anyone help?

    Thanks,
    Mini

  2. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

  3. #2
    Harbinger of Doom tomholden's Avatar
    Join Date
    Dec 2007
    Location
    Lebanon, Tennessee, United States
    Posts
    4,328
    Rep Power
    8645

    Re: QSYSOPR Messages

    here's a save file with a program i use to monitor for messages in QSYSOPR. it uses MMAIL to email messages to sys admins. it only looks for inquiry messages which it seems you're asking for. you should be able to mod the code to suit your needs. the save file is at v5r2m0.
    http://www.tommyholden.com/downloads/sndmsgwait.savf
    I'm not anti-social, I just don't like people -Tommy Holden

  4. #3
    Experienced Forum Member vinomails's Avatar
    Join Date
    Oct 2007
    Location
    Addison, Texas
    Age
    35
    Posts
    188
    Rep Power
    780

    Re: QSYSOPR Messages

    Please try with RCVMSG command.

  5. #4
    Code400 Newbie
    Join Date
    Feb 2008
    Location
    us
    Posts
    38
    Rep Power
    553

    Re: QSYSOPR Messages


  6. #5
    Experienced Forum Member
    Join Date
    Feb 2007
    Location
    India
    Posts
    58
    Rep Power
    622

    Re: QSYSOPR Messages

    Hi All,

    Thanks for your reply.

    They are really valuable for me but I need some automation in which whenever an inquiry message (MSGW) comes to the QSYSOPR queue it should also be stored somewhere from where I can access it at day end. I dont want to run any program side by side which will monitor for MSGW in particular period of time and store (that would be resource heavy).

    Any Ideas?

    Thanks

  7. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

Facebook Comments


Similar Threads

  1. monitor for qsysopr inquiry messages
    By tomholden in forum Tips for the Iseries/AS400
    Replies: 1
    Last Post: December 8th, 2007, 12:12 AM
  2. DATA Queue
    By amar_mohite in forum CLP/CLLE
    Replies: 12
    Last Post: February 16th, 2006, 09:11 AM
  3. Jobd
    By ris_skma in forum RPG/RPGLE
    Replies: 1
    Last Post: July 27th, 2005, 06:34 AM
  4. Redirecting from QSYSOPR
    By Ernest_Morgan in forum Iseries System administration
    Replies: 1
    Last Post: June 15th, 2005, 03:47 PM
  5. Send Messages
    By Chevylover54 in forum CLP/CLLE
    Replies: 2
    Last Post: June 8th, 2005, 03:05 PM

Bookmarks

Posting Permissions

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