OpenTP1 Version 7 Operation

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

stsclose (Close a status file)

Format

Stsclose {-n logical-file-name|-f physical-file-name}

Function

The stsclose command closes a currently open status file.

A status file on current status cannot be closed.

This command can close only a status file specified in the status service definition, and the command is effective only while the status service is running.

Options

-n logical-file-name~<identifier, 1-8 characters>

Specifies the name of the logical file to be closed. The files in both the A and B systems constituting the specified logical file are closed simultaneously.

This command argument can be specified in the following cases:

When a logical file name is specified, the user need not know the path name for the status file entity.

-f physical-file-name~<path name>

Specifies the name of the physical file to be closed, expressed as the full path name.

If an error has occurred in a status file, this command argument is specified to close the file in the system on STANDBY status, not in the system on shutdown status.

Entering both stsclose -f A-system-physical-file-name and stsclose -f B-system-physical-file-name is the same as entering stsclose -n logical-file-name.

Output messages

Message ID Description Output destination
KFCA01040-E Error occurred in physical file. Standard error output
KFCA01050-E Error occurred during process-to-process communication. Standard error output
KFCA01070-E Error occurred during stsclose command processing. Standard error output
KFCA01084-I Help message Standard output,
standard error output
KFCA01099-E Error occurred during OpenTP1 function call. Standard error output