ANALYZE control statement - example and keywords


The following example of an ANALYZE control statement contains all valid keywords.

The example shows default values for keywords that have defaults. Otherwise, the example shows variable text in angle brackets to represent the type of value you can enter for the keyword. The example shows some keywords as comments because you cannot use those keywords at the same time as other keywords..


Information
Example

  ANALYZE control statement example

*                                                                              
*  ANALYZE syntax:                                                             
ANalyze                                                                       
  IMSID=ALL | imsid | (imsid1,imsid2, ...)                                    
  MAXLogs=100 | 999 | nnn | (nnn, abendcode) | (nnn, Rreturncode)             
  RECON=recond.data.set | (recon.data.set1, recon.data.set2, recon.data.set3)   
  ActiveOLDS=NO | YES                                                         
  ELAPSEDTIME=NO | YES                                                        
*  SLDS=(slds.data.set,Rnn)                                                    
*  SLDS=(dsn,Rnn,unit,volser)   ** Use for UNCATALOGED SLDS
* SPLITSLDS=FIRST|LAST|BOTH
  INPExt=extract.data.set                                                     
  IPRJRNL=energizer.for.IMS.Connect.journal.data.set                          
  IPRPrefix=prefix_used_for_the_Energizer_for_IMS Connect_journal_datasets    
  DB2LOG=DB2.log.data                                                         
  DB2BSDS=DB2.bootstrap.dataset                                               
  MQExt=websphere.for.mq.extract.data.set                                     
  MADUNLD=maq.extract.data.set                                                
*  SKIP=0 | nnnnnnnnn                                                          
*  LIMit=999999999 | nnnnnnnnn                                                 
  LogRecordCodePDS=logcode.data.set                                           
  TIMEZone=LOCAL | ORIGINAL | GMT | (+hhmm) | (-hhmm)                         
  JOBNAME=jobname | (jobname1, jobname2,...)                  
  PRILOG=SLDS | DLI | BOTH   
* SKIPDB2=0 | nnnnnnnnn
* LIMITDB2=999999999 | nnnnnnnnn
*  DLILOG=(data.set,Rnn)                                      
*  DLILOG=(dsn,Rnn,unit,volser)   ** Use for UNCATALOGED                                             

For more examples, see Allocating-log-record-sources.

Keywords for the ANALYZE control statement

The following table summarizes information about the keywords that you can specify on an ANALYZE control statement.

Keyword (abbreviation)

Valid values

Default

Description

Topic

ACTIVEOLDS

(AOLDS)

NO

YES

NO

Specify whether Log Analyzer can select an active OLDS during RECON processing.

DB2BSDS

db2BsdsDsn

None

Identify a DB2 bootstrap data set to use as input.

You can specify multiple instances of this keyword.

DB2LOG

db2LogDsn

None

Identify a DB2 log data set to use as input.

You can specify multiple instances of this keyword.

DLILOG

dataSetName,Rnn 
dataSetName,Rvr,unit,volser

None

Identify explicitly an input DLI log data set to use as input to the analysis process

ELAPSEDTIME

YES

NO

YES

Specify whether Log Analyzer should report elapsed times for LUOWs.

JOBNAME

ALL

(jobname1, jobname2, ...)

ALL

To process log records for the specified job names that are associated with the input RECON data set (or data sets).

IMSID

ALL

imsid

(ims1, ims2, ...)

ALL

Identify the IMS system (or systems) that created log records to be processed.

Specify ALL to process records from all IMS systems.

INPEXT

(INPE)

(extractDsn)

None

Identify a previously created Log Analyzer extract data set to use as input.

You can specify multiple instances of this keyword.

IPRJRNL

(journalDsn)

None

Identify an Energizer for IMS Connect journal to use as input.

You can specify multiple instances of this keyword.

IPRPREFIX

(journalPrefix)

None

Include Energizer for IMS Connect journals automatically by identifying the journal prefix.

You can specify multiple instances of this keyword.

LIMIT

(LIM)

nnnnnnnnnn

9999999999

(No limit)

Specify a maximum number of log records to process (after skipping log records, if SKIP is specified).

LIMITDB2

nnnnnnnnnn

9999999999

(No limit)

Specify a maximum number of Db2 log records to
process (after skipping Db2 log records, if SKIPDB2 is specified).

LOGRECORDCODEPDS

(LRCPDS)

dataSetName

None

Specify the name of a data set that contains predefined lists of log record codes to be filtered.

MADUNLD

(dataSetName)

None

Identify a Message Advisor for IMS unload file or a Message Advisor for IMS extract file, that you use as input to the analysis process

MAXLOGS

(MAXL)

nnn

(nnn, abendCode)

(nnn,RreturnCode)

999

100

if Log Analyzer determines that the number of input log data sets is greater than the specified number, it issues the specified user abend code or return code.

Specify 999 to set no limit on the number of input log data sets.


MQEXT

mqExtractDataSet

None

Identify a WebSphere for MQ extract data set to use as input.

You can specify multiple instances of this keyword.

PRILOG

SLDS

DLI

BOTH

SLDS

Specify the logs type associated with the input RECON data set (or data sets) to use as input to the analysis process.

RECON

(reconDsn1,reconDsn2, reconDsn3)

None

Explicitly identify a set of RECON data sets to examine for log record sources.

You can specify multiple instances of this keyword.

SKIP

nnnnnnnnnn

0

Specify a number of log records to skip before beginning to process log records.

SKIPDB2

nnnnnnnnnn

0

Specify a number of Db2 log records to skip before
beginning to process Db2 log records.

SLDS

(sldsName, Rnnn,unit,volser)

None

Explicitly identify a log data set to read and the version of IMS (Rnnn) that created the log data set. If the data set is not cataloged, specify the unit and the name of the volume that contains the data set.

You can specify multiple instances of this keyword.

SPLITSLDS

FIRST

LAST

BOTH

FIRST

Specify the optional SPLITSLDS keyword to control the Log Analyzer processes when a log sequence error occurs while reading SLDS.

TIMEZONE

(TIMEZ)

LOCAL

GMT

ORIGINAL

(+hhmm)

(-hhmm)

LOCAL

Specify the time zone for time values that you specify in control statements and for Log Analyzer to use in reports and on panels.


 

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

BMC AMI Log Analyzer for IMS 1.7