MSGW

Tags:
AS/400 administration
CL
Message Waiting
MSGW
RPGLE
Thank You for your reply But I need the process how I can write a program in order to get all the process to be done that is, giving opt7 & reply 'G' for a MSGW job. Or can I have any other process to do the same that means sending a reply to a MSGW job in RPGLE or CLLE or by any other process in AS400.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

You can write a small CL program that runs in batch waiting for a message on a message queue (using the RCVMSG command). Then in your program you check for what sort of message you’ve received and if it’s the message you want to automatically answer you can use the SNDRPY command to send a reply to the message.

Alternatively you can could add th messages you want auto-answered into the system reply list.

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: