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
 

 

Split a jcl and put it into 10 files using sort utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
preeth

New User


Joined: 14 Sep 2006
Posts: 11

PostPosted: Thu Sep 21, 2006 12:11 pm    Post subject: Split a jcl and put it into 10 files using sort utility
Reply with quote

i want to split a jcl and put it into 10 files using sort utility. i would like to know the method to use without using iceman or ice2
Back to top
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Sep 21, 2006 1:24 pm    Post subject:
Reply with quote

hi,

Preeth. Y u wan to plit your JCL(input) into 1o output files.

I guess..your requirement is to split a inputfile in a jcl into 10 output files based on some conditions.

Yes..u can do soo by using ICEMAN, SORT etc..

All you need is to specify as:

SORT FIELDS=COPY
OUTFIL FNAMES=File1,INCLUDE=(1,2,CH,EQ,C'01')<== include a condition
OUTFIL FNAMES=File2,INCLUDE=(1,2,CH,EQ,C'02')<== include a condition
..
OUTFIL FNAMES=File10,INCLUDE=(1,2,CH,EQ,C'10')<= include a condition

File1 DD DSN=YOUR.FILE1.DSN,DISP=(NEW,CATLOG,DELETE)
File2 DD DSN=YOUR.FILE2.DSN,DISP=(NEW,CATLOG,DELETE)
..
File10 DD DSN=YOUR.FILE10.DSN,DISP=(NEW,CATLOG,DELETE)

Clear??

~Vamsi
Back to top
View user's profile Send private message
preeth

New User


Joined: 14 Sep 2006
Posts: 11

PostPosted: Thu Sep 21, 2006 5:12 pm    Post subject:
Reply with quote

thanks...sorry i worte it worng, i wanted a jcl to split an i/p file into tne o/p files..thanks a lot
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Sep 21, 2006 5:19 pm    Post subject:
Reply with quote

preeth wrote:
..sorry i worte it worng


yes, you worteD it worngLY

;)
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
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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