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



Hi James,

How about having the cl-program RTVJOBA /parameters SBMMSQ and SBMMSGLIB and use these when issuing a sndpgmmsg or alike?



Best regards,

Stefan Tageson
TietoEVRY
mobile +46 732 369934


Sensitivity: Internal

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James H. H. Lampert
Sent: den 16 april 2020 20:03
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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&amp;data=02%7C01%7CStefan.Tageson%40evry.com%7Cd81daaeda23040492c9208d7e230786e%7C40cc2915e2834a2794716bdd7ca4c6e1%7C1%7C0%7C637226570117282342&amp;sdata=mPm46Iy8P1PltbtCNP24FKUlozoExDi0eczSC25iLF8%3D&amp;reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&amp;data=02%7C01%7CStefan.Tageson%40evry.com%7Cd81daaeda23040492c9208d7e230786e%7C40cc2915e2834a2794716bdd7ca4c6e1%7C1%7C0%7C637226570117282342&amp;sdata=JH0yfSOCf6rEI2PamycycEpcLeXYFfqU2hX66Yxcx3I%3D&amp;reserved=0.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&amp;data=02%7C01%7CStefan.Tageson%40evry.com%7Cd81daaeda23040492c9208d7e230786e%7C40cc2915e2834a2794716bdd7ca4c6e1%7C1%7C0%7C637226570117282342&amp;sdata=SoeJCKdS6Bqs3h3%2BJWXs9zwNIBBnR1DXfzTXoiiguoM%3D&amp;reserved=0

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.