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



Dave

The Function column will display the program name, as in PGM-TESTCX. But this is pretty unreliable - lots of other things may appear here, including DLYJOB.

A couple ways to submit the second job - when you submit it, you will get a message with its job number, etc. With this info you can use the Retrieve Job Info API <http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/apis/qusrjobi.htm> with a DLYJOB. This has the advantage of targeting only the job you submitted. Disadvantage is a little time lag after job ends - up to duration of DLYJOB.

You could also use the job notification exit point (see <http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/apis/xjobntfy.htm>) and RCVDTAQ in a loop. Every job that goes through the specified subsystem will show up on the queue - you check against the values from your submit. Advantage is it responds immediately to job ending. Disadvantage is, every job end is put on the queue.

HTH

Vern

At 09:17 AM 8/1/2003 -0400, you wrote:
We have a long running CL program that runs in batch. This program calls another long running CL program and runs it under the same submitted job before coming back to the original CL to finish up processing there. We can not submit the second CL job as it needs to process completely before the first one can finish.
Is there any way to identify the second CL job is running via the WRKACTJOB screen? It would be great if I could somehow change the originally submitted job's name when the second CL starts, but do not see a way.
Hope that was clear enough.
Any help is appreciated.
Thanks,
Dave



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.