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

APPCStart

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Activates the APPC subsystem and all APPC sessions configured for automatic activation.

Syntax

                 I32        I16V        CA          I16V
  APPCStart (ReturnCode [,TraceOn] [,TFileName] [,TFileSize]
 
                   I16V           I16V
              [,PerformanceOn] [,Erropt])

Parameters

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.

TraceOn

Optional. 16-bit signed integer; input. Specifies whether or not internal state tracing will be performed. Internal tracing records significant state changes, events and data to a disk file. Possible values are as follows:

1

Internal state tracing is enabled. Tracing will remain on until the APPCCONTROL TRACEOFF command is issued or until the APPC subsystem is stopped.

0

Internal state tracing is disabled. Tracing will remain off until the APPCCONTROL TRACEON command is issued.

Default: 0 (tracing disabled)

TFileName

Optional. 8-character ASCII array, left justified and padded with blanks. This parameter specifies the name of the trace file, which will be created in the logon group and account of the user who ran the calling program. A valid name is up to 8 alphanumeric characters long and begins with a letter.

The default trace file name is NMTCxxxx.PUB.SYS, where xxxx is a number from 0000 through 9999. This number is incremented whenever a new trace file is created.

TFileSize

Optional. 16-bit signed integer; input. A decimal number, from 0 through 32767, specifying the size of the trace file, in 128-word records. When TFileSize has been reached, trace records are overwritten, starting at the beginning of the file.

Default: 4096

PerformanceOn

Optional. 16-bit signed integer; input. This parameter causes the APPC subsystem to gather performance statistics during run time. These statistics are displayed when you issue the APPCCONTROL PERFORMANCE command.

Once the APPC subsystem is active, statistics gathering can be enabled and disabled with the APPCCONTROL PERFORMANCEON and APPCCONTROL PERFORMANCEOFF commands, described in Chapter 2 “Interactive Control Operator Commands”

Possible values for the PerformanceOn parameter are as follows:

1

Performance statistics gathering is enabled.

0

Performance statistics gathering is disabled.

Default: 0 (Performance statistics gathering disabled)

Erropt

Optional. 16-bit signed integer; input. This parameter specifies the action taken when an irrecoverable internal error occurs. Possible values are as follows:

1

System shutdown. The system is brought down when an irrecoverable error occurs.

2

Subsystem shutdown. Only the APPC subsystem is brought down when an irrecoverable error occurs.

Default: 2 (Subsystem shutdown)

Description

The APPCStart intrinsic activates the APPC subsystem and all APPC sessions configured for automatic activation. (See Chapter 4 “APPC Subsystem Configuration” for more information on configuring the APPC subsystem.)

NOTE: The APPCStart intrinsic will not cause the activation of the SNA link product if it is not already active. The SNA link product must be explicitly activated using the SNACONTROL START command.

The APPCStart intrinsic performs the same function as the control operator command APPCCONTROL START.

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
-1011 = Invalid value for Erropt parameter
-1012 = Invalid value for TraceOn parameter
-1013 = Invalid value for TFileSize parameter
-1014 = Invalid value for PerformanceOn parameter
-1030 = APPC module versions mismatch
-1031 = Missing required module
-1032 = Invalid module ID in version check
-1033 = Invalid remotely initiated transaction program name
-1034 = Invalid APPC configuration
-1035 = Unable to open NMCONFIG file
-1036 = Unable to close NMCONFIG file
-1037 = Configuration error
-1038 = Unable to open CATAPPC.APPC.SYS
-1039 = Unable to close CATAPPC.APPC.SYS
-1040 = Unable to open NM log file
-1041 = Unable to close NM log file
-1042 = Unable to open internal trace file
-1043 = Unable to close internal trace file
-1046 = Unable to create Resource Manager at subsystem start-up
-1047 = Unable to create control operator TP at subsystem start-up
-1048 = Unable to create CNOS TP at subsystem start-up
-1049 = Resource Manager detected error during subsystem start-up
-1050 = COPR TP detected error during subsystem start-up
-1051 = CNOS TP detected error during subsystem start-up
-1063 = Resource Manager error - CHANGE_SESSIONS_FAILED
-1065 = Control Operator internal error
-1072 = APPC subsystem not active
-1073 = APPC subsystem pending active
-1074 = APPC subsystem already active
-1075 = APPC subsystem shutting down
-1201 = Session limit exceeded
-1202 = Catread failed
Feedback to webmaster