You can restart a WSL that was run by another user but
did not complete successfully.
Procedure
- Determine the user ID of the user who ran the WSL.
You can find the user ID in the checkpoint table.
- Issue the R (Run in batch) command on Work Statement
List Library panel for the WSL that you want to restart.
The JCL to generate the batch job is displayed.
- Edit the batch job at the ADBTEP2 restart job step and
specify the USER parameter with the user ID of the user who originally
ran the WSL.
For example, if a user with user ID SYSADM
ran the WSL, the following portion of code shows how the edited JCL
would look with the USER parameter added:
000036 RUN PROGRAM(ADBTEP2) PLAN(ADBTEP2) -
000037 LIB('ADB.QA260.ISPLLIB') -
000038 PARMS('/WORKLIST(JTKZ) SSID(V81A) -
'''''' USER(SYSADM) -
000039 RESTART(YES),BINDERROR(MAXE)')
Important: The USER and CHANGEID parameters are mutually exclusive. Ensure that the JCL
does not include a CHANGEID parameter.
- Submit the JCL.