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

can i retrieve records dynamically in seq files


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

New User


Joined: 10 Oct 2005
Posts: 5

PostPosted: Thu Jan 19, 2006 3:51 pm
Reply with quote

can i retrieve records dynamically in sequential files... i.e if i have 10 records in my seq file, i want 5th to 10th rec, if yes, can i use READ NEXT command
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Thu Jan 19, 2006 3:54 pm
Reply with quote

Hi Bhuvana_veera,

U can use by using some RBA like that. That dynamic read is already available in our forum. search it. hope u can get the link. let me know if u cant.
Back to top
View user's profile Send private message
manjinder

New User


Joined: 04 Dec 2005
Posts: 45
Location: pune

PostPosted: Thu Jan 19, 2006 3:59 pm
Reply with quote

bhavana we cannot retrieve sequential file directly,we can read sequential file in sequential access mode only.

regard..
manjinder

correct me if i am wrong.
Back to top
View user's profile Send private message
richie_techin

New User


Joined: 21 Jan 2006
Posts: 16
Location: india

PostPosted: Mon Jan 30, 2006 5:40 pm
Reply with quote

you can read the records of sequential files only with the help of RBA, provided it is in online processing.
Back to top
View user's profile Send private message
richie_techin

New User


Joined: 21 Jan 2006
Posts: 16
Location: india

PostPosted: Mon Jan 30, 2006 5:40 pm
Reply with quote

you can read the records of sequential files only with the help of RBA, provided it is in online processing.
Back to top
View user's profile Send private message
sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Tue Jan 31, 2006 9:02 am
Reply with quote

hi all,


only ESDS files can be read using the RBA .
Cobol doesn't support RBA


thanks
Balaji
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Tue Jan 31, 2006 9:39 am
Reply with quote

hi bhuvana,

if ur file is having less records like 50-100 then i think u can move them to a table and u can do dynamic access with the subscript....

corrections welcomed...

Thanks,
Rajesh
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top