CEMT DISCARD commands
The DISCARD command allows you to remove an installed resource definition and its corresponding catalog entry from an active CICS® system.
For the following resources, the CICS Explorer® Operations views provide a functional equivalent. See CICSPlex SM Operations views in the CICS Explorer product documentation.
Command | Explorer operations view |
---|---|
DISCARD ATOMSERVICE | Atom services view |
DISCARD BUNDLE | Bundles view |
DISCARD CONNECTION | ISC/MRO connections view |
DISCARD DB2CONN | DB2® connections view |
DISCARD DB2ENTRY | DB2 entries view |
DISCARD DB2TRAN | DB2 transactions view |
DISCARD DOCTEMPLATE | Document templates view |
DISCARD FILE | Files view |
DISCARD IPCONN | IPIC connections view |
DISCARD JVMSERVER | JVM servers view |
DISCARD LIBRARY | Libraries view |
DISCARD MQCONN | Websphere MQ Connections view |
DISCARD MQMONITOR | Websphere MQ monitors view |
DISCARD PIPELINE | Pipelines view |
DISCARD PROCESSTYPE | Processtypes view |
DISCARD PROGRAM | Programs view |
DISCARD TCLASS | Transaction classes view |
DISCARD TCPIPSERVICE | TCP/IP services view |
DISCARD TDQUEUE | TD Queues view |
DISCARD TERMINAL | Terminals view |
DISCARD TRANSACTION | Transactions view |
DISCARD TSMODEL | TS models view |
DISCARD URIMAP | URI maps view |
DISCARD WEBSERVICE | Web services view |
DISCARD does not affect the CICS system
definition (CSD) file, and you can therefore reinstate the resource
using CEDA INSTALL(resourcename). DISCARD commands require ALTER access to the resource to provide similar security to that for SET commands (which use UPDATE access). You cannot discard resources that are currently in use or are CICS-owned resources (beginning with DFH
or C
).
For a list of the resource types that you can discard, see CEMT DISCARD.
Programming information about FEPI commands is in FEPI system programming reference.
- If you know the name of the resource that you want to discard,
type:
CEMT DISCARD resourcetype(resourcename)
- If you do not know the name of the resource, type:
A screen similar to Figure 1 appears. Use the carriage return key to move the cursor to the beginning of the line for the resource or resources you want to discard, and type D as shown and then press Enter.CEMT INQUIRE resourcetype
- A CEMT INQUIRE display can be used to discard more than one entry at a time. If you overtype another value as well as typing D, the D is ignored.
- When discarding a resource, the use of * or + in the resource name is not allowed.