|
> Following are other options we tried: > 1. Doing ENDJOb - But it ends the session (and it should cause > it's the same > job) > 2. ENDRSQ - But it's not job wise, it kills the job from which it's > submitted.(Is there a way to do this job wise?) > If youwant a home-grown solution you could look into Group jobs. Configure the QRY commands to work in a separate group job. When they run (your version of) RUNQRY or WRKQRY, the command will run in a group job. They wont know this because it looks the same. However on WRKACTJOB you will see two sessions - the original and the QRY... you can end the QRY one without affecting the original. Pointers: CHGGRPA original TFRGRPJOB query inlgrppgm(qcmd) and on another session.. WRKACTJOB & F14 +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.