OpenTP1 Version 7 Operation

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

jnlswpfg (Swap journal files)

Format

jnlswpfg -j sys|jar [-r resource-group-name]

Function

The jnlswpfg command switches immediately the current file group. If there is no file group to be swapped in, a command error occurs.

The jnlswpfg command can be entered only when OpenTP1 and the journal service are both operating.

Options

-j sys|jar

Swaps file groups.

sys: System journal file

jar: Archive journal file

-r resource-group-name~<1-8 character identifier>

If jar is specified in the -j option, the name of the resource group in the file to be swapped must be specified. It must be the definition file name specified in the archive journal service definition specified in the definition command jnldfsv -a of the global archive journal service definition.

When this option is omitted, the name of an online archive journal file defined at the beginning of the definition command jnldfsv -a of the archive journal service definition is assumed.

If other than jar is specified in the -j option, specification of the -r option is discarded.

Output messages

Message ID Description Output destination
KFCA01141-E The command cannot be executed because OpenTP1 is running in journal fileless mode. Standard error output
KFCA01280-E jnlswpfg command processing failed. Standard error output
KFCA01281-E jnlswpfg command input format is invalid. Standard error output
KFCA01285-E Swap processing is underway. Standard error output
KFCA01286-E There is no file to be swapped in. Standard error output
KFCA01290-I Help message Standard output,
standard error output