View previous topic :: View next topic
|
Author |
Message |
Hritam
New User
Joined: 27 Jun 2005 Posts: 36 Location: India
|
|
|
|
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 |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
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 |
|
|
Hritam
New User
Joined: 27 Jun 2005 Posts: 36 Location: India
|
|
|
|
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 |
|
|
shivani_tech Warnings : 2 New User
Joined: 08 Jan 2006 Posts: 22 Location: UNITED KINGDOM
|
|
|
|
hritam question is something else.......i appreciate ur understanding but
i think gowtham is correct |
|
Back to top |
|
|
|