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 SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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