How to change status line (24) from CL?
1005 pts.
0
Q:
How to change status line (24) from CL?
I'm trying to leave a status message on line 24 when my CL(LE) program is done. Unfortunately, as soon as the message appears, it vanishes! This CL submits a batch process, and my goal is to notify the user that they submitted it so that they don't just keep doing it because they have seen no immediate results.

Here is my CLLE code to send the message:

SNDPGMMSG MSGID(CPF9897) MSGF(QCPFMSG) MSGDTA('Update +
submitted. Check printer for reports.') +
TOPGMQ(*EXT) MSGTYPE(*STATUS)

What am I doing wrong?? Thanks in advance!
ASKED: Jun 2 2008  7:44 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23625 pts.
0
A:
 RATE THIS ANSWER
+2
Click to Vote:
  •   2
  •  0
  • AddThis Social Bookmark Button


Hi,

Try using these parameters :-

TOPGMQ(*PRV) MSGTYPE(*ESCAPE)

Regards,

Martin Gilbert.
Last Answered: Jun 3 2008  9:23 AM GMT by Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Graybeard52   2425 pts.  |   Jun 3 2008  3:00PM GMT

Try this - I think you MSGTYPE(*COMP)

SNDPGMMSG MSGID(CPF9897) MSGF(QCPFMSG) MSGDTA(’Job +
complete.’) MSGTYPE(*COMP)

 

Gilly400   23625 pts.  |   Jun 4 2008  2:07PM GMT

That’s better.
Completion message makes more sense than escape.
Sorry.

 

0