Previous Topic: Qualifiers

Next Topic: SHOW CPU_RATING

Example

This example shows part of a command procedure for a Job Management Manager job. The SCHEDULE SET RESTART_VALUE sets the restart value to either STEP1 or STEP2. If a system problem occurs while running the job, the manager will restart the job at the appropriate step.

$ If $VSSRESTART then goto 'BATCH$RESTART' 
$ STEP0: 
- 
- 
$ !If we crash, restart at step1 
$ SCHEDULE SET RESTART_VALUE STEP1 
$ STEP1: 
- 
- 
$ !If we crash, restart at step2 
$ SCHEDULE SET RESTART_VALUE STEP2 
$ STEP2: 
- 
- 
$ EXIT