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: 2285
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 Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 2 Fri Sep 22, 2017 6:00 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 4 Fri Sep 22, 2017 4:56 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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