Previous Topic: READNext Topic: CLOSE


Parameter List

The following is the format of the READ parameter list:

R1 ---> A( flag field     )
        A( record length  )
        A( returned record)
        A( aix key        )

List Fields

The following table explains the READ parameter list fields:

Field

Explanation

flag field

The flag field must contain a binary 8.

record length

If the record is found, the record length is returned.

returned record

If the record is found, the record address fields are returned.

aix key

If the OPEN call specified direct processing, the alternate index key field must contain the desired alternate index key.

Example

The following table explains examples of the required READ fields:

Examples

Explanation

READFLAG DC F'8'

The flag field is 8.

RECLEN DS F

The record length returned from GVPATH.

RECORD DS A

The record address returned from GVPATH.

AIXKEY DC XL10'F80000015CFFA1C7D6C1'

The address of the alternate index key.