HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_CLOSE
lua_prim_rc
LUA_OK
Unsuccessful Execution
If a verb does not complete successfully, LUA returns a primary return code to indicate the type of error and a
secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
The following return codes indicate that the verb did not complete successfully because a supplied parameter was
in error:
lua_prim_rc
LUA_PARAMETER_CHECK
lua_sec_rc
Possible values are:
LUA_BAD_SESSION_ID
The
lua_sid parameter did not match the session ID of any active LUA LU session.
LUA_INVALID_LUNAME
The LU identified by the lua_luname parameter could not be found on any active nodes.Check that
the LU name or LU pool name is defined in the configuration file and that the node on which it is
configured has been started.
UNIX
LUA_INVALID_POST_HANDLE
The lua_post_handle parameter was not a valid pointer to a callback routine.
LUA_RESERVED_FIELD_NOT_ZERO
A reserved field in the verb record, or a parameter that is not used by this verb, was set to a nonzero
value.
LUA_VERB_LENGTH_INVALID
The value of the lua_verb_length parameter was less than the length of the verb record required for
this verb.
State Check
The following return codes indicate that the verb was issued in a session state in which it was not valid:
lua_prim_rc
LUA_STATE_CHECK
lua_sec_rc
Possible values are:
LUA_CLOSE_PENDING
The application issued SLI_CLOSE (normal) when an SLI_CLOSE (either normal or abend) was already
in progress, or issued SLI_CLOSE (abend) when an SLI_CLOSE (abend) was already in progress. A
second SLI_CLOSE is valid only if it is an an SLI_CLOSE (abend) following an earlier SLI_CLOSE
(normal).
LUA_NO_SLI_SESSION
Either there is no LUA session with the LU name specified on this verb, or the session has failed.
113