× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



When I do this, I use SNDPGMMSG with the parameters TOPGMQ(*EXT) and MSGTYPE(*STATUS)

Rich Loeber - @richloeber
Kisco Information Systems
http://www.kisco.com

------------------------------------------------------------------------



On 4/16/2020 2:03 PM, James H. H. Lampert wrote:
If I have to RTFM for this one (and I've already begun doing so), it will probably take forever; I'm hoping somebody knows it off the top of his or her head:

Suppose I have a CL program running in a batch job. And I want that CL program to send a message (an "INFO" message is fine) to *the user running the batch job* indicating that it has reached a specific checkpoint in the job.

How do I do it? SNDMSG or SNDPGMMSG? And with what parameters?

According to what I've read in the helptext, I understand that REQUESTER in a batch job sends to the system operator message queue (which I don't want).

The idea here is to find out what portion of the job is taking the most time, by looking at the timestamps on the messages from various checkpoints.

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.