FCLJ gate, READ_ONLY function
This function causes a read_only log record to be written to an autojournal, if read-only autojournalling is specified on the file definition. The log record is built using the input parameters.
Input Parameters
- BASE_ESDS_RBA
- The relative byte address (RBA) of the record being read if the file is an extended entry-sequenced data set (ESDS).
- FCTE_ADDRESS
- The address of the file control table entry for the file being read.
- KEY_ADDRESS
- The address of the key of the record being read.
- KEY_LENGTH
- The key length of the record being read.
- RECORD_ADDRESS
- The address of the record being read.
- RECORD_LENGTH
- The length of the record being read.
- SHUNTED
- Indicates whether the unit of work has ever been shunted. Values
for the parameter are:
- YES
- NO
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LG_RETURNED_ERROR
- RM_RETURNED_ERROR
- The following value is returned when RESPONSE is EXCEPTION:
- JOURNAL_TOO_SMALL
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- Values for the parameter are:
- OK
- DISASTER
- EXCEPTION
- INVALID
- PURGED