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

Regarding RBA


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

New User


Joined: 08 Apr 2004
Posts: 25
Location: hyd

PostPosted: Tue Apr 13, 2004 10:15 am
Reply with quote

Hi,
what is RBA and how to access the records randomnly in ESDS by supplying the RBA for the record as a search argument.
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Wed Apr 14, 2004 12:17 pm
Reply with quote

RBA (relative byte address) is a way to ensure independance of record relative to hardware.
basically, the address of a record in a VSAM ds is given as an offset of the beginning of the record. VSAM (soft) maintains the RBA.
the number of records is the way to estimate position of records.

To print or repro part of a dataset based on RBA use
Code:

REPRO INFILE(XXX) OUTFILE(XXX) SKIP(N) count(v)


it will write a number of record skipping n records counting(v)

in COBOL ther start parameter of the read instruction let u position the read operation reagarding beginning of dataset (record number).

Hope I have been clear enough.
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

 


Search our Forums:

Back to Top