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 IDDescriptionOutput destination
KFCA01141-EThe command cannot be executed because OpenTP1 is running in journal fileless mode.Standard error output
KFCA01280-Ejnlswpfg command processing failed.Standard error output
KFCA01281-Ejnlswpfg command input format is invalid.Standard error output
KFCA01285-ESwap processing is underway.Standard error output
KFCA01286-EThere is no file to be swapped in.Standard error output
KFCA01290-IHelp messageStandard output,
standard error output