OpenTP1 Version 7 Operation
stsls (Display status of status files)
Format
stsls [{-n logical-file-name|-f physical-file-name|-a|-l|-p}] |
Function
The stsls command outputs the status of status files to the standard output in the online mode.
The command is effective only when the status service is running.
Options
-n logical-file-name~<identifier, 1-8 characters>
Specifies the name of the logical file whose status is to be displayed.
-f physical-file-name~<path name>
Specifies the name of the physical file whose status is to be displayed, expressed as the full path name.
-a
Specifies that the status of all status files in use by the status service is to be displayed in summary format.
-l
Specifies that the status of all logical files being used by the status service is to be displayed.
-p
Specifies that the status of all physical files being used by the status service is to be displayed.
When all options are omitted, the status of all status files being used by the status service is displayed.
Output format
The following shows the output format when all options are omitted:
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 output |
KFCA01070-E | Error occurred during stsls command processing. | Standard error output |
KFCA01085-I | Help message | Standard output, standard error output |
KFCA01091-E | Memory is inadequate. | Standard error output |
KFCA01099-E | Error occurred during OpenTP1 function call. | Standard error output |
Notes
The status of a status file is managed only while the status service is running. If the stsinit or stsrm command is executed for any of the following closed files during status service operation, the file status to be displayed by the stsls command will not change:
If the stsinit or stsrm command, the stsopen command, and the stsls command are executed in this order, the current file status is displayed.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.