Good day.
I have created a CLLE test program that sends a diagnostic message. When this program is launched, the message goes to the interactive task log and also appears in the status bar.
Next, I wrote a C program that also sends a diagnostic message via the Send Program Message (QMHSNDPM) API. However, when this program is launched, the message only goes to the job log. It does not appear in the status bar.
Can someone explain to me why this is happening and how to fix it?
I have created a CLLE test program that sends a diagnostic message. When this program is launched, the message goes to the interactive task log and also appears in the status bar.
Code:
PGM SNDPGMMSG MSGID(CPA2401) MSGF(QCPFMSG) + MSGDTA('Diag message!') MSGTYPE(*DIAG) ENDPGM
Can someone explain to me why this is happening and how to fix it?
Comment