COMPILE

This control statement initiates the compiling and optional storing on the SCDS of a configuration's definition at installation and whenever a configuration changes. COMPILE is followed immediately by the BEGIN control statements; the entire configuration definition must conclude with an END control statement.
smfd
This control statement initiates the compiling and optional storing on the SCDS of a configuration's definition at installation and whenever a configuration changes. COMPILE is followed immediately by the BEGIN control statements; the entire configuration definition must conclude with an END control statement.
Statement Format:
COMPILE
►►─ COMPILE ─ CONFIGURATION ─┬──────────────────┬─┬─────────┬─ . ─────────────►◄                              └─ SOURCE(ddname) ─┘ └─ STORE ─┘
Operands and Descriptions:
CONFIGURATION
Instructs the system to compile the definition of a configuration.
SOURCE(ddname)
Indicates that the statements defining this configuration are not in the input stream but, rather, in a file that is specified by "(ddname)".
"(ddname)" consists of a 1-character to 8-character ddname for which there is a DD statement in the execution JCL for the SMFD program.
STORE
Instructs the system to place the compiled configuration definition in the SCDS file. The definition can be brand-new or a replacement. A replacement must redefine all DUMPOPTIONS or STREAMOPTIONS characteristics.
If you do not specify STORE, the definition is temporary. It is no longer active after this execution of SMFD.
If the SCDS is to be shared by two or more LPARs, review the system requirements for sharing a SCDS in Installing.
Sample COMPILE Statement:
COMPILE CONFIGURATION STORE.     BEGIN CONFIG(22) SID(XE22) NAME('C.A. DEMO SYSTEM-2') .      DUMPOPTIONS COPIES(2) CATLG SCRATCH NOVERIFY        RETPD(5) PREFIX(SYS3.SMFDATA)       ARETPD(10) .     END CONFIG(22) .
COMPILE statement output:
 CA                                              AUDIT TRAIL REPORT                          SMFD       PAGE     1  CA SMF Director     12.7                                                           SYSA      23 JUL yyyy  15:39:41      COMPILE CONFIGURATION STORE.        BEGIN CONFIG(22) SID(XE22) NAME('C.A. DEMO SYSTEM-2') .         DUMPOPTIONS COPIES(2) CATLG SCRATCH NOVERIFY           RETPD(5) PREFIX(SYS3.SMFDATA)          ARETPD(10) .        END CONFIG(22) .    CAF1301I  CONFIGURATION DEFINITION XE22 REPLACED    CAF2900I  RUN COMPLETE