ssocolcvt
- Organization of this page
Format
- To convert to the tab-delimited format:
ssocolcvt -s collection-conditions-definition-file -p output-file-name
- To convert to collection conditions definition file format:
ssocolcvt -c text-file-having-tab-delimited-format -p output-file-name
- To output the command usage:
ssocolcvt -h
Function
The ssocolcvt command converts a collection conditions definition file to a text file having the tab-delimited format. It also converts a text file having the tab-delimited format to data having the collection conditions definition file format. Converting a file to the tab-delimited format makes it possible to manage the collection conditions definition file using spreadsheet software.
Options
-s collection-conditions-definition-file
Converts the specified collection conditions definition file to data having the tab-delimited format.
-p output-file-name
Specifies the file to which you want to output the conversion result.
-c text-file-having-tab-delimited-format
Converts the specified file having the tab-delimited format to a collection conditions definition file.
-h
Outputs the command usage. This option cannot be specified together with other options.
Return values
0 |
Normal termination |
-1 |
Execution error such as incorrect arguments |
Notes
-
When you use the -c option to convert a file to the collection conditions definition file format, if the text file having the tab-delimited format contains a control character intended for spreadsheet software, conversion may fail.
-
The first line of the tab-delimited format file is ignored because it is treated as a title line.
-
If the disk becomes full while the conversion result is being output to a file as specified by the -p option, only part of the data is saved in the file (no error message is output). Before outputting the conversion result to a file, verify that the disk has sufficient free space.
-
If you have specified a tab in the collection conditions definition, it may not be converted properly to tab-delimited format data.
-
You cannot convert definitions related to statistical thresholds by using this command. If you describes a definition related to statistical thresholds in the collection conditions definition file and execute this command, an error occurs.
Example of outputting the tab-delimited format file
The format of the tab-delimited format file is shown below.
The following key names corresponding to numbers are inserted into the header, starting from the left:
1:target,2:interval,3:d_range,4:instance,5:subcondition,6:commandUM,7:commandUK,8:commandNM,9:commandWR,10:commandCR,11:threshold,12:threshold_OVER
The following shows an example of converting the collection conditions definition file, shown in 6.3.1 (5) Examples, to tab-delimited format data. For more information about key names and their values, see 6.3.1 Collection conditions definition file.
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
---|---|---|---|---|---|---|---|---|---|---|---|
30; 2o4gsv01 |
20 |
06:00:00; 23:00:00 |
1 |
Y;Y;Y |
90.00; 95.00 |
1;2 |
|||||
N;N;N |
100.00; 100.00 |
1;1 |
|||||||||
2 |
Y;Y;Y |
95.00; 98.00 |
2;3 |
||||||||
N;N;N |
100.00; 100.00 |
1;1 |
|||||||||
32; netmps01 |
15 |
07:00:00; 22:00:00 |
Y;Y;Y |
D:\JP1Cm2\SSO\mnr32.bat |
D:\JP1Cm2\SSO\crt32.bat |
90.00; 98.00 |
3;5 |
||||
N;N;N |
100.00; 100.00 |
1;1 |
|||||||||
N;N;N |
100.00; 100.00 |
1;1 |
|||||||||
N;N;N |
100.00; 100.00 |
1;1 |