IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding SORT in COBOL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top