Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2287
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 BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us