15 pts.
 SNDPGMMSG, Creates the message as part of Job Log but does not display it all the time
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

Software/Hardware used:
ASKED: August 26, 2008  2:19 AM
UPDATED: August 29, 2008  7:42 PM

Answer Wiki:
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
Last Wiki Answer Submitted:  August 29, 2008  7:42 pm  by  Tpinky   4,165 pts.
All Answer Wiki Contributors:  Tpinky   4,165 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _