AutoTMF Software User's Guide (Update 11)
HP NonStop AutoTMF Software User’s Guide—429952-013
3-1
3 Preparing Programs
Overview
Preparing Programs
Preparing Programs that Have a User Library
Preserving the Modification Timestamp of Object Files
Preserving License Attribute when Preparing Privileged Programs
Tips for Preparing Programs
Diagnosing Preparation Errors
Overview
Before preparing any programs, ensure that you have a working version of the 
application to be prepared. Read the suggestions at the end of this section before 
preparing any programs.
You must prepare programs to use NonStop AutoTMF software. 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 changes the object-file modification timestamp to the time of preparation. 
To preserve the modification timestamp, see Preserving the Modification Timestamp of 
Object Files below.










