Table of Profile Defaults
CAF table of run-time parameter defaults.
During
RLX
/CAF installation, default run-time parameters are specified as operands of the CAF@DFLT macro. The following code sample illustrates how to code the CAF@DFLT macro parameters:
TITLE 'CAF$TPD - CAF TABLE OF PROFILE DEFAULTS' *----------------------------------------------------------------------- * * FUNCTION * ======== * CAF TABLE OF RUN-TIME PARAMETER DEFAULTS * * *----------------------------------------------------------------------- CAF$TPDR CAF@DFLT LOAD=CAFLOAD, /GLOBAL LOAD LIBRARY DDNAME + RETRY=2, /TRY TO CONNECT TO Db2 2 TIMES + DSN=DSN, /DEFAULT Db2 NAME + PLAN=CAFSAMP, /DEFAULT Db2 PLAN NAME + MSGDD=CAFPRINT, /DEFAULT Db2 PLAN NAME + ESTAE=YES, /ISSUE ESTAE + ERROR=ABEND, /ON ERROR ISSUE USER ABEND + UPPER=NO, /DO NOT TRANSLATE MESSAGES TO UPPER + TERMCNTL=YES, /INTERCEPT TERMINATION TO CLOSE PLANS + DIAGCNTL=NO, /DO NOT TRIGGER ERROR CONTROL + DIAGLIM=5, /ABEND AFTER 5 SAME ERRORS + DOC=NO /PRINT NO MACRO DOCUMENTATION PUNCH ' IDENTIFY CAF$TPDR(''CAF150 - RLX/CAF PROFILE DEFAULTS'')' END
This example represents source module input to the Assembler. The successful assembly and link-edit of the default macro produces the load module CAF$TPDR. SamplJCL to build the run-time parameter defaults module is supplied in the CAF$TPD member of the CRAIJCL dataset.
RLX
/CAF attempts to load the module named CAF$TPDR at initialization time. Alternatively, you can reference a profile defaults module of your choosing through an explicitly issued RLX
/CAF START command.