Use this job level rule to open the restart file (RSTFILE) and reset the EXTRFILE, TRNFILE, NEWTRN, NAFILE, POLFILE, and batch files at the broken transaction. The RestartJob should be first base rule.
Note | If the restart file does not exist, the system skips this rule. |
You can set up the GenData program to restart itself at a particular transaction if it encounters a failure. To accomplish this, the system uses a restart file. You use INI options to set up the restart file.
Note | This rule does not apply if you are using single-step processing. |
The restart file stores checkpoint information at specified intervals. If an error is encountered, the program resets itself and then checks each transaction until it isolates the transaction causing the error.
The restart file is removed at the end of a successful run. If the file exists at the start of a GenData run, the system assumes a restart is necessary and will open and read the file. The checkpoint information lets the system set internal pointers and output files in such a way that it can begin at that transaction.
You also use the RULCheckTransaction rule to restart the GenData program.
To use the restart feature, you should also set the following INI options:
Here is an example:
;RestartJob;1;Always the first base rule;
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.