MSGF Questions

1

How to display message in display file from a MSGF
How to display a message (essentially error message) at the bottom in display file (DSPF) from a Message File (MSGF)? Also in order to display more than one message, how do I go about that? I have a MSGF, wherein all the messages are pre-defined, which we have to use. Would greatly appreciate your prompt [...]

Answer Question   |  April 24, 2013  6:27 AM
AS/400 - DDS, DSPF, MSGF
asked by:
315 pts.

Message subfile
Am I seeing things ? I’m using the IBM api QMHSNDPM to populate my message subfile. I saw it working properly yesterday. After unrelated pgm changes today, it zaps the 1st 2 positions of the message ID (thus no longer finds matches in my MSGF). I verified (debug) that the ID is intact at the [...]

Answer Question   |  April 16, 2013  4:53 PM
AS/400, MSGF, QMHSNDPM
asked by:
1,565 pts.

Adding MSGF to QDSIGNON
**This doesnt affect the normal login screen. Only issue is trying to display a message at the bottom. The login screen still works. Here is what i did: Created “TESTF” and it contains.     ADDLIBLE LIB(QGPL) POS(*FIRST)                       ADDMSGD MSGID(SGN0000 MSGF(TESTF) MSG(‘_____TESTING_____’)       In the QDSIGNON file I have compiled this entry: A            TEST          [...]

Answer Question   |  January 13, 2010  7:03 PM
AS/400, MSGF, qdsignon
asked by:
65 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 [...]

Answer Question   |  August 29, 2008  2:19 AM
MSGDTA, MSGF, MSGID, RPG, RPG/360, SNDPGMMSG
asked by:
15 pts.

1