Preserving the modification timestamp of, Object files, Program, as described in – HP NonStop G-Series User Manual

Page 44: Preserving the modification, Timestamp of object files, Or in, Preserving license attribute when preparing, Privileged programs, Below

Advertising
background image

Preparing Programs

HP NonStop AutoTMF Software User’s Guide429952-014

3-10

Preserving the Modification Timestamp of Object

Files

To force

PREPARE

to change a library in an object file, use the LIBRARY option. The

specified library must contain the NonStop AutoTMF runtime library. The LIBRARY
option can be used when you need to change the location of a user library (even if the
object file is already prepared).

Preserving the Modification Timestamp of
Object Files

Use a licensed Escort CI to preserve the modification timestamp of programs when
they are prepared. To enable this feature, do the following:

1. In binder, type the following commands:

2. At the TACL prompt, SQL compile escort:

3. Log on as SUPER.SUPER, and license escort:

If your site is not licensed to run NonStop SQL, contact HP to request a copy of the
privileged ESCORT CI.

Preserving License Attribute when Preparing
Privileged Programs

Preparing a privileged licensed program disables the license attribute, unless the user
issuing the prepare command is super.super. A warning message is displayed if the
license is revoked:

An alternative to issuing the command as super.super is to use a licensed Escort CI.
To create a licensed command interpreter, do the following:

AutoTMF 1? prepare myobj.myprog,library newobj.myusrlib;
--- $DATA.MYOBJ.MYPROG preparation complete
--- AutoTMF runtime library $DATA.NEWOBJ.MYUSRLIB

ADD * FROM escort
SET LIKE escort
ALTER CALLABLE^SET^MODTIME, CALLABLE ON
BUILD escort!

SQLCOMP/ IN escort/ NOREGISTER ON

FUP LICENSE escort

*Warning* The LICENSE for your-object was disabled.
* 1667 * SUPER.SUPER must issue a FUP LICENSE command to restore it.
* * See the AutoTMF documentation for a method to automatically
* * preserve the license when preparing programs.

Advertising
This manual is related to the following products: