beautypg.com

Enform, Enable – HP Integrity NonStop J-Series User Manual

Page 72

background image

Usage Guidelines

HP NonStop AutoTMF Software User’s Guide429952-016

5-4

ENFORM

If you are not using a privileged Escort CI and are not logged on as
SUPER.SUPER when issuing the PREPARE command, a warning notifies you that
the prepared FUP is not licensed. You must then have the SUPER.SUPER user
license your prepared copy of FUP.

For example:

1. Prepare FUP specifying the “!”:

2. Have the SUPER.SUPER user license your prepared FUP:

If you are running a TNS/E version of FUP (code 800), you will need to follow the
procedure described in paragraph

Preparing Privileged TNS/E programs

on

page 3-7 in order to prepare FUP.

ENFORM

ENFORM uses transactions only to read an audited dictionary. ENFORM does not
update files. ENFORM either reads existing files or creates and writes new files. The
ENFORM LIST statement can read audited files; this statement reads through locks
and does not require transactions.

The ENFORM FIND statement creates and writes a new unstructured file.
Unfortunately, FIND files cannot be audited and replicated, because ENFORM
processes a FIND in the following sequence. ENFORM:

1. Creates an unstructured temporary file that has a name like $DATA.#0001234.

2. Opens and writes information to $DATA.#0001234.

3. Renames $DATA.#0001234 to the desired name of the FIND file name.

If you configured AutoTMF to create the temporary file as audited, the file creation and
the writes would be replicated properly. The file rename, however, could not be done
on an audited file. A rename operation on an audited file would require closing the
temporary file, which would cause the disk process to purge the file immediately.

ENABLE

ENABLE is both a transactional and non transactional program. ENABLE generates
transactions if your ENABLE program specifies SET TMF ON.

ESCORT PREPARE test.fup!;EXIT;
--- $DATA.TEST.FUP preparation complete
--- AutoTMF User Library $DATA.ESCORT.ESCRUNTM

*Warning* The LICENSE for $DATA.TEST.FUP 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.

>FUP LICENSE $data.test.fup

This manual is related to the following products: