Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sort Clause : Sequential read

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Sort Clause : Sequential read
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Sep 21, 2009 1:44 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us