With CA XCOM for z/OS, how do I Stop a Transfer? I Tried to Delete it, but it did not Work.

Document ID : KB000024820
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

There are a number of different commands to use depending on the state of the transfer and what should be done with the transfer after it is stopped.

Question: 

With CA XCOM for z/OS, how do I Stop a Transfer? I Tried to Delete it, but it did not Work.

Answer: 

Depending on how you want to stop the transfer and whether you want to restart it again, there are several different commands you may use: These are all MODIFY commands. In each case XCOM refers to the name of the XCOM server started task- the name you use to start the XCOM server:

F XCOM,CANCEL,{*|destname}[,Immed|Purge|SUSPend]

*             - applies to all transfers
destname - applies to all transfers to the specified destination lu, ipname or address
Immed - cancel the transfer in progress and requeue
Purge - abort the transfer and remove it from the pending queue
SUSP - Suspend the transfer, saving the status (Can be RESUMED later)

F XCOM,DELete,nnnnnn

nnnnnn - request number - removes the transfer from the pending queue.
              This does NOT work for active transfers.

F XCOM,TERM,{luname|nnnnnn}

luname - SNA luname only
nnnnnn - request number
Immediately stops and purges an active transfer.

Additional Information:

NOTE: To find the request number for a transfer, issue the following command. destname is optional. The output is written to the XCOMLOG:

F XCOM,DISplay,[destname]