IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get the JOBPARM SYSAFF=XXXX from a flat file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shanth555

New User


Joined: 17 Aug 2012
Posts: 35
Location: India

PostPosted: Wed Feb 25, 2015 1:24 pm
Reply with quote

Hi All,

I am looking for logic where SYSAFF value can be read from the flat file and assigned to job , instead of hardcording in JCL.

Please let me know your thoughts.

Regards,
Shanth
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 25, 2015 6:57 pm
Reply with quote

From the JCL Reference manual on SYSAFF:
Quote:
Note: Use the SYSAFF parameter to ensure the conversion and execution of the job will be done on a specific system. If you code SYSAFF, both processes are done on the specified system.
Since conversion/interpretation occurs in JES before any execution can start, the ONLY way what you want to do would work is if you create and submit via the internal reader a separate job with the SYSAFF on that job.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Fri Feb 27, 2015 8:18 pm
Reply with quote

Another way is to look at SCHENV (schedule environments), on the jobcard which can force the job onto a particular LPAR, or possibly your scheduler can insert s SYSAFF (e.g. a CA& JCL include)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top