Previous Topic: @MODIFY (LRF) ParametersNext Topic: @MODIFY (LRF) Example


@MODIFY (LRF) Status Codes

When using LRF, the type of status code returned to the program in the ERRSTAT field of the IDMS communications block differs according to the type of error. If the error occurs in the logical-record path, the ERRSTAT field contains a status code issued by CA IDMS/DB with a major code from 00 to 19. For a list of these codes, see ERRSTAT Field and Codes.

When the error occurs in the request itself, LRF returns the path status LR-ERROR to the LRSTAT field of the LRC block and places a status code with a major code of 20 in the ERRSTAT field of the IDMS communications block. For a list of these codes, see Testing for the Logical-Record Path Status.