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
 

 

Maximum number of files can be used in SORT

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

New User


Joined: 08 Feb 2008
Posts: 82
Location: Bangalore, India

PostPosted: Fri Feb 26, 2010 10:31 pm    Post subject: Maximum number of files can be used in SORT
Reply with quote

Hi,

I have to split an input file based on certain condition to different output files. What is the maximum number of files i can use as output in a SORT step.

Thanks & Regards,
Nirmal
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Feb 26, 2010 10:49 pm    Post subject:
Reply with quote

Which SORT product are you using (DFSORT, Syncsort, CA-SORT)?
Back to top
View user's profile Send private message
kedianirmal

New User


Joined: 08 Feb 2008
Posts: 82
Location: Bangalore, India

PostPosted: Sat Feb 27, 2010 5:46 am    Post subject: Reply to: Maximum number of files can be used in SORT
Reply with quote

Its a simple SYNCSORT.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Mon Mar 01, 2010 2:06 pm    Post subject:
Reply with quote

Hi,

I have used 300 output files using SYNCSORT and DFORT and have not been restricted by SORTOF01-99.

I used

Code:
OUTFIL FNAMES=OUT001,INCLUDE=(1,3,CH,EQ,C'001') 
OUTFIL FNAMES=OUT002,INCLUDE=(1,3,CH,EQ,C'002') 
to
OUTFIL FNAMES=OUT300,INCLUDE=(1,3,CH,EQ,C'300') 


Gerry
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2284
Location: @my desk

PostPosted: Mon Mar 01, 2010 8:45 pm    Post subject:
Reply with quote

Quote:
yes, you're right, fnames works great and you can go above 99 outputs
Even with OUTFIL FILES=xx you can go beyond 99. OUTFIL FILES=xx where x can be any alphanumeric character or special character supported by JCL DD statements.
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 Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm


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