View previous topic :: View next topic
|
Author |
Message |
manjunath_mf
New User
Joined: 06 Dec 2007 Posts: 11 Location: Bangalore
|
|
|
|
can we use vsam ksds file in internal sort as input and output file? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Why won't you try it and let us know?
O. |
|
Back to top |
|
|
manjunath_mf
New User
Joined: 06 Dec 2007 Posts: 11 Location: Bangalore
|
|
|
|
ofer71 wrote: |
Why won't you try it and let us know?
O. |
its giving error.. |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
I have always heard that internal sorts are bad and you should always use an external sort if possible. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Can you post the error message/error id?
O. |
|
Back to top |
|
|
maheshajagtap Currently Banned New User
Joined: 10 Jun 2007 Posts: 6 Location: pune
|
|
|
|
i thik internal sort is possible in only sequential files. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
maheshajagtap wrote: |
i thik internal sort is possible in only sequential files. |
If you do an internal sort with an INPUT PROCEDURE and an OUTPUT PROCEDURE you can use any file type COBOL supports, or even screen input and output. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello
Quote: |
I have always heard that internal sorts are bad and you should always use an external sort if possible. |
Opinions vary. . .
Many years ago, the "pure" systems programmers were dead set against the internal sort.
There are many times the SORT verb works quite nicely. It can often turn 3 steps with restart considerations into a single step. |
|
Back to top |
|
|
|