Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL/job to PROC -- Symbolic to be used in the Control card
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: 1714
Location: UK

PostPosted: Thu Aug 20, 2015 12:46 pm    Post subject:
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: 578
Location: USA

PostPosted: Thu Aug 20, 2015 7:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Control-M manuals JPVRoff All Other Mainframe Topics 0 Fri May 20, 2016 11:15 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us