How to prevent a job from execution in case of problems
Ingolf24 120000DRN3 Visits (2009)
In rare cases it could happen, that a VSE/POWER job fails and does not terminate or a system failure occurs and jobs are in execution. That is you may need to re-ipl the z/VSE system. To prevent e.g. such a job from execution after IPL you may add a SET NORUN=YES card to your VSE/POWER startup. It applies to locally submitted jobs.
The SET NORUN=YES causes a disposition of "X" to be assigned to any reader queue entry, that was active when the system failed (except reader queue entries that specify the * $$ JOB NORUN=IGN operand). You may get a list of affected entries with the command PDISPLAY RDR,CDISP=X.
You can than change the disposition of affected queue entries and so prevent the failing job to rerun.
If you did not add SET NORUN=YES to your VSE/POWER startup, you may "emulate" the NORUN=YES by issuing the Attention Routine PAUSE F1 command (F1 = the VSE/POWER partition) after IPL but before the F1 startup. When prompted in partition F1, issue the JCL statement "// UPSI 1" and continue. You can now change the dispositions of the queue entries.
With the PALTER RDR,CDISP=X,DISP=* command you can change the temporary disposition X of queue entries back to their original dispositions.
Special consideration apply to shared spool environments.
More information is in the VSE/POWER Administration and Operation book. You can find it on our docu