OpenTP1 Version 7 Operation

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

jnladdpf (Allocate journal physical files)

Format

jnladdpf -j cpd -g file-group-name
         {-a physical-file-name|-b physical-file-name|
         -a physical-file-name -b physical-file-name}

Function

The jnladdpf command allocates a physical file to the file group specified in the checkpoint dump service definition in the online mode. The file group becomes ready for use when it is opened by the jnlopnfg command after input of the jnladdpf command. Executing the jnladdpf command for a file group to which physical files have already been allocated results in a command error. The jnladdpf command can be input only while both OpenTP1 and the journal service are active.

Options

-j cpd

Allocates a physical file to a checkpoint dump file.

-g file-group-name~<1-8 character identifier>

Specifies the name of the file group to which the physical file is to be allocated. The name must be the same file group name as specified in the checkpoint dump service definition.

-a physical-file-name~<1-63 character path name>

Specifies the name of the physical file to be allocated for the file group, with the full path name.

For a duplicated checkpoint dump file configuration, a physical file is allocated to system A.

-b physical-file-name~<1-63 character path name>

Specifies the name of the physical file to be allocated for the file group, with the full path name.

For a duplicated checkpoint dump file configuration, a physical file is allocated to system B.

Specifying this option with a non-duplicated checkpoint dump file configuration results in a command error.

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
KFCA02191-E -a option specification is invalid. Standard error output
KFCA02192-W A physical file has been allocated to the specified file group. Standard error output
KFCA02193-E Specified physical file name is invalid Standard error output
KFCA02194-I A physical file was allocated. Message log file
KFCA04128-I Help message Standard output, standard error output
KFCA26001-E -a or -b option specification is invalid. Standard error output

Notes

With a physical file allocated to either system A or system B in a duplicated checkpoint dump file configuration, the file group cannot be opened. Physical files must be allocated to both systems.