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

Reading KSDS File Records in sequential order


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mani Kattula

New User


Joined: 04 Apr 2005
Posts: 1
Location: Hyderabad

PostPosted: Mon Apr 04, 2005 6:55 pm
Reply with quote

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
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Tue Apr 05, 2005 11:08 pm
Reply with quote

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
View user's profile Send private message
smgaru

New User


Joined: 05 Apr 2005
Posts: 5
Location: Hyderabad

PostPosted: Wed Apr 06, 2005 9:48 am
Reply with quote

Thanks for ur reply. I will try it out...
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top