Overview of the restart process


When restarting a worklist, Execution performs the following steps:

  1. Checks the status of the work ID, which must be Exec Strt (execution started)
  2. Searches the sync table backwards to find the last valid sync entry for the work ID
  3. Reads the worklist, searching for the restart sequence number, and performs the following tasks:
  4. Reestablishes values for the runtime environment from the sync table, if the following commands were included in the worklist

    Worklist command

    Reestablished value

    -GLID

    Global authorization ID

    -AUTH

    Authorization ID

    -SETS

    Current SQL ID

    -SETP

    PATH

    Important

    Because authorization data is stored in the products’ sync tables, you cannot change the authorization data for a restart.

  5. Continues to process the worklist from the last sync point or from the -STOP worklist command

Important

If all of the following conditions exist, Execution automatically restarts executing the work ID:

  • Execution updated the status of the work ID to Exec Strt (Execution started).
  • An error occurred or Execution encountered a -STOP command.
  • You submitted the initial Execution JCL again, instead of submitting restart JCL.
  • The AEXIN input stream does not include the RESTART keyword.

During worklist processing, JCL Generation creates permanent work data sets and sets the disposition of the data sets to new, catalog, catalog (DISP=(NEW, CATLG, CATLG)). You might need to change the disposition of or delete the permanent work data sets.

JCL Generation determines the sequence number of the command that failed and the disposition of the data set:

  • Any tape data set that was opened before the sequence number of the command that failed will have a disposition of SHR or (OLD, KEEP, KEEP).
  • Any tape data set that would have been opened at the sequence number of the command that failed or after that sequence number will have a disposition of (NEW, CATLG, CATLG).

    Important

    Verify that the data set has not been allocated. If the data set has been allocated, modify the disposition of the data set.

  • Any DASD data sets will have a disposition of SHR.
Warning

Do not use a disposition of MOD (DISP=MOD), which could cause unpredictable results. Do not change the disposition value for the SYSIN, SYSTSIN, SYSPRINT, SYSTSPRT, and ALUIN ddnames.

To restart a worklist, select the Build Restart JCL from previous execution JCL option on the Execution JCL Build Interface panel. When you select this option, the products insert the RESTART keyword into the AEXIN input stream.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*