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: 2177
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 High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


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