Retracting a connection factory using CICSConnectionFactoryRetract

To retract (unbind) a connection factory that you have published, run transaction CCRT. Unless you have changed the CICSConnectionFactoryRetract program, the ConnectionFactory to be retracted will be CICSConnectionFactory, in subContext ConnectionFactory in the JNDI server's name space.

The following message appears on your screen:
ccrt - ConnectionFactory retracted from JNDI successfully. 
Note: If the ConnectionFactory named in the CICSConnectionFactoryRetract program does not exist on the JNDI server (it may, for example, have already been retracted), a different message appears:
ccrt - unable to locate ConnectionFactory on JNDI.
Assuming that the connection factory is retracted normally, the following output is sent to stdout:
Figure 1. Stdout output from transaction CCRT to retract a connection factory with default name and subContext
*********************************************************************************
**** CICSConnectionFactoryRetract: Started
**** CICSConnectionFactoryRetract: Unbinding ConnectionFactory/CICSConnectionFactory
**** CICSConnectionFactoryRetract: ConnectionFactory/CICSConnectionFactory unbound
**** CICSConnectionFactoryRetract: Ended
*********************************************************************************

It is not recommended that you run CICSConnectionFactoryRetract as a PLTSD program, or link to it from a PLTSD program. This is because CICS shut down time will be lengthened.