Hitachi

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


6.2 CUI debugger (UNIX only)

In a UNIX execution environment, you use commands to run the debugger. The following shows the command specification format for the CUI debugger:

[Figure]0-command-name[[Figure]1-option]...[[Figure]1-option][[Figure]1-operand]
Starting the debugger

You start the debugger by specifying the -d option and the path name of a job definition script file in the command for executing batch jobs (adshexec command).

The started debugger outputs a prompt character string (adshdb) and then goes onto input wait status. When the debugger accepts a command entered by the user, it executes that command's processing. When the command's processing terminates, the debugger outputs the prompt character string and again goes onto input wait status. The debugger repeats this process until the debugger is terminated.

The debugger also outputs a prompt character string (adshdb) when it goes back into input wait status after receiving a signal while in input wait status.

The format used to start the debugger is shown below. For details about the command for executing batch jobs, see adshexec command (executes a batch job) in 8.3 Shell operation commands.

adshexec -d path-name-of-job-definition-script-file
Pausing a job definition script

You can pause a job definition script by entering the Ctrl + C keys. This method of stopping a job definition script is useful when the job definition script has entered an infinite loop.

Notes:
  • If the Ctrl + C keys are used during execution of an extended script command, extended shell command, standard shell command, or reserved script command, execution stops before the next stoppable instruction after execution of the current command has been completed.

  • If the Ctrl + C keys are used while an external command is executing in the foreground, execution depends on the external command's processing.

Organization of this section