Hello Everyone,
I have this CL program that makes use of SNDPGMMSG in order to have messages displayed at the bottom of the screen.
The concern now is that, earlier the manner in which the send to program message was implemented was as below:
But now the command makes use of a variable instead of hardcoded text within MSGDTA like below:
Everything is successfully working excepting for the fact that the text now appears truncated with just 'Message has been submitted.' appearing. Is the defined length the issue. If so where exactly can i go and increase the length. Also the program worked well during the hard coded text, the new variable too has the same text so where could be the exact issue?
Please guide.
I have this CL program that makes use of SNDPGMMSG in order to have messages displayed at the bottom of the screen.
The concern now is that, earlier the manner in which the send to program message was implemented was as below:
Code:
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA('Message has been submitted to batch') TOPGMQ(*PRV)MSGTYPE(*COMP)
Code:
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&FIELD1) TOPGMQ(*PRV)MSGTYPE(*COMP)
Please guide.
Comment