Using MONMSG to monitor for a CPF3741 message

25 pts.
Tags:
AS/400
BRMS
MONMSG
Can I use monmsg in an exit in brms to monitor for a CPF3741 MESSAGE

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    You can monitor for any predefined message that is sent to your program's message queue as a *NOTIFY, *ESCAPE or *STATUS message. Since CPF3741 is predefined (i.e., it has a message identifier so it must have a message description in some message file), then it only needs to be sent to your program's message queue as one of the three monitorable types. Tom
    125,585 pointsBadges:
    report
  • pdraebel
    You should check the BRMS manuals for using the MONMSG as an *EXIT command in a control group. If you want to modify the way BRMS handles exceptions check the BRMS system policy menu (WRKPCYBRM *SYS) look at the notification controls. It has a parameter that can change the messsage handling for BRMS. If your STRBKUBRM commands to start your control groups is wrapped in a CL program you can use the MONMSG command there to take corrective action if required.
    2,570 pointsBadges:
    report

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following