TMF Application Programmer's Guide (H06.03+)

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—540139-001
5-95
How to Include Audit Reading in an Application
How to Include Audit Reading in an
Application
The TMF audit-reading procedures are contained in a set of files that are delivered with
the TMF product. Table 5-4 summarizes the audit-reading procedure files.
Using FUP LICENSE and FUP PROGID to a Super group user will allow users other
than SUPER.SUPER users to run the program based on Guardian file security.
There are two ways to associate the TMFARUL2 library file with the application run
object file: the ELD -libname option, or the TACL RUN command LIB option.
Once the association is made, the LIB option does not need to specified to execute
the program. The RUN command LIB option can be used to change the location of
the TMFARUL2 file.
Examples:
ELD linkfile .. TMFARLB2 .. -o runfile -l ZCLIPDLL .. other
required DLL's ..
-libname $vol.subvol.TMFARUL2
FUP LICENSE (runfile, TMFARUL2)
TACL RUN /LIB TMFARUL2/ runfile
If -libname is part of the ELD step, then the TACL LIB option is not required unless
the TMFARUL2 file location changes.
A third party can use the ELD step to build the application file that is shipped to its
customer, the -libname option is not required. Then the customer can do the FUP
LICENSE and TACL RUN command with the LIB option to prepare the files for
execution.
The FUP LICENSE and TACL RUN commands must be executed each time either file
is replaced or moved.
Both the application runfile and TMFARUL2 must be LICENSEd or either a
Process_Create_ error or ARLIB2 error -905 will occur. This will occur even if
Super.Super runs the program.