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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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