The ACF Command in Batch

A z/OS site can execute the ACF command in batch by using the ACFBATCH utility. In addition to executing the ACF command, the user can execute ACF subcommands, such as INSERT, CHANGE, LIST, and DELETE.
acf2src
You can execute the ACF command in batch by using the ACFBATCH utility. This utility lets you execute standard ACF commands. You can also execute ACF subcommands such as INSERT, CHANGE, LIST, and DELETE. If you INSERT or CHANGE a logonid record using the ACFBATCH utility, you must run the ACFBSYNC utility to synchronize the SYS1.BRODCAST data set with the
CA ACF2
logonid database. The SYS1.BRODCAST data set contains messages for terminal users.
Example: Create a logonid using ACFBATCH
As an authorized user, you can establish a new logonid record using the ACFBATCH utility.
//ACFJOB EXEC PGM=ACFBATCH //SYSPRINT DD SYSOUT=A //SYSLBC DD DSN=SYS1.BRODCAST,DISP=SHR //SYSHELP DD DSN=SYS1.HELP,DISP=SHR //SYSIN DD * SET LID
INSERT
USING
(PAYSEC) PAYJSD NAME(JANE S. DOE) LEADER PHONE(EXT. 458) TSO
/*
In this example, the USING parameter prompts
CA ACF2
to create a logonid record (PAYJSD) copying the values of an existing record (PAYSEC). You can override values by defining new values. For example, a different name and phone number apply to this logonid record. Also, the LEADER and TSO privileges were added.
  • SYSHELP
    Provides the data for the HELP subcommand.
  • SYSPRINT
    Specifies the output file that is used for the output listings that are produced by the various ACF commands. Used only when PGM=ACFBATCH is specified in the JCL.
  • SYSTSPRT
    Specifies the output file that is used for the output listings that are produced by the various ACF subcommands. Used only when PGM=IKJEFT01 (TMP in background) is specified in the JCL.
  • SYSIN
    Specifies the input file that 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
    Input file 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
    Specifies any ddname files that are used to name data sets where rules are compiled or decompiled. These files do not refer to the
    CA ACF2
    databases.