×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




How about sending the message to the joblog. Make sure the job runs log(4 0 *msg). Then you can display the job log and search for your messages.
In this case you would want to preface your messages with a distinct code to make them easily searchable.


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Thursday, April 16, 2020 2:03 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Quick question regarding messages from CL programs

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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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-2026 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.