Guardian Application Conversion Guide

Converting a TAL Program to Run at a High PIN
Converting TAL Applications
3–12 096047 Tandem Computers Incorporated
Using MYPID in a
SETMODE (Function 11)
Procedure Call
Your existing program might also attempt to establish break ownership using a call to
the MYPID procedure in a SETMODE (function 11) procedure call as shown in the
following example:
LITERAL set^break^owner = 11;
...
CALL SETMODE (terminal^number,
set^break^owner,
MYPID, ! Call MYPID to set parameter-1.
normal^mode,
previous^owner);
You are not required to set
parameter-1
to your CPU and PIN values. Instead,
convert your program to set
parameter-1
to any positive value:
LITERAL break^flag = 1;
...
CALL SETMODE (terminal^number,
set^break^owner,
break^flag, ! Dummy value.
normal^mode,
previous^owner);
For more information about function 11 of the SETMODE procedure, refer to Section 8,
“Converting Other Parts of an Application.”