beautypg.com

3 preparing programs, Program preparation overview, Preparing programs – HP Integrity NonStop J-Series User Manual

Page 35: Section 3, preparing programs

background image

HP NonStop AutoTMF Software User’s Guide429952-016

3-1

3

Preparing Programs

Program Preparation Overview

Preparing Programs

Preparing Programs that Have a User Library

Preserving Mod Timestamp, License and Progid Setting

Tips for Preparing Programs

Diagnosing Preparation Errors

Program Preparation Overview

You must prepare programs to use AutoTMF. Preparation changes object files to
invoke the NonStop AutoTMF runtime library instead of making direct calls to operating
system procedures.

You prepare programs by using the PREPARE command, which performs two
operations on each object file:

Retargets selected system procedure calls to the NonStop AutoTMF runtime
library.

For TNS and TNS/R programs, either sets the NonStop AutoTMF runtime library
as the program’s user library, or verifies that an existing user library contains the
NonStop AutoTMF runtime.

For TNS/E programs, sets the NonStop AutoTMF runtime DLL as a DLL to the
program or to the program’s user library.

You do not need the source code of the programs, nor do you need to compile the
programs in any special manner. However, you do need to prepare a program
whenever that program is recompiled.

Object code is not changed by NonStop AutoTMF. From the viewpoint of the
application programmer, tester, or debugger, the execution of prepared and
unprepared programs is the same.

Preparation does not:

invalidate object file acceleration or a SQL compilation,

change the object file attributes such as HIGHPIN, HIGHREQUESTERS,
INSPECT and so on,

change the Binder, nld or eld timestamp,

change the size of the object file.

However, by default, preparation does:

This manual is related to the following products: