Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


4.4.4 Checking syntax

You can check the syntax of a job definition script file. The editor checks for any syntax errors, but does not execute the script. Coverage information is not collected even if the option for accumulating coverage information is specified (this corresponds to the -c option in the adshexec command).

The console is not displayed. Errors are displayed in the Error List window.

To check syntax:

  1. From the Debug menu, select Check Syntax.

    The editor is placed in the debug mode and starts syntax checking.

    The window will be grayed out while syntax checking is underway.

    • Display during syntax checking

      [Figure]

    • Display when syntax checking has been completed

      If any syntax errors are detected, information about the errors is displayed in the Error List window.

      [Figure]

  2. Check the information displayed in the Error List window.

    [Figure]

    For details about the Error List window, see 4.7.4 Error List window.

Notes:
  • In the debug mode, the menus are grayed out and Check Syntax cannot be selected from the Debug menu.

  • If you attempt to perform a syntax check on a job definition script file that does not yet have a name, the Save As dialog box for specifying a name for the file and saving it will be displayed. A syntax check cannot be performed for such a file until it is saved with a new job definition script file name (.ash).

  • If the contents of the job definition script file have changed, a message asking whether the file is to be updated is displayed. To update the file, save it, and then perform the syntax check.