I agree with Charles, you can simply use the SURROGATE class or reinvent the wheel and issue a RACROUTE on exit 52. Also, I believe a WTOR on exit 52 will hold the submitter's TSO session until it's replied.
What I may also suggest is to enforce a HOLD on any job with USER= (in exit 52) and send an alert to release the job via a $WTO so the job can be released by the proper person. Regards, Leo -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: Tuesday, July 12, 2016 11:43 AM To: [email protected] Subject: Re: issue WTOR if surrogat ID submits a job > The WTOR is highly problematic for many system tasks. Better a programmed "rule" (in a generic sense of the word; not lobbying for some particular product or technique) than a WTOR. Those pesky humans are slow and unreliable. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Jesse 1 Robinson Sent: Tuesday, July 12, 2016 8:27 AM To: [email protected] Subject: Re: issue WTOR if surrogat ID submits a job My first thought for validity verification is Exit 6, which we use a lot. However, that runs in JES2 Main Task. I don't think you can issue WTOR there: all of JES2 would wait for the reply. In looking through the JES2 exit table https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae400/jes2.htm I don't see anything promising other than 52 and 54 (statement scan), which run in JES2 User environment. The scan exits run only at submit time, so you would have no control over a job that is later moved to a different LPAR or job class. The WTOR is highly problematic for many system tasks. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
