Primary Return Codes

The following section contains the LUA primary return codes:

LUA_OK
The LUA verb completed successfully.
LUA_PARAMETER_CHECK
The LUA feature detected an incorrect parameter.
LUA_STATE_CHECK
The session was in an incorrect state for the verb that was issued.
LUA_SESSION_FAILURE

The session has been brought down. The specific reason is identified in the secondary return code.

LUA_UNSUCCESSFUL
This verb did not successfully complete.
LUA_NEGATIVE_RESPONSE
One of the following conditions occurred:
  • The end-of-chain arrived for a chain that was negatively responded to by the LUA application program. The secondary return code is not set.
  • LUA detected an error in a message from the primary LU and sent a negative response. This error is returned when the end-of-chain is received from the primary LU. The secondary return code contains the sense data that was sent with the negative response.
LUA_CANCELED
The verb was canceled because of reasons specified in the secondary return code.
LUA_IN_PROGRESS

This synchronous code is returned when an asynchronous command is received and has not completed.

LUA_STATUS
The SLI has status information for the application in the secondary return code.
LUA_COMM_SUBSYSTEM_ABENDED

Communications Server abnormally ended.

LUA_COMM_SUBSYSTEM_NOT_LOADED

Communications Server was not loaded.

LUA_INVALID_VERB_SEGMENT

LUA could not process the verb because the entire verb control block is not contained in the data segment. The address of the end of the verb control block is beyond the end of the segment.

LUA_UNEXPECTED_DOS_ERROR

An unexpected system error occurs after Communications Server issues a system call, the verb is posted with the primary return code UNEXPECTED_DOS_ERROR. The secondary return code contains the unexpected system error.

LUA_STACK_TOO_SMALL

The LUA application stack is too small for LUA to process the request.

LUA_INVALID_VERB

LUA does not recognize the verb code or the verb operation code (or both) in the verb control block it received.