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
 
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm

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