ACFBATCH - Batch Command Processor

Describes the ACFBATCH utility.
acf2src
The ACFBATCH utility enables you to execute the standard CA ACF2 commands in batch. These subcommands include those used to maintain the CA ACF2 Logonid database (INSERT, CHANGE, DELETE, LIST), those used to maintain the CA ACF2 Rule database (COMPILE, DECOMPILE, STORE, DELETE, TEST), and various other subcommands (SET, SHOW, HELP, and so on).
For complete information about the CA ACF2 command and available subcommands, see the Command Reference information.
The equivalent facility is also available by executing the TMP (Terminal Monitoring Program) in background.
If you INSERT or CHANGE a logonid record with ACFBATCH, you must run the ACFBSYNC utility to synchronize the SYS1.BRODCAST data set with the CA ACF2 Logonid database.
Files
  • SYSHELP
    This input file is necessary whenever the HELP subcommand is used (this file provides the HELP data).
  • SYSPRINT
    This output file is used for the output listings produced by the various commands. Used only when PGM=ACFBATCH is specified in the JCL.
  • SYSTSPRT
    This file is used for the output listings produced by the various subcommands. Used only when PGM=IKJEFT01 (TMP in background) is specified in the JCL.
  • SYSIN
    This input file is used when specifying multiple input lines (subcommands or data) to the ACFBATCH utility. Used only when PGM=ACFBATCH is specified in the JCL.
  • SYSTSIN
    This input file is used when specifying multiple input lines (subcommands or data) when the TMP in background is used to execute the ACF command. Used  only when PGM=IKJEFT01 (TMP in background) is specified in the JCL.
  • anyddns
    These files can have any ddname and are used to name data sets where rules are compiled or decompiled. These files do not refer to the CA ACF2 databases themselves.
Parameters
The only parameter that is specified for ACFBATCH through the EXEC statement PARM field is the ACF command that is executed. The most common use of ACFBATCH is to execute the ACF command (and its subcommands). The default value is PARM=ACF.
  • No PARM= field or PARM=ACF
    This is the default that invokes the ACF command. The input entries in the SYSIN DD * stream are various ACF subcommands and data.
  • PARM=ACFCOMP[*|pdsname(member)]
    Invokes the ACFCOMP command ALL. If you specify PARM=ACFCOMP *, the entries in the SYSIN DD * stream are input to the compiler. The first line begins $KEY(key) as shown in the following examples. After compilation, the rule set is automatically stored. This parameter can compile an access or a resource rule set.
Examples
Using ACFBATCH to perform ACF subcommands:
//ACFJOB1 EXEC PGM=ACFBATCH //SYSPRINT DD SYSOUT=A //SYSHELP DD DSN=SYS1.HELP,DISP=SHR //SYSIN DD * CHANGE UID(ABC*****) JOB NOTAPE-BLP SET TERSE LIST IF(JOB) SET VERBOSE LIST IF(SECURITY) SHOW STATE HELP FIELDS /*
Using ACFBATCH to execute ACFCOMP command to compile a rule. Data is provided as input in the job stream.
//BACFCOMP EXEC PGM=ACFBATCH,PARM='ACFCOMP *' //SYSPRINT DD SYSOUT=A //SYSIN DD * $KEY(ABC123) TEST.DATA UID(ABC*****) R(A) W(A) SPECIAL.DATA UID(ABC*****) R(A) SPECIAL.DATA UID(ABC12*) R(A) W(A) /*