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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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