""Tony Wiggett"" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Does anyone have a copy of a JES2 Exit (Exit 6 I guess) which will do the > following: > > 1. When a user submits a batch job, check to see if they have /*JOBPARM > SYSAFF=systemname specified. > 2. If they do then allow job to run without change > 3. If no /*JOBPARM SYSAFF statement is coded, then add one with the > systemname being the name of the system the job was submitted from > > > So the object of the exercise is to run the job on the system it was > submitted on unless explicitly specified to run on a different one..... > > Of course if the symbolic &SYSNAME would work in batch jobs the Exit would > be unecessary... > > Thanks > Tony >
You don't need an exit: set the SYSAFF value of INTRDR in JES2PARM to &SYSNAME and any job will get this SYSAFF unless overridden in the JCL. Kees. ********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. ********************************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html