ACFBDCMP - Batch Rule Decomplier

Describes the ACFBDCMP batch rule decompiler utility.
acf2src
The ACFBDCMP utility provides for decompilation of CA ACF2 access and resource rule sets in a batch environment. Any output message from the CA ACF2 decompiler is issued to the JOBLOG. Messages appear at the user's terminal if ACFBDCMP is executed under TSO and WTP was specified for that user.
ACFBDCMP uses the JCL PARM field to specify the name of the rule set to decompile. For access rule sets, simply specify the name. For resource rule sets, specify the resource type and name separated by a slash (type/name). Because a slash is a special character, enclose the PARM field in quotes. An example illustrating a decompile of these two types of rule sets is shown in the following.
Files
  • RULES
    ACFBDCMP uses the RULES file to output the results of the decompilation. The RULES output file must have DCB attributes of LRECL=80, RECFM=FB (where the output is in card-image format) or LRECL=255, RECFM=VB (where the output is in TSO CLIST format). The output data sets are sequence numbered and continuation statements are created as needed for the card-image data set format. If no DCB attributes are specified, the default is variable format output and a BLKSIZE=3665 is used.
Examples
The ACFBDCMP utility decompiles only one rule set per execution. To decompile multiple rule sets use the DECOMP subcommand of the ACF command. The DECOMP
subcommand creates a partitioned data set (PDS) containing one member for each rule set decompiled.
  • For an access rule set, specify:
//DECOMP EXEC PGM=ACFBDCMP,REGION=128K,PARM=SYS1 //RULES DD DSN=SYS1.RULES(SYS1),DISP=OLD
  • For a resource rule set, specify:
//DECOMP EXEC PGM=ACFBDCMP,REGION=128K,PARM='TPR/IKJACCNT' //RULES DD DSN=SYS1.PROCS(IKJACCNT),DISP=SHR
  • Batch example (using the TMP in background): 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 - Batch Command Processor.
    To decompile all CA ACF2 access rule sets:
    //DECALL EXEC PGM=IKJEFT01,REGION=256K,DYNAMNBR=5 //SYSTSPRT DD SYSOUT=A //SYSTSIN DD * ACF DECOMP LIKE(-) INTO('SYS1.RULES')
    For resource rule sets, the “DD *” input would be:
    ACF SET RESOURCE(TPR) DECOMP LIKE(-) INTO('SYS1.PROCS') /*