Space announcement

   

This space provides the same content as before, but the organization of the home page has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

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) 
/* 
//

This section contains the following topics:


Was this page helpful? Yes No Submitting... Thank you

Comments