Hitachi

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


3.1.7 Checking script syntax

After completing a script, check its syntax. The syntax check includes lexical and grammatical analysis only. No commands are actually executed.

To check script syntax:

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

    [Figure]

  2. Choose File, Syntax Check.

    While the syntax check is being performed, windows show the execution status, execution trace, and analysis trace. The syntax check result is displayed as an analysis trace.

    At completion of the syntax check, the Exit button is enabled in the window showing the execution status.

    [Figure]

  3. Check the contents of the analysis trace.

    You can edit the script while viewing the analysis results. Start the editor by choosing File, Edit.

  4. Click the Exit button in the window displaying the execution status.

    The three windows close.

Note

When you perform a syntax check, JP1/Script creates an analysis 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.