HPlogo APPC Subsystem on MPE XL Node Manager's Guide: HP 3000 MPE/iX Computer Systems > Chapter 3 Control Operator Intrinsics

APPCStatus

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Indicates whether the APPC subsystem is active.

Syntax

                           I16           I32
      APPCStatus  (SubsystemState, ReturnCode)

Parameters

SubsystemState

Required. 16-bit integer; output. Indicates the current state of the APPC subsystem. Possible values are as follows:

1

The APPC subsystem is inactive.

2

APPC subsystem startup is pending.

3

The APPC subsystem is active.

4

The APPC subsystem is shutting down.

ReturnCode

Required. 32-bit signed integer; output. Indicates the result of the intrinsic execution. The ReturnCode consists of two 16-bit fields: an information field, containing the number of an APPC warning or error message, and a subsystem field, containing the number of the subsystem that generated the message. If both fields contain zeros, the intrinsic executed successfully, and there are no messages. For more information, see "Return Codes" at the beginning of this chapter. Appendix A “Messages” contains a list of all return codes returned by the APPC subsystem, their causes, and the actions you should take to resolve any problems.

Description

The APPCStatus intrinsic performs a subset of the functions that the APPCCONTROL STATUS command performs. It returns a SubsystemState parameter, which indicates whether the APPC subsystem is inactive, is in the process of starting up, is active, or is in the process of shutting down.

Return Codes

    0 = Successful completion
-1002 = Parameter error
-1004 = Too many parameters specified
-1005 = Syntax error
-1006 = Redundant parameter
-1007 = Missing parameter after equal sign
-1008 = Missing or invalid delimiter
-1009 = Parameter out of bounds
-1010 = User missing NM capability
-1065 = Control Operator internal error
-1072 = APPC subsystem not active
Feedback to webmaster