beautypg.com

Highpin attribute, Hard-coding monitor name into the runtime, Hard-coding – HP Integrity NonStop H-Series User Manual

Page 175: Monitor name into the runtime

background image

System Management

HP NonStop AutoTMF Software User’s Guide429952-013

A-11

HIGHPIN Attribute

HIGHPIN Attribute

In order for a process to be run in a high pin (process number > 255), both the program
object file and the user library file must have the HIGHPIN attribute set to ON. If either
one is OFF, the process will occupy a low pin. The NonStop AutoTMF software user
library files are distributed with HIGHPIN ON. If you bind ESCRUNTM or link
ESCRUNN or ESCRUNNL with another user library, the resulting user library loses the
HIGHPIN attribute.

To set the HIGHPIN attribute for a TNS user library, use a Binder command, as
follows:

To set the HIGHPIN attribute for TNS/R library file, use the NLD command as
follows:

Hard-Coding Monitor Name into the Runtime

You can hard-code the monitor name into the NonStop AutoTMF runtime. This method
adds the special procedure ESCORT_MONITOR_NAME into the AutoTMF runtime.
Note that this method cannot be used for TNS/E native programs because the
NonStop AutoTMF software product subvolume does not contain a linkable version of
the AutoTMF DLL.

1. Create a source file with the following entries and assign the name of the alternate

monitor to the monname variable ($ZTST in this example):

2. Compile the source file using the appropriate compiler for each type of object file in

your environment:

BIND CHANGE HIGHPIN ON IN myuserlb

nld -change highpin on mynatlbt
nld -change highpin on mynatlbc

proc ESCORT_MONITOR_NAME( monname:len );
-- -------------------
string .ext monname;
int len;
begin
monname ':=' "$ZTST";

end; -- ESCORT_MONITOR_NAME

TAL /IN mnames/mnameo;SYMBOLS,SUPPRESS
PTAL /IN mnames/mnamen;SYMBOLS,SUPPRESS,SRL

This manual is related to the following products: