APPC Subsystem on MPE/XL Node Manager's Guide (30294-90007)

Chapter 3 67
Control Operator Intrinsics
APPCStatus
APPCStatus
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.