HP TACL Programming Manual page 209

Tandem advanced command language
Table of Contents

Advertisement

The ALTERPRIORITY message is defined as follows:
STRUCT altpri^msg;
BEGIN
INT
INT
INT
INT
INT
INT
INT
INT
INT
END;
TACL sends the new message to a C-series $CMON if a user on a D-series operating
system attempts to alter the priority of a process running on a C-series system. The
C-series $CMON process can extract a valid process identifier and ignore the extra
words in the message. The process handle for a process running on a C-series system
can always be converted to a process identifier.
Processing
Section 5, "Initiating and Communicating With Processes," describes how to use the
Completion
variable:_COMPLETION to access completion information.
Information
Because a D-series PIN does not fit into a CRTPID field, D-series TACL uses a new
structure for completion information. The TACL product provides C-series
compatibility by continuing to support the use of :_COMPLETION.
In previous releases, TACL saved STOP (-5) and ABEND (-6) messages in the variable
:_COMPLETION, if it existed. (TACL defines :_COMPLETION as a STRUCT when
you log on, and the STRUCT remains unless you pop it.)
D-series TACL receives PROCDEATH (-101) messages instead of STOP and ABEND
messages. TACL saves a PROCDEATH message in the variable
:_COMPLETION^PROCDEATH, if it exists. (TACL defines
:_COMPLETION^PROCDEATH as a STRUCT when you log on, and the STRUCT
remains unless you pop it.)
If the variable :_COMPLETION exists, TACL converts the PROCDEATH system
message to a C-series STOP or ABEND system message and stores the message in
:_COMPLETION. Note, however, that if the message represents an unnamed high
PIN process, the message will not fit in :_COMPLETION. In such a case, TACL fills
:_COMPLETION with zeroes.
New D-series TACL applications should use :_COMPLETION^PROCDEATH.
Existing TACL applications may continue to use :_COMPLETION; however, the PIN
in the process identifier field is set to 255 for any high PIN value.
107365 Tandem Computers Incorporated
msgcode;
userid;
cipri;
ciinfile [0:11];
cioutfile [0:11];
crtpid [0:3];
progname [0:11];
priority;
phandle [0:9];
Supplemental Information for D-Series Systems
Processing Completion Information
== -56
== user altering the priority
== command interpreter
==
initial priority
== command interpreter IN file
== command interpreter OUT file
== process identifier of target
==
process
== program file of target process
== new priority for target process
== phandle of target process
A–3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents