OpenTP1 Version 7 Operation
mcfreport (Edit MCF statistics)
Format
mcfreport [-k edit-type] [-u edit-target] [-i input-file-name] [-d start-date:end-date|target-date] [-t start-time:end-time] |
Function
The mcfreport command inputs and edits the MCF statistics file that is output by the mcfstats command. This command then outputs the edited result to the standard output.
Options
-k edit-type~<<all>>
Specifies an edit type.
-u edit-target
Specifies a service group name, a logical terminal name, or an MCF communication process identifier for editing.
Specifies the following items depending on the specification of the -k option.
all specified in the -k option: Omits this option.
in specified in the -k option: Service group name
out specified in the -k option: Logical terminal name
cn specified in the -k option: MCF communication process identifier
If you specify in, out, or cn in the -k option, make sure to specify this option. Specifying all in the -k option invalidates the specification of this option.
You cannot specify more than one service group name, logical terminal name, or MCF communication process identifier.
You can make a batch specification using an asterisk (*) in this option. You can make only one batch specification. You cannot make a batch specification together with an item which is included in the batch specification. For the batch specification, enclose the edit target in double quotation marks (").
-i input-file-name~<path name, 1-35 characters> <<mcfstc>>
Specifies the file containing the execution result of the mcfstats command. If you specify only a file name, the file under the current directory is edited. If you specify an absolute path name, the file under the specified directory is edited.
If you omit this option, mcfstc under the current directory is edited.
-d start-date:end-date|target-date~<decimal digits> <<s:e>>
Specifies a target date range or the target date for editing.
If you omit this option, -d s: e is assumed.
The start date, end date and target date are represented in the YYYYMMDD format.
-t start-time:end-time~<decimal digits> <<s:e>>
Specifies the time range for editing.
If you omit this option, -t s: e is assumed.
The start time and end time are represented in the HHMM format.
All the information within the time range specified by this option in the date range specified by the -d option is edited. For example, specifying " d19970101: 19970103-t0900:1700" will edit all the statistics from 9:00 to 17:00 on January 1, 2, and 3 in 1997. You cannot specify the time from one day over the next day (for example, -t2300: 0100).
Output format
Output messages
Message ID | Description | Output destination |
---|---|---|
KFCA19751-I | Starts editing the MCF statistics. | Standard output |
KFCA19752-I | Terminates editing the MCF statistics. | Standard output |
KFCA19753-E | Memory required for editing the MCF statistics cannot be allocated. | Standard error output |
KFCA19754-E | An invalid option exists. | Standard error output |
KFCA19755-E | The length of the input file name exceeds the specified value. | Standard error output |
KFCA19757-E | An invalid input file name is specified. | Standard error output |
KFCA19758-E | An invalid edit type is specified. | Standard error output |
KFCA19759-E | The edit target is not specified. | Standard error output |
KFCA19760-E | An invalid edit target is specified. | Standard error output |
KFCA19761-E | An invalid date is specified. | Standard error output |
KFCA19762-E | An invalid time is specified. | Standard error output |
KFCA19763-E | An error occurred while the input file is being processed. | Standard error output |
Notes
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.