OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

tamfrc (Recover a TAM file)

Format

tamfrc [-s] [-e] [-g] [-k key] [-m] [-j]
       {-f recovery-target-definition-file-name|
       TAM-table-name TAM-file-name}
       journal-file-name[[[Figure]journal-file-name]...]

Function

The tamfrc command recovers a TAM file from specified journal files.

Options

-s

Specifies that the previous TAM FRC is not to be inherited.

When this option is omitted, the previous TAM FRC is inherited.

-e

Specifies that the inheritance file is to be deleted when TAM FRC terminates.

When TAM FRC is executed with this option specified, the -s option must be specified the next time TAM FRC is executed.

When this option is omitted, the inheritance file is not deleted.

-g

Specifies that TAM FRC is to be executed even if the -s option is specified and unload journal files with journal generation number 1 are not specified.

When this option is omitted, processing is cancelled.

When the -s option is omitted, this option is ignored, if specified.

-k key~((001-999)) <<001>>

Specifies the key of the applicable FRC when multiple TAM FRCs are to be executed.

In addition, specify different keys when the damfrc command and the mqafrc command are executed simultaneously with the tamfrc command or when the damfrc command, mqafrc command, and tamfrc commands are executed in succession.

To inherit the previous TAM FRC, its key must be specified.

-m

Integrates the journal records needed for file recovery on a file. When this option is omitted, a buffer area is allocated on memory for integration of journal records.

-j

Specifies that TAM FRC is to be executed using journal files integrated by the jnlcolc command.

When this option is specified, the -s, -e and -m options must not be specified.

When this option is omitted, TAM FRC is executed using unload journal files created by the jnlunlfg command.

-f recovery-target-definition-file-name~<path name>

Specifies the name of the file that defines the TAM file to be recovered.

The recovery target definition file is created in the following format, using a text editor:

[[Figure]] TAM-table-name[Figure]TAM-file-name (linefeed)
[[[Figure]] TAM-table-name[Figure]TAM-file-name (linefeed)]
       :    :

TAM-table-name~<1-to-32-character identifier>
Name of the TAM table to be recovered

TAM-file-name~<1-to-63-character path name>
Name of the recovery destination TAM file (full path name)
Specify a file restored from the backup file. When specifying multiple files, either the files restored from the online backup files or the files restored from the offline backup files can be specified. These two kinds of files cannot be both specified.

Command arguments

TAM-table-name~<character string, identifier, 1-32 characters>

Specifies the name of the TAM table to be recovered.

TAM-file-name~<path name>

Specifies the name of the TAM file to be recovered, expressed as the full path name.

journal-file-name~<path name>

Specifies the name of a journal file to be used during TAM FRC execution.

If the -j option is specified, the name of an integrating journal file must be specified; if the -j option is omitted, the name of an unload journal file must be specified.

If multiple journal generations are to be processed, all the corresponding journal file names must be specified. No more than one integrating journal file can be specified.

Recovering online backed-up files does not require all unloaded-journals files to be specified. The user has only to specify the unloaded-journals files beginning with the generation number and block number of the journal files to be recovered that are contained in the message (KFCA01738-I) that is output at completion of online backup.

Recovery of offline backed-up files requires specification of all unloaded-journals files.

Notes