View previous topic :: View next topic
|
Author |
Message |
kiran
New User
Joined: 08 Apr 2004 Posts: 25 Location: hyd
|
|
|
|
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 |
|
 |
bluebird
Active User
.jpg)
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
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 |
|
 |
|