Purpose
Deallocates a specific channel device from the operating system.
Syntax
where:
- cpname
- Pair of database communication devices specified as CPnnnn, where nnnn is the device number of the even-numbered device. Either three or four hexadecimal digits can be specified.
Usage Notes
The devices can be dynamically or explicitly allocated by the ATTACH commands. If they were dynamically allocated they will be dynamically de-allocated. If they were explicitly allocated, TDP will not longer use them but they will remain allocated: TDP must be shutdown to deallocate them.
Example: DETACH CP
DETACH CPC308
Completion Message
The following message confirms that the command has been validated:
TDP1363 DETACH COMMAND ACCEPTED FOR CPC308
The following message subsequently confirms that the command has been completed:
TDP1357 "CPC308" HAS BEEN DETACHED