ACFBCOMP - Batch Rule Compiler

The ACFBCOMP utility can compile CA ACF2 rule sets in the batch environment.
acf2src
Describes how the ACFBCOMP utility compiles CA ACF2 rule sets in the batch environment.
Files
  • RULES
    A single access or resource rule set to compile. This data set is in either of two formats: card image or variable. Card-image data sets must have DCB attributes of RECFM=FB and LRECL=80; columns 73 through 80 might contain sequence numbers. Variable format data sets must have DCB attributes of RECFM=VB and LRECL=255; for variable format data sets, columns one through eight are ignored by the compiler and might contain sequence numbers. These DCB attributes and sequencing conventions are standard for TSO DATA and CLIST data set types.
  • SYSPRINT
    This file is used for the output listing of the rule set compiled and for any messages produced.
The ACFBCOMP facility accepts the standard ACF COMPILE subcommand parameters (for example, MAXRULE, LIST, NOLIST, STORE, and NOSTORE) in the JCL PARM field and passes them to the compiler.
Examples
The following example shows how the ACFBCOMP utility is executed in batch.
//COMPILE EXEC PGM=ACFBCOMP,REGION=128K //SYSPRINT DD SYSOUT=A //RULES DD * $KEY( . . . ) [TYPE(type)] . . /*
If the TYPE parameter is present, the ACFBCOMP utility assumes that the rule set is for a resource. Otherwise, the utility assumes the rule set is an access rule set.
Only one rule set might be compiled with each execution of the ACFBCOMP utility. To compile multiple rule sets from a partitioned data set (PDS), you must use the ACFCOMP command or the COMPILE subcommand of the ACF command, as shown in the following examples. The SYSTSIN input file and the SYSTSPRT output file replace the SYSIN and SYSPRINT files, respectively, in the following examples. For a description of these files, see ACFBATCH - Files in Batch Command Processor. The following example illustrates using the ACFCOMP command with TMP in background:
//COMPALL EXEC PGM=IKJEFT01,REGION=256K,DYNAMNBR=5 //SYSTSPRT DD SYSOUT=A //SYSTSIN DD * ACFCOMP 'rules.pds' ALL The following example illustrates using the COMPILE subcommand of the ACF command with TMP in background: //COMPILE EXEC PGM=IKJEFT01,REGION=256K,DYNAMNBR=5 //SYSTSPRT DD SYSOUT=A //SYSTSIN DD * ACF COMPILE * $KEY(ABC123) TEST.DATA UID(ABC*****) R(A) W(A) SPECIAL.DATA UID(ABC*****) R(A) SPECIAL.DATA UID(ABC12*) R(A) W(A) (NULL LINE must be placed before the STORE command) STORE END /*