View previous topic :: View next topic
|
Author |
Message |
Debasis Misra Warnings : 1 New User
Joined: 16 Sep 2008 Posts: 72 Location: Bangalore
|
|
|
|
I have used SORT clause in Cobol to sort an sequential input file.
Can I read that soted temporary file sequentially? |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
debasis,
Try writing us the pseudo code of what you're trying to accomplish, including the SORT verb,any loops, and the logic before the seq write. |
|
Back to top |
|
|
Debasis Misra Warnings : 1 New User
Joined: 16 Sep 2008 Posts: 72 Location: Bangalore
|
|
|
|
I want to do some operation where if I will get the first field as sorted order, the it would be easy for me. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you want help, post the requested info. . .
You believe you have posted proper info to get help. You have not. What you have posted is incomplete, confusing, or both.
Quote: |
Can I read that soted temporary file sequentially? |
Why is this file considered tenporary? COBOL doesn't do "temporary files" - that is a jcl function. I don not recall a "temporary" specification in a SELECT or an FD. . .
Also, any file a COBOL program creates, it can read (unless there is some new feature i'm unaware of). . . |
|
Back to top |
|
|
|