A.2 Output formats of execution trace files
An execution trace file contains the command execution results output by the Script Execution program. The output format depends on whether the script can be activated concurrently from multiple processes.
- Organization of this subsection
(1) Multi-activation prohibited
-
File name
The file name (extension .SPX) is a combination of the folder name and the script file name specified in the Trace Information page, accessed by choosing File, Set Execution Environment in the Script Manager window.
-
Output format
Figure A-3 shows the output format of an execution trace file.
Figure A‒3: Output format of an execution trace file (multi-activation prohibited) - a.
-
Date and time at which trace output started, the computer name and user name that executed the script, and the Script Engine version
- b.
-
Time at which an execution error occurred
- c.
-
Error indicator
- d.
-
Line position of the command in which an execution error occurred
- e.
-
Name of the command or procedure in which an execution error occurred
- f.
-
Type of error
- g.
-
Total number of execution errors
- h.
-
Date and time at which trace output ceased
-
Maximum lines and columns
Trace information can be output to an execution trace file to a maximum of between 100 and 9,999 lines and 128 to 1,024 columns.
You can change these output limits in the Trace Information page, accessed by choosing File, Set Execution Environment in the Script Manager window.
If the output trace information exceeds the maximum line count, the Script Execution program returns to the first line and outputs the new information, replacing the existing information. If the maximum column count is exceeded, the excess columns are deleted.
(2) Multi-activation permitted
-
File name
The file name (extension .SPX) is a combination of the folder name and the script file name specified in the Options (Multi-activation) dialog box, accessed by choosing Tools, Options in the Script Manager window.
-
Output format
Figure A-4 shows the output format of an execution trace file.
Figure A‒4: Output format of an execution trace file (multi-activation permitted) - a.
-
Date and time at which trace output started for an executed process, the process identifier, letter S indicating the start, the Script Engine version, and the computer name and user name that executed the process
- b.
-
Time at which an execution error occurred
- c.
-
Process identifier of the process in which an execution error occurred
- d.
-
Error indicator
- e.
-
Line position of the command in which an execution error occurred
- f.
-
Name of the command or procedure in which an execution error occurred
- g.
-
Type of error
- h.
-
Date and time at which trace output ceased for an executed process, the process identifier, and the letter E indicating the end.
- i.
-
Total number of execution errors
-
Maximum lines and columns
Trace information can be output to an execution trace file to a maximum of between 100 and 9,999 lines and 128 to 1,024 columns.
You can change these output limits in the Trace Information page, accessed by choosing File, Set Execution Environment in the Script Manager window.
If the output trace information exceeds the maximum line count, Script Execution returns to the first line and outputs the new information, replacing the existing information. If the maximum column count is exceeded, the excess columns are deleted.