View previous topic :: View next topic
|
Author |
Message |
bbharathiraj Warnings : 1 New User
Joined: 26 Oct 2006 Posts: 50 Location: Chennai
|
|
|
|
I have to read one flat file by sequential access (not relative file/index file) and do the update in that record if any matching record found. Once this is complete, again I need to read all the records from the first to do some process. Is it possible to move record pointer to the first record (with out closing and re opened) after it reaches the end of file?
Please give me the solution.
Thanks in advance,
Bharathi |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi
If it is a sequential file i think you have no other option than closing the file and re-opening it
Thanks
Arun |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
Quote: |
question : are you using vsam sequential file or ordinary ps |
I tink we can use relative byte addressing in esds sequential access files |
|
Back to top |
|
|
siva2 Warnings : 1 New User
Joined: 10 Feb 2006 Posts: 7
|
|
|
|
hii.,
No other options , either re-open it or close it .
i think so . |
|
Back to top |
|
|
|