Batch access control
Batch access control requires that you indicate that SAC binding applies to the job. To do this, you must use the JAL statement:
This causes BMC ThruPut Manager to use the batch section of the SAC table. See the full syntax description in the JAL-Reference-guide.
The syntax for the statement that indicates the start of the batch section is:
This statement must be followed by one or more invocation descriptions that specify which product is to be controlled, and what actions to take when the product is invoked.
The descriptions follow this format:
[ACCT(acctfld) | ACCTFLD(nn,acctfld)]
[DDNAME(ddname)]
[DISPLAY_ONLY]
[DSNAME(dsname)]
[EXEC_ACCT(acctfld) | EXEC_ACCTFLD(nn,acctfld)]
[JAL_GLOBAL(global)]
[JOBLOG_MSG(msgid1,[msgid2,...])]
[JOBNAME(jobname)]
[LIBRARY(libname) | LINKLIST)]
[NOT_ALLOWED(msgid1[,msgid2,...])]
[NOTES('Up to 50 characters of text')]
[PARM(parms) | PARMFLD(nn,parms)]
[PROCSTEP(procstepname)]
[SCHENV(envname | $NO_SCHENV)]
[STEPNAME(stepname)]
[SYSAFF_ANY]
[SYSLOG_MSG(msgid1[,msgid2,...])]
[SYSMSGS_MSG(msgid1[,msgid2,...])]
All matches specified represent "and" conditions. For example, if DDNAME and DSNAME are specified, both must be matched to satisfy the identification of a particular program.
Is the 1-8 character name of the program that is being executed, for example: LC370B. Masking characters are allowed. If more than one mask creates a match, the most specific mask is used.
Is the name of the product, as previously defined in the TYPE(PRODUCT) section.
Is the accounting information from the JOB statement. ACCT has the same meaning as ACCTFLD(1,acctfld).
Is a string to be matched against a accounting related field from the JOB statement. Masking characters are allowed.
Is the field reference number of the accounting related field and must be specified as decimal digits 1-68.
Is the 1-8 name of a DD statement in the step that is attempting to run the product. Masking characters are allowed.
Use this keyword to indicate that access control is not exercised with SAC, but you want the information about this product to be available to the administrator for display using ISPF dialogs (available in a future release. This might apply, for example, when detection of a product in batch requires logic that is more complex than is available in SAC. You can make the determination in DAL/JAL instead.
Is the accounting information coded on the EXEC statement for the product. EXEC_ ACCT has the same meaning as EXEC_ACCTFLD(1,acctfld).
Is a string to be matched against a accounting related field from the JOB statement. Masking characters are allowed.
Is the field reference number of the accounting related field and must be specified as decimal digits 1-68.
Is the 1-44 data set name of a data set referred to in the step that is attempting to run the product. Masking characters are allowed.
Specifies the name of a GLOBAL variable that can be set in TM DAL and tested by SAC. This provides SAC with the same ability to test a GLOBAL variable that exists in JAL. The variable must be set to TRUE to satisfy the identification of the program.
This keyword can be used to direct messages to the JOBLOG during job analysis. Note that the listed messages are issued for every matching reference to the product.
Is the 1-8 character job name from the JOB statement. Masking characters are allowed.
Is a 1-44 data set name to be matched with either a JOBLIB or STEPLIB data set name, if present in the step that is attempting to run the product. If there is both a JOBLIB and a STEPLIB, the STEPLIB takes precedence. Masking characters are allowed. This keyword is mutually exclusive with LINKLIST.
Tests whether a JOBLIB or STEPLIB is present in the step that is attempting to run the product. This keyword is mutually exclusive with LIBRARY.
This keyword indicates that any batch job referring to this product is not allowed to execute.
Use this keyword for annotations, which can be displayed in ISPF dialogs (available in a future release).
Is the parameter field from the EXEC statement. PARM has the same meaning as PARMFLD(1,parms).
Is a string to be matched against a parameter field from the EXEC statement. Masking characters are allowed.
Is the field reference number of the parameter field and must be specified as decimal digits 1-50.
Is the 1-8 character step procedure name on the EXEC statement. Masking characters are allowed.
This keyword allows the setting of a scheduling environment when an entry is located, or ignore a SCHENV keyword coded on the JOB statement.
A valid scheduling environment name, which can be 1-16 alphanumeric, national ($, #,
@) characters, or the underscore (_). Underscores must be imbedded.
A reserved word that indicates that a SCHENV keyword coded on the JOB statement is to be ignored.
Is the 1-8 character stepname of the statement that is attempting to run the product. Masking characters are allowed.
Specifies that SAC should duplicate the effect of a JBS SET SYSAFF(ANY) statement in JAL.
This keyword can be used to direct messages to the SYSLOG during job analysis. Note that the listed messages are issued for every matching reference to the product.
This keyword can be used to direct messages to SYSMSGS during job analysis. Note that the listed messages are issued for every matching reference to the product.