Preparing a user library, Combining a user library with the nonstop autotmf, Runtime – HP Integrity NonStop H-Series User Manual
Page 40: Intercept libraries
![background image](/manuals/397556/40/background.png)
Preparing Programs
HP NonStop AutoTMF Software User’s Guide—429952-013
3-8
Preparing a User Library
Preparing a User Library
By default, the
command only modifies executable object files. If you
attempt to prepare a program that references a user library, the following message is
displayed:
To prepare a user library, use the PREPARE command specifying the USERLIB option
as follows:
Intercept Libraries
Certain third-party software products use a user library to intercept NonStop OS
procedure calls, much like NonStop AutoTMF software does. In that case, the user
library should not be prepared prior to binding the NonStop AutoTMF runtime to the
user library. If a user library contains both intercept procedures and ordinary
application procedures, special processing is required; contact product support for
assistance.
Combining a User Library with the NonStop AutoTMF Runtime
TNS Library
1. Prepare the application user library object using the
2. BIND the application user library with the runtime object file ESCRUNTM, as
follows:
3. Accelerate the new user library. Specify the UL option, as follows:
AutoTMF 1? prepare $DATA.LIB.TINFOB;
*Warning* Object file $DATA.LIB.TINFOB has no MAIN procedure.
* 1658 * A user library must be prepared with the USERLIB option
* * and then bound with the AutoTMF runtime library.
AutoTMF 1? prepare $DATA.LIB.TINFOB, USERLIB;
--- $DATA.LIB.TINFOB preparation complete, but has no MAIN;
--- a user library must be bound with the AutoTMF runtime library.
[run] $SYSTEM.ESCORT.ESCORT PREPARE myuserlb, UL;
BIND
@SELECT LIST * OFF
@ADD * FROM myuserlb
@ADD * FROM $SYSTEM.ESCORT.ESCRUNTM
@SET LIKE $SYSTEM.ESCORT.ESCRUNTM
@SET HIGHPIN ON
@SET HIGHREQUESTERS ON
@BUILD myuserlb!