FWIW, I have found scanning and modifying the internal text to be easier than parsing and modifying the JCL.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu> on behalf of Allan Staller <allan.stal...@hcl.com> Sent: Tuesday, March 27, 2018 9:33 AM To: IBM-MAIN@listserv.ua.edu Subject: Re: Ignoring TIME= specification in JCL Jes2 Exit 6 can also do this. You will need to process the internal text (similar to DYNALLOC text units). Depending on how you want to handle things other exist can also do this by failing the job. IKJEFF10 IEFUJI HTH, -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Peter Hunkeler Sent: Tuesday, March 27, 2018 6:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Ignoring TIME= specification in JCL I've got the requirement to limit who is allowed to specify TIME= on either JOB or EXEC statement. This is for z/OS V2.2 (and up) and JES2. There is JES2 exit 4 to scan and modify the JCL statements. Is there an alternative? Would TWS (aka IWS) be able to do this for jobs it submits? -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ::DISCLAIMER:: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN