Setting Data Map Properties to Get the RRN or RBA in a VSAM Data Set Record
Setting Data Map Properties to Get the RRN or RBA in a VSAM Data Set Record
You can set data map properties to get the relative record number (RRN) or relative byte address (RBA) for VSAM data set records.
Open the data map.
Right-click the data map and click
Properties
.
On the
Access Method
tab in the
Data Map Properties
dialog box, select one of the following options:
To get the RBA for ESDS data sets, select
Prefix record with XRBA
.
To get the RRN for RRDS data sets, select
Prefix Record with RRN
.
If you request that PowerExchange return the RRN or RBA value, you must add an 8-byte binary field at the beginning of the record definition to contain this value.
Open the record.
In the
Record
window, right-click the first field in the record and click
Add Field Before
.
Enter a value for
Field Name
. Select
BIN
for the
Field Type
and
8
for the
Length
field.
Click
OK
.
Open the table.
In the
Table
window, right-click the first column in the table and click
Add Column Before
.
In the
Name
field, enter a name for the new column.
In the
Base Field
list, select the new field.
To send the data map to the z/OS system where the VSAM data set resides, click