Previous Topic: ATTACH Command (CASRV)Next Topic: CONCAT Command (CASRV)


CANCEL Command (CASRV)

The CANCEL command lets you cancel a Common Address Space Shell (CASRV) managed task.

The task is terminated with a user abend U1922. No retry is permitted. TASK#= or TCB= must be specified.

Syntax

CANCEL [,TASK#=taskid|TCB=tcbid]

Parameters

TASK#=

TASK is used to identify the CASRV managed task to be cancelled. The TASK= operand value corresponds to the TWAIDENT field.

TCB

TCB is the z/OS TCB address that identifies the task to be cancelled.