Specifying EXTRACT, INDEXFILE, and WORKFILE control statements


EXTRACT, INDEXFILE, and WORKFILE control statements control allocation of optional external data sets that are used for the following purposes:


  • The optional EXTRACT statement (or the EXTR abbreviation) allocates a Log Analyzer extract file. Log Analyzer writes all selected log records to this file. You can use this file as input to another execution of the Log Analyzer analysis job and for certain functions (such as viewing dumps of log records) during interactive analysis of LUOWs through the ISPF interface. If you omit the EXTRACT statement, Log Analyzer does not allocate an extract file and functions that require an extract file are unavailable. If you specify the EXTRACT statement but omit the INDEXFILE statement, you must specify the LUOWDETAIL keyword on the REPORTS control statement. Otherwise, Log Analyzer cannot populate the extract file.

    For more information, see Working-with-extract-files.

  • The optional INDEXFILE statement (or the INDEXF abbreviation) allocates a Log Analyzer index file. The Log Analyzer ISPF interface uses this file during interactive analysis of LUOWs through the ISPF interface. If you include the INDEXFILE statement, you must also include the EXTRACT statement. If you omit the INDEXFILE statement, Log Analyzer does not allocate an index file and interactive analysis is unavailable.

    For more information, see Working-with-index-files.

  • The WORKFILE statement (or the WORKF abbreviation) allocates a sort work file. Log Analyzer uses this file during the analysis job for sorting log records that are read from an input extract file. The WORKFILE statement is required if you specify the INPEXT keyword on the ANALYZE control statement.

    For more information, see Using-extract-files-as-input.

EXTRACT, INDEXFILE, and WORKFILE control statements must follow the ANALYZE statement and precede the END control statement. However, you can specify them in any position relative to other control statements. Within a single command set, you can specify only one instance of each type of keyword.

This section contains the following topics:

 

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