3.1.15 Executing a script
You can execute a created script file from the Script Manager window. This is normally performed to check the execution trace and script operation.
To execute a script from the Script Manager window:
-
In the client area, select the icon of the script file you want to execute.
-
Choose File, Execute. Alternatively, double-click the file icon.
The Execution dialog box appears.
For details about using this dialog box, see 4.1.7 Execution dialog box.
-
If you need to set the execution environment, click the Detail button.
The Set Execution Environment (Start Information) dialog box appears. Set the command line and other information.
For details about using this dialog box, see 4.1.8 Set Execution Environment (Start Information) dialog box.
-
In the Execution dialog box, click the OK button.
While the script is executing, windows show the execution status, execution trace, and analysis trace.
The script execution result is displayed as an execution trace.
When execution is completed, the Exit button is enabled in the window showing the execution status.
-
Check the contents of the execution trace.
-
Click the Exit button in the window displaying the execution status.
The three windows close.
- Notes
-
-
When you execute a script in the Script Manager window, JP1/Script creates an execution trace file. To print this file, start Trace Viewer, select the trace file, and then choose File, Print. For details, see 3.4.10 Printing a trace file.
-
If you click Cancel at step 4, the dialog box closes and the script is not executed.
-
To view the three windows that show the execution status, execution trace, and analysis trace, select the Display status window check box. This check box is selected by default.
-