SNDPGMMSG, Creates the message as part of Job Log but does not display it all the time

15 pts.
Tags:
MSGF
MSGID
RPG
SNDPGMMSG
SNDPGMMSG MSGID(&MSGID) MSGF(ERRMSGC) MSGDTA(&MSGDATA) I have added some new code to some old programs and am getting some strange things happening. I create a Cl as indicated above that I call in my RPG?? Program to display and added a Message subfile (*ind58, to control the display) to the Display File to handle the programmed controled messages, hard errors (*ind80 = *on) and soft errors (*ind80 = *off). When the data entry program runs I sometimes see the messages on line 24 and sometimes Not. If the messages do not display I can force them to appear by creating a hard error? In all cases if I press Shift ESC to and 3 to work with job, then 10 to look at the job log, I always see the messages that should appear on line 24. These old programs also have some screen controled error message handling, and these messages usually appear on a windows line below line 24. I'm not sure if the combination of message handling or improper code additions are causing my problem. Thanks for any assistance

Answer Wiki

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

Hello,

Look at this website and see if it will help in what you are trying to accomplish…

http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/cl/sndpgmms.htm

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.

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

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