View previous topic :: View next topic
|
Author |
Message |
Mani Kattula
New User
Joined: 04 Apr 2005 Posts: 1 Location: Hyderabad
|
|
|
|
Hi,
Can anyone clarify me is there any way to read KSDS file one by one (for example only first 100) records one by one with out specifying Key. |
|
Back to top |
|
|
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
Mani Kattula wrote: |
Hi,
Can anyone clarify me is there any way to read KSDS file one by one (for example only first 100) records one by one with out specifying Key. |
You can perform a loop for 100 times, by reading the Record 1 by 1.
READ VSAM-FILE NEXT INTO WS-VSAM. Here for accessing Indexed files in SEQUENTIAL mode keyword NEXT is important. |
|
Back to top |
|
|
smgaru
New User
Joined: 05 Apr 2005 Posts: 5 Location: Hyderabad
|
|
|
|
Thanks for ur reply. I will try it out... |
|
Back to top |
|
|
|