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

Sort Clause : Sequential read


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Debasis Misra
Warnings : 1

New User


Joined: 16 Sep 2008
Posts: 72
Location: Bangalore

PostPosted: Sun Sep 20, 2009 7:22 pm
Reply with quote

I have used SORT clause in Cobol to sort an sequential input file.

Can I read that soted temporary file sequentially?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Sep 20, 2009 8:05 pm
Reply with quote

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
View user's profile Send private message
Debasis Misra
Warnings : 1

New User


Joined: 16 Sep 2008
Posts: 72
Location: Bangalore

PostPosted: Sun Sep 20, 2009 8:35 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Sep 21, 2009 1:44 am
Reply with quote

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
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 Error to read log with rexx CLIST & REXX 11
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top