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


DETACH Command (CASRV)

The DETACH command stops a CA product or component in the Common Address Space Shell (CASRV).

Syntax

DETACH SERVER=servername [,CANCEL|FORCE]

Parameters

SERVER=

1- to 8-character name of CA product or component to be stopped in the CASRV.The servername is the same as that used on an ATTACH command. This is a required parameter.

If the server has registered a STOP ECB (#CASERV SRV_READY), it is posted, and CASRV waits for the TCB to terminate.

CANCEL=

CALLRTM is issued with RETRY=NO. CANCEL may be specified without a previous “DETACH servername” command being issued. The SYSTEM COMPCOD is x’222,’ and the REASON code is C’CNCL’.

FORCE=

Force DETACH the CA product or component, without waiting for the server to terminate normally. FORCE requires that a “DETACH servername” or “DETACH servername,CANCEL” command have been previously issued.