JOB Statement Extensions | ||
---|---|---|
%CATMAINT({Y | N | D} [,partial-dsname]) | Specify whether a catalog maintenance step is automatically generated at job end. It can be used with or without RJSE, and is RJSE independent. | |
Y | Generate a maintenance step at job end. If specified without partial-dsname, the entire catalog is read. | |
N | Do not generate a maintenance step at job end (default) | |
D | Generate a maintenance step at job end, and delete the audit log SYSOUT dataset (becomes DD DUMMY). If specified without partial-dsname, the entire catalog is read. | |
partial-dsname | Specify a partial dataset name. Valid only in combination with Y or D. The catalog maintenance utility looks only at catalog records for datasets that begin with the specified partial-dsname value, thus limiting the search. Each selected record is presented to the user exit (mfcatmntue) as before. In addition to current functions, the exit might, at initialization time, change the partial dataset name and/or the expiry date. | |
%HLQ =value | RJSE only. Specifies a dataset name High Level Qualifier (HLQ) used for generated dataset names instead of the user ID. | |
value | A high level qualifier up to 8 characters in length. It is not validated for syntax, but should be valid as a z/OS dataset name HLQ. | |
%MFA ={RJSE | ALL} | Change the setting of the environment variable MF_MFA for the life of this job only. | |
RJSE | Search for datasets in the local catalog only. No mainframe is performed. | |
ALL | Search for datasets first in the local catalog, and if not found, on the mainframe. | |
%CATMAINT Example
%CATMAINT=(Y,MFIDSA.D) %CATMAINT=D %CATMAINT=(Y,MFI01.DSA) //MFIDSAR9 JOB (MFIDSART),CLASS=A, // MSGCLASS=X,MSGLEVEL=(1,1),USER=MFIDSA, // REGION=0M //*MFE:%CATMAINT=(Y,MFI01.DSA)
%HLQ Example
%HLQ=MFI01.DA %HLQ=MFIDSA %HLQ=PQ.R.S.T //MFIDSAR9 JOB (MFIDSART),CLASS=A, // MSGCLASS=X,MSGLEVEL=(1,1),USER=MFIDSA, // REGION=0M //*MFE:%HLQ=MFI01.DA
%MFA Example
%MFA=RJSE