View previous topic :: View next topic
|
Author |
Message |
neeraj.gehani
New User
Joined: 22 Jul 2008 Posts: 2 Location: pune
|
|
|
|
i've one file ( sequential or vsam ) say it has records from 1 to 1000, and i want to read that file from 99th record thru cobol program. how can i read. dynamically we can reach at 99th record using START AND READ NEXT COMMAND or move the record key to that record key. But there is no key or without using key can we directly reach to 99th record using cobol program.
is it possible?? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
neeraj.gehani wrote: |
is it possible?? |
No. The file has to be read sequentially from the beginning until the desired record is reached. |
|
Back to top |
|
|
neeraj.gehani
New User
Joined: 22 Jul 2008 Posts: 2 Location: pune
|
|
|
|
thanks kevin. |
|
Back to top |
|
|
|