Example 12: Using the MAINT parameter
The following example illustrates the use of the MAINT parameter on the EXEC statement to print a record of applied maintenance to AFRSUMRY and AFRSTMT. Common tables used by BMC utilities are also printed to AFRSTMT.
JCL using the MAINT parameter
//AFREX14 JOB (PAFR),'EXAMPLE 12',
// CLASS=Q,NOTIFY=&SYSUID,
// MSGCLASS=X
//*
//AFRMAINT EXEC PGM=AFRMAIN,PARM='DGE,EXAMPLE12,MAINT,MSGLEVEL(1)',
// REGION=5M
//STEPLIB DD DISP=SHR,DSN=product.libraries
// DD DISP=SHR,DSN=DB2.DSNEXIT
// DD DISP=SHR,DSN=DB2.DSNLOAD
//SYSIN DD DUMMY
//*
//
// CLASS=Q,NOTIFY=&SYSUID,
// MSGCLASS=X
//*
//AFRMAINT EXEC PGM=AFRMAIN,PARM='DGE,EXAMPLE12,MAINT,MSGLEVEL(1)',
// REGION=5M
//STEPLIB DD DISP=SHR,DSN=product.libraries
// DD DISP=SHR,DSN=DB2.DSNEXIT
// DD DISP=SHR,DSN=DB2.DSNLOAD
//SYSIN DD DUMMY
//*
//
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*