Logging RDO commands

If you want to record RDO commands, use the sample job to create definitions for the extrapartition queues CADL, CAIL, CRDI, CSDL, CSFL, CSKL, CSLB, CSPL, and CSRL.

About this task

These queues are used as follows:
CADL
Logs z/OS® Communications Server resources installed in the active CICS® region. CICS records in this log all z/OS Communications Server resources installed, z/OS Communications Server resources deleted, and dynamically installed z/OS Communications Server resources that are discarded. This log includes autoinstalled terminal definitions, terminal definitions installed explicitly by the CEDA INSTALL command, and terminal definitions installed from a group list during system initialization.
CAIL
Logs the dynamic installation and deletion of autoinstall terminal models.
CRDI
Logs installed resource definitions, such as programs, transactions, mapsets, profiles, partition sets, files, and LSR pools.
CSDL
Logs RDO commands that affect the CSD.
CSFL
Logs file resources installed in the active CICS region. That is, all file resource definitions that are installed or deleted, dynamically installed file resource definitions that are discarded, and messages from dynamic allocation of data sets and from loading CICS data tables.
CSKL
Logs transaction and profile resources installed in the active CICS region. That is, all transaction and profile resource definitions that are installed or deleted, and dynamically installed transaction and profile resource definitions that are discarded.
CSLB
Logs changes to the dynamic LIBRARY resources installed in the active CICS region. That is, install and discard changes, and any changes to the enablement, ranking or critical status of the LIBRARY. If no dynamic LIBRARY resources are installed, no audit logging will take place.
CSPL
Logs program resources installed in the active CICS region. That is, all program resource definitions that are installed or deleted, and dynamically installed program resource definitions that are discarded.
CSRL
Logs changes to the set of partner resources installed in the active CICS region. That is, all operations that install or discard partner resources.

If you want these RDO command logs sent to the same destination (CSSL) as the messages, you can use the definitions shown in Figure 1. If you like, you can direct these logs to any other transient data queue, or define them as extrapartition data sets.

Figure 1. Definitions for RDO command logs sent to CSSL
Note: VTAM® is now z/OS Communications Server.
*
DEFINE TDQUEUE (CSSL)         GROUP(DFHDCTG)
       DESCRIPTION(USED FOR MESSAGES)
       TYPE(EXTRA)            TYPEFILE(OUTPUT)
       RECORDSIZE(132)        BLOCKSIZE(136)
       RECORDFORMAT(VARIABLE) BLOCKFORMAT(UNBLOCKED)
                              DDNAME(MSGUSR)
*
DEFINE TDQUEUE (CADL)         GROUP(DFHDCTG)
       DESCRIPTION(CEDA VTAM RESOURCE LOGGING)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CAIL)         GROUP(DFHDCTG)
       DESCRIPTION(AITM MESSAGES)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CRDI)         GROUP(DFHDCTG)
       DESCRIPTION(RDO INSTALL LOG)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CSLB)         GROUP(DFHDCTG)
       DESCRIPTION(CICS LD Domain LIBRARY Audit Trail)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CSDL)         GROUP(DFHDCTG)
       DESCRIPTION(CEDA COMMAND LOGGING)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CSFL)         GROUP(DFHDCTG)
       DESCRIPTION(FILE ALLOCATION MESSAGES)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CSKL)         GROUP(DFHDCTG)
       DESCRIPTION(TRANSACTION MANAGER MESSAGES)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CSPL)         GROUP(DFHDCTG)
       DESCRIPTION(PROGRAM MANAGER MESSAGES)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)
*
DEFINE TDQUEUE (CSRL)         GROUP(DFHDCTG)
       DESCRIPTION(PARTNER RESOURCE MANAGER)
       TYPE(INDIRECT)         INDIRECTNAME(CSSL)