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

JCL/job to PROC -- Symbolic to be used in the Control card


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

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Thu Aug 20, 2015 2:56 am
Reply with quote

My JCL/job has SYSIN card in SORT as mentioned below,
//SYSIN DD *,DLM=ZZ
SORT FIELDS=COPY
OUTFIL HEADER1=('Same of all Jobs',/,' job name',/,'job owner'),NODETAIL,REMOVECC
ZZ
//*

I want to achieve templatization of SORT control cards thru SYSIN thru PROC. Currently this is part of JCL.

Certain part in the OUTFIL HEADER1 need to be different for each of the 1000 jobs. ex:- job name, job owner from above.

How should i code symbolic given thru the JCL/job in the PROC's SYSIN member?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 20, 2015 12:46 pm
Reply with quote

Same way as usual - if the level of JCL interpreter allows substitution of symbolics in in-stream data otherwise use the method described in the DFSort manual for passing in symbolic parameters.
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 577
Location: USA

PostPosted: Thu Aug 20, 2015 7:29 pm
Reply with quote

Elixir,
Refer to Chapter 8. Using symbols for fields and constants in DFSORT Application Programming Guide.

Thanks,
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 JCL sort card - get first day and las... JCL & VSAM 9
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Need suggestion on a sort card DFSORT/ICETOOL 10
No new posts Want to mask Middle 8 Digits of Debit... COBOL Programming 3
Search our Forums:

Back to Top