Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reading KSDS File Records in sequential order

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Reading KSDS File Records in sequential order
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    Post subject: Re: Reading KSDS File Records in sequential order
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us