IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Maximum number of files can be used in SORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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 Developer


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

PostPosted: Fri Feb 26, 2010 10:49 pm
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
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: 1702
Location: Australia

PostPosted: Mon Mar 01, 2010 2:06 pm
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: 2481
Location: @my desk

PostPosted: Mon Mar 01, 2010 8:45 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top