gtpg2m2iGeneral Macros

GDSRC-Get General Data Set Record

This general macro is provided to convert a relative record number (RRN) into a file address (CCHR format) to access a general data set record.

Format




label
A symbolic name can be assigned to the macro statement.

datalevel
A file address reference word (FARW) and file address extension word (FAXW) (D0-DF).

DECB=(reg)|label1
The label or general register (R0-R7) containing the address of the data event control block (DECB) that identifies the FARW and FAXW.

SIZE
The record size of the data set. The default value is 4. Valid values are:

L
Large (1055 bytes)

S
Small (381 bytes)

U
Undefined

4
4KB (4095 bytes).

The SIZE = U parameter is used for non-TPF data sets, such as OS data sets. When SIZE = U is specified, the data sets are divided into 4KB allocations. If the data set was not defined by the user to 4KB allocations, any additional records at the end of the tracks will not be addressable.

WORK
The location where the RRN of the desired record within the data set is specified. The default is NO.

NO
The RRN is in the FARW extension.

YES
The RRN is in the user's work area.

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.