Using MSGLEVEL to control BMC AMI Recover output
You can control the amount of output that BMC AMI Recover produces based on the value that you specify for the MSGLEVEL utility parameter.
Valid values of MSGLEVEL are 0, 1, and 2, with a default value of 1 (see Message level parameter (msgLevel)). The example in the following figure was run by using each value of MSGLEVEL. Different output files are received, and different information is in the output files, for each run. The files that are produced are based on the different values of MSGLEVEL as summarized in the table on page, BMC-AMI-Recover-data-sets-and-BMC-AMI-Recover-DD-statements.
BMC AMI Recover JCL for recovery of table space and index
//AFREXMLx JOB (PAFR),'EXAMPLE MSGLVLx',
// CLASS=Q,NOTIFY=&SYSUID,
// MSGCLASS=X
//*
//* -------------------------------------------------------------------
//* THIS JOB RECOVERS A TABLE SPACE AND REBUILDS THE INDEX TO CURRENT.
//* EXAMPLE OF MSGLEVEL(x) OUTPUT.
//* -------------------------------------------------------------------
//*
//RECOVER EXEC PGM=AFRMAIN,REGION=0M,
// PARM='DGE,AFRMSGLx,NEW/RESTART,MSGLEVEL(x)' <== x set to 0, 1, or 2
//STEPLIB DD DISP=SHR,DSN=product.libraries
// DD DISP=SHR,DSN=DB2.DSNEXIT
// DD DISP=SHR,DSN=DB2.DSNLOAD
//SYSIN DD *
OPTION EARLYRECALL INDEXLOG NO
RECOVER TABLESPACE BMCDBSMP.BMCTS014
REBUILD INDEX (RMD.BMCIX014)
/*
//
// CLASS=Q,NOTIFY=&SYSUID,
// MSGCLASS=X
//*
//* -------------------------------------------------------------------
//* THIS JOB RECOVERS A TABLE SPACE AND REBUILDS THE INDEX TO CURRENT.
//* EXAMPLE OF MSGLEVEL(x) OUTPUT.
//* -------------------------------------------------------------------
//*
//RECOVER EXEC PGM=AFRMAIN,REGION=0M,
// PARM='DGE,AFRMSGLx,NEW/RESTART,MSGLEVEL(x)' <== x set to 0, 1, or 2
//STEPLIB DD DISP=SHR,DSN=product.libraries
// DD DISP=SHR,DSN=DB2.DSNEXIT
// DD DISP=SHR,DSN=DB2.DSNLOAD
//SYSIN DD *
OPTION EARLYRECALL INDEXLOG NO
RECOVER TABLESPACE BMCDBSMP.BMCTS014
REBUILD INDEX (RMD.BMCIX014)
/*
//
This section contains the following topics:
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*