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
 
Regarding RBA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    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

bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

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
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:


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