That is native JES behavior. No exit needed. We exploited that to move
all work to z/os.e even if submitted on z/os. 

Warning: JES's behavior can be changed by command, but that may not
'stick' across IPL's.  

HTH and good luck. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tony Wiggett
Sent: Wednesday, August 09, 2006 2:56 AM
To: [email protected]
Subject: Need JES2 Exit to add /*JOBPARM SYSAFF stmt

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   

 
NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively
for the individual or entity to which it is addressed. The message, together 
with any attachment, may contain confidential and/or privileged
information. Any unauthorized review, use, printing, saving, copying, 
disclosure 
or distribution is strictly prohibited. If you have received this message in 
error, please immediately
advise the sender by reply email and delete all copies.

----------------------------------------------------------------------
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

Reply via email to