Hitachi

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


6.1.1 Debugging with the GUI (Windows only)

You can use GUI operations from the JP1/Advanced Shell Editor to debug job definition script files.

The following figure provides an overview of debugging.

Figure 6‒1: Overview of debugging (GUI)

[Figure]

  1. Debugging of a job definition script from the editor is started.

  2. A breakpoint is set.

  3. When the job definition script is run, it stops at the breakpoint.

  4. Debugging stops.

Organization of this subsection

(1) Output

To run job definition scripts interactively, JP1/Advanced Shell displays the standard output and standard error output on the console at suitable times during debugging execution, unlike during normal execution where the standard output and standard error output are output after execution has completed. However, error messages are also displayed in the Error List window. For details about the Error List window, see 4.7.4 Error List window. The files for the standard output and the standard error output are not created in the spool job directory.

During normal execution, job execution logs are output to the standard error output after job definition scripts have been completed. During debugging, information equivalent to the job execution logs is output to the standard error output.

(2) Initialization of information

When a job definition script is run after already having been run once, information about the shell variables and environment variables that were specified during the previous execution is initialized.

(3) Spool

Each time debug execution is performed on a job definition script, JP1/Advanced Shell creates a spool job folder and stores the following files:

(4) Notes

If [[conditional-expression]] is used for conditional, the E-Time entry in an execution result message might be the debugger's processing time.