1.1.2 Expediting the configuration of batch applications
Controlling job execution
JP1/Advanced Shell extends job definition scripts so that you can automate and concisely code processes that are used repetitiously in batch applications.
You can reduce the volume of coding in job definition scripts and improve readability and maintainability of job definition scripts by doing the following:
Specifying job step execution conditions
Using variables that are valid in job steps
Outputting error messages and setting return codes when batch jobs terminate with errors
In the event a batch job terminates with an error, automatically terminating child processes forcibly and deleting temporary files used by the batch job
Using an editor to develop job definition scripts (development environment)
In the development environment, you can use the JP1/Advanced Shell Editor (a dedicated editor with debugging functions) of the Graphical User Interface (GUI) to develop and debug job definition scripts.
You can execute job definition scripts in job steps, and set breakpoints.
You can accumulate coverage information for job definition scripts.
The following figure shows the JP1/Advanced Shell Editor window.
Figure 1‒1: JP1/Advanced Shell Editor window Efficient file allocation and postprocessing
You can automate and concisely code processes, such as checking for regular files, and allocating and deleting temporary files.
You can automatically allocate temporary files during batch job execution and delete them once the batch job has terminated.
You can check for regular files during batch job execution and perform appropriate postprocessing on files depending on job step or job processing results.