Hi,As I recall...
I created a command to clear a dataqueue using the QCLRDTAQ API. After the queue has been cleared, I want the program to send a message to line 24 of the users screen indicating that the queue has been cleared.
To do this, I coded a SNDPGMMSG in the processing program as follows:
SNDPGMMSG MSGID(CPF9898) MSGF(QSYS/QCPFMSG) +
MSGDTA('Dataqueue has been cleared') +
This works. The problem however, is that when the CL-program ends (which is right after the SNDPGMMSG), the message on line 24 gets cleared. So my question is, how can I keep the message on line 24 of the users screen AFTER the program that sends the message has ended.
De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact