|
Murali, Without resorting to APIs... you can: 1) WRKSBMJOB - will show the state of all jobs you've submitted. 2) WRKJOB jobname, option 1 - will show you the current status of your job 3) DSPLOG JOB(jobname) MSGID(CPF1164) - will display (or print) the job end message (CPF1164) if the job has ended. You can also specify message ID CPF1124 to see the job start message. Resorting to APIs, there is the QUSRJOBI API that let's you retrieve job attributes (of any job, not just your current job), among them status. (By the way, you're probably going to get your hands slapped - 'cause this is a question more appropriate for the MIDRANGE-L list!) ==Kevin -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of MURALI DHAR Sent: Thursday, September 05, 2002 8:19 AM To: rpg400-l@midrange.com Subject: whether batch job ended or nt? Hi How to find out whether the batch job submitted has ended or not...I dont like to use wrksplf and see there for "outq"(work with spool file)..is there any other way to find out this? Best Regards&Adv Thanks, Murali O
As an Amazon Associate we earn from qualifying purchases.
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.