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
 

 

Regarding SORT in COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Hritam

New User


Joined: 27 Jun 2005
Posts: 36
Location: India

PostPosted: Wed Mar 22, 2006 5:14 pm    Post subject: Regarding SORT in COBOL
Reply with quote

Hi all,
I have one query regarding sort in COBOL:
"How many Max files we can sort inside a cobol program? & how to get that particular figure i.e the mathematical calculation for that?"
Please let me know if anyone have clear idea about this.
Back to top
View user's profile Send private message

gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Mar 23, 2006 8:47 am    Post subject: Re: Regarding SORT in COBOL
Reply with quote

i think we can use 3273 DD statements for an EXEC statement. so we can use 3272 files at a time for a program that uses SORT statement. It all depends how many we use as input, output, work file.


corrections welcomed.


gowtham
Back to top
View user's profile Send private message
Hritam

New User


Joined: 27 Jun 2005
Posts: 36
Location: India

PostPosted: Fri Mar 24, 2006 5:26 pm    Post subject:
Reply with quote

Ok actually I thought of other way. As we need 3 Sort Work files(min) for each Sort in Cobol and we can have 100 sortwork files at max(0-99) in a Step, so the Max files that can be sort in one Cobol program is 33(100/3).I am not sure though. Let me know if anyone think other way.
Back to top
View user's profile Send private message
shivani_tech
Warnings : 2

New User


Joined: 08 Jan 2006
Posts: 22
Location: UNITED KINGDOM

PostPosted: Fri Mar 24, 2006 8:37 pm    Post subject:
Reply with quote

hritam question is something else.......i appreciate ur understanding but
i think gowtham is correct
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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