Space announcement This space now contains the documentation for all the following components:
  • CHANGE ACCUMULATION PLUS
  • IMAGE COPY PLUS
  • RECOVERY MANAGER for IMS
  • RECOVERY PLUS for IMS
We are no longer updating the individual documentation spaces for these components.

Analyze logs with the Batch Interface utility


You can use the Batch Interface utility to initiate the Log Analysis and Recovery Windows function.

For general information about using the Batch Interface utility, see Initiate-functions-with-the-Batch-Interface-utility.

Specify JCL for the Log Analysis function

The following figure shows generic JCL for executing the Log Analysis function of the Batch Interface utility.

  //jobname  JOB (nnnn),'RMGR REQUEST',CLASS=x,
//         MSGCLASS=x,NOTIFY=userid,TIME=1440
//*
//
stepname EXEC PGM=IRMBATCH
//*
//* STANDARD DD STATEMENTS
//STEPLIB  DD   DSN=product.LOAD,DISP=SHR
//SYSUDUMP DD   SYSOUT=*
//SYSPRINT DD   SYSOUT=*
//IRMTRACE DD   SYSOUT=*
//*
//* OPTIONAL  DD STATEMENTS FOR LOGANALYSIS REQUESTS
//TASKMSGS DD   SYSOUT=*
//*
//* Control STATEMENTS FOR LOGANALYSIS REQUESTS
//SYSIN    DD   *
*
* REQUIRED KEYWORDS FOR LOGANALYSIS REQUESTS
IRM=rmgrname or sharegroup name
FUNCTION=LOGANALYSIS
TYPE=group type
GROUP=group name
FROM=userid
SEARCHBEGINTIME=yydddhhmmsst
SEARCHENDTIME=yydddhhmmsst
TEMPFILENAME=datasetname
*
* OPTIONAL KEYWORDS FOR LOGANALYSIS REQUESTS
DESC=request description
TRACE= NO | YES
WAIT=NO | YES
TEMPFILEREDEFINE=YES | NO
LOGREADERS=nn
PROFILE=
profile name
TEMPFILEVOLSER=volser
TEMPFILECYLS=nnn
SMSDATACLASS=classname
SMSSTORAGECLASS=classname
SMSMANAGEMENTCLASS=classname
//*

The program name is IRMBATCH. For more information about the DD statements, see Batch-Interface-utility-JCL.

Specify control statements for the Log Analysis function

For the Log Analysis function (FUNCTION=LOGANALYSIS), you use the same control statement keywords as are required and optional for all functions of the Batch Interface utility.

The additional keywords in the following table are required or optional for the Log Analysis function. For more information about specifying control statements, see Batch-Interface-utility-control-statements.

Important

For the GROUP keyword, you must specify a specific group name.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*