Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


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:

  1. In the client area, select the icon of the script file you want to execute.

    [Figure]

  2. Choose File, Execute. Alternatively, double-click the file icon.

    The Execution dialog box appears.

    [Figure]

    For details about using this dialog box, see 4.1.7 Execution dialog box.

  3. 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.

    [Figure]

    For details about using this dialog box, see 4.1.8 Set Execution Environment (Start Information) dialog box.

  4. In the Execution dialog box, click the OK button.

    While the script is executing, windows show the execution status, execution trace, and analysis trace.

    [Figure]

    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.

  5. Check the contents of the execution trace.

  6. 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.