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

Rewind option in Cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu May 11, 2006 1:40 pm
Reply with quote

Hi,
My requirement is like this.....
I will be reading a record froma file..
After process I will be closing the file.

Again when i open the file ..... i need to read record from input file not from the begining but after the last i read previously.

Could anyone let me know the syntex. I think we need to specify an option in SELECT.

~Vamsi
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu May 11, 2006 4:06 pm
Reply with quote

Hi shreevamsi,

Is your file an ESDS or KSDS?
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu May 11, 2006 4:21 pm
Reply with quote

Hi,
It's KSDS.

Is these anything to do while OPEN or Close of the file??

~Vamsi
Back to top
View user's profile Send private message
ajayvamsi

New User


Joined: 21 Jul 2005
Posts: 56
Location: Hyderabad

PostPosted: Thu May 11, 2006 5:57 pm
Reply with quote

Please tell us y exactly r u closing the file after reading it once and moreover wat is the neccesity of closing it..!!

Thanks,
ajay
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top