CEMT INQUIRE/SET commands

Most CEMT requests either inquire about (INQUIRE), or change (SET) the status of one or more named instances of a resource (such as a terminal), a particular subgroup of resources (such as a class of terminals), or all resources of a particular type (such as all terminals).

The INQUIRE command causes the status of the specified resources to be displayed. The SET command makes the changes that you specify, and displays the new status of the resources. No changes are made if there are syntax errors in the SET command.

If, for example, you want to inquire about or set a resource, enter INQUIRE (or a suitable abbreviation) on the command line. The keywords you can use with CEMT INQUIRE are described in the rest of this section.

If you want to perform those functions that are not concerned with resource status, enter PERFORM (or a suitable abbreviation) on the command line. The keywords you can use with PERFORM are described in the CICS Supplied Transactions publication.

And finally, if you want to change the attributes of a resource, enter SET (or a suitable abbreviation) on the command line. The keywords you can use with SET are described in the CICS Supplied Transactions publication.

If you enter INQUIRE, you get the following display:

Figure 1. Sample of the screen following either the INQUIRE or the SET command
  INQ                                                              ←─Command Line
  STATUS:  ENTER ONE OF THE FOLLOWING OR HIT ENTER FOR DEFAULT     ←─Status Line

 AUTInstmodel FENode       PROGram      TSQueue                    ←─┐Resources
 AUTOinstall  INttrace     TDqueue
 AUXtrace     IRc          RRms
 COnnection   JOurnalname  STAtistics
 DEletshipped MODename     STReamname
 Doctemplate  MONitor      TSQueue
 DSAs         Netname      Vtam
 DSName       PArtner      TAsk
 DUmpds       PROFile      TCLass
 EXci         PROGram      TCPIP
 FEConnection STAtistics   TCPIPService
 FENode       SYDumpcode   TDqueue
 FEPOol       SYStem       TErminal
 ENQ          Task         TRAnsaction
 FEPRopset    TCLass       TRDumpcode
 FETartget    TCPIP        TSModel
 FIle         TCPIPService TSPool

                                                     SYSID=CICS APPLID=CICSHTC1
 PF 1 HELP       3 END      5 VAR                     9 MSG        ←─PF keys
You can inquire about any of the displayed options by typing its keyword after INQUIRE on the command line. For example,
INQUIRE PROGRAM
gives you the status of all programs, and for each program gives its attributes. Full details are given in CICS Supplied Transactions.