TMF Operations and Recovery Guide (G06.26+)
Managing Enscribe Files
HP NonStop TMF Operations and Recovery Guide—522417-003
B-5
FUP Command Guidelines
Through a FUP SET command, you can explicitly request format 2 for a newly created
file. As an example, the following FUP commands create an audited, key-sequenced
format 2 file named ORDERS in the subvolume FILES on the volume $APPL.
48> FUP
- VOLUME $APPL.FILES
- SET TYPE K
- SET KEYLEN 15
- SET AUDIT
- SET FORMAT 2
- CREATE ORDERS
Note that in a release that supports format 2 files, an attempt to create a file with a
primary and secondary extent size and a maximum number of extents configured so
that the primary partition might exceed a total size of 2 GB, automatically results in a
format 2 file with format 2 partitions.
The following subsection, FUP Command Guidelines, offers suggestions for using
various FUP commands. These commands operate on both format 1 and format 2
files. However, if any command issued from your local node attempts to create a
format 2 file on a remote node, the command succeeds only if the remote node also
supports format 2 files. Similarly, format 2 files are not accessible from remote nodes
running software releases earlier than D46.00/G06.00.
FUP Command Guidelines
You must adhere to certain guidelines when using the FUP commands COPY, DUP,
LOAD, LOADALTFILE, PURGEDATA, RELOAD, and RENAME to manipulate audited
Enscribe files.
The COPY Command
You can use FUP COPY only to copy data from an audited file to a nonaudited file. If
you must copy data to an audited file, first issue a FUP ALTER command to change
the destination file’s audit attribute to nonaudited. After you have copied the data,
issue another FUP ALTER command to change the file’s audit attribute back to
audited.
If you want to be able to use the TMF file recovery feature, you should make an online
dump of the destination file, as any previous online dumps of the file were invalidated
when the destination file was altered to nonaudited.
Caution. Any damage to the destination file when it is in the nonaudited state could be
permanent. Before changing the file to nonaudited, you should first ensure that all openers
have closed the file, and then make a backup copy of it.