HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
START_PORT
port_name
Name of port to be started. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 bytes, which must already have been defined by a DEFINE_PORT verb.
3.188.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.188.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_INVALID_PORT
The
port_name parameter was not the name of a defined port.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK
,
which are common to all NOF verbs.
3.188.5 Returned Parameters: State Check
If the verb does not execute because of a state error, SNAplus2 returns the following parameters.
primary_rc
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_DLC_INACTIVE
The port cannot be started because its associated DLC is not active.
AP_DUPLICATE_PORT
The specified port has already been started.
AP_STOP_PORT_PENDING
The specified port is currently being deactivated. You cannot start it until the deactivation process has
finished.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
3.188.6 Returned Parameters: Cancelled
If the verb does not execute because it was cancelled, SNAplus2 returns the following parameters.
primary_rc
AP_CANCELLED
741