HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_OPEN
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.
Verb Canceled
The following return codes indicate that the verb did not complete successfully because it was canceled by another
verb:
lua_prim_rc
LUA_CANCELLED
lua_sec_rc
LUA_TERMINATED
An SLI_CLOSE verb was issued before the SLI_OPEN had completed.
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_DATA_LENGTH_ERROR
The
lua_init_type parameter specified a secondary-initiated session, but the application did not supply
the required data to be sent to the host.
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 config-
ured has been started.
LUA_INVALID_OPEN_DATA
The lua_init_type parameter was set to
LUA_INIT_TYPE_SEC_IS, but the data buffer indicated by
lua_data_ptr did not contain a valid INITSELF command.
LUA_INVALID_OPEN_INIT_TYPE
The lua_init_type parameter was not set to a valid value.
LUA_INVALID_OPEN_ROUTINE_TYPE
The lua_routine_type parameter was not set to a valid value.
UNIX
LUA_INVALID_POST_HANDLE
The lua_post_handle parameter was not a valid pointer to a callback routine.
LUA_INVALID_SESSION_TYPE
The lua_session_type parameter was not set to a valid value.
LUA_INVALID_SLI_ENCR_OPTION
The lua_encr_decr_option parameter was not set to a valid value. For SNAplus2, this parameter must
be set to 0 (zero).
121