7.2. Forcing a task

If the attempt to CANCEL a problem task (which can sometime require several CANCEL attempts), has been unsuccessful, then the next step will be to FORCE the task. FORCE is not a substitute for CANCEL. Unless you issue CANCEL first for a cancellable job, the system issues error message IEE838I. The steps to use in the process are:

1.
Issue the CANCEL nnn command, making several attempts if necessary.
2.
Use the DUMP command if you want a dump produced. Respond to the prompt for parameters with the jobname or ASID of the “stuck” job, as well as ASID(1)=MASTER.
3.
Issue the FORCE nnn,ARM command for non-cancellable procedures.
4.
Issue the FORCE nnn command only when the previous steps fail.

Important

Never use the FORCE

Get z/OS Diagnostic Data Collection and Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.