Directs process information output from the ESSCMD session to a text file.
Syntax
OUTPUT outputType [outputName] | [errorName]
Parameter | Description |
---|---|
outputType | Number representing output operation. Values: 1 - Outputs all process information. 2 - Outputs only errors. 3 - Stops output of process information. 4 - Stops output of errors. |
outputName | Required for outputType 1 only. Name of file to receive output. Not used with other values for outputType. |
errorName | Required for outputType 2 only. Name of file to receive errors. Not used with other values for outputType. |
Notes
This command directs Essbase to send messages from the ESSCMD session to the specified file instead of to the screen.
Example
To write statistics tables returned from the GETPERFSTATS command to a text file called "stats":
OUTPUT 1 "stats"; :Send process info from ESSCMD to file "stats" GETPERFSTATS; :Execute this command OUTPUT 3 "stats"; :Stop sending process info to file "stats"
Result: Essbase writes performance statistics to the file "stats" instead of to the screen.
To write errors during the session to a file called CMDERR:
OUTPUT 2 "CMDERR";
To write statistics to the output file STATINFO:
OUTPUT 1 "STATINFO";
To write only the information that the calculation ran, and not all messages:
OUTPUT 1 "CALCDEFAULT";