Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Regarding RBA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
kiran

New User


Joined: 08 Apr 2004
Posts: 26
Location: hyd

PostPosted: Tue Apr 13, 2004 10:15 am    Post subject: Regarding RBA
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
References
PostPosted: Tue Apr 13, 2004 10:15 am    Post subject: Re: Regarding RBA Reply with quote

bluebird

Specialist


Joined: 03 Feb 2004
Posts: 144

PostPosted: Wed Apr 14, 2004 12:17 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1