Adabas Audit Data Retrieval creates indexes automatically on the basis of the structure information (GFFTs) contained in the audit dataset if Indexing without Definition is set to Yes in the corresponding list definition.
You can use index definitions to create additional indexes or to modify the indexes that are created automatically. Created indexes will be merged if they have the same name.
To navigate to the index definitions of a list:
PE97ID05 --------------------------------------------- Row 1 of 5 Command ===> ________________________________________________ Scroll ===> PAGE Display Index Definitions Page 1 of 4 ( LEFT/RIGHT ) Form: REJ Extension: TRADE Report: S - Select I - Insert C - Copy D - Delete Sel Index Name Ins Scan Argument A L ValidFrDat ValidToDat ACCOUNT 000 ACCOUNT + 1 01/28/2008 12/31/9999 ARTICLE 000 P'999S999S9' + 1 01/28/2008 12/31/9999 ARTICLE# 000 P'999S999S9' + 1 01/28/2008 12/31/9999 CUSTOMER 000 P'9999S9999S999SU' + 0 01/28/2008 12/31/9999 ORDER 000 P'999999' + 0 01/28/2008 12/31/9999 ******************************* BOTTOM OF DATA ******************************** |
Note
A plus sign ( + ) in the A column indicates that an index definition is active and a minus sign ( - ) indicates that it is inactive. Whether a definition is active or inactive is determined by the specified from/to date in the definition.
The value in the L column indicates the level of the index (0 = global, 1 = primary, 2 = secondary).
PE97ID10 --------------------------------------------------------- Page 1 of 4 Command ===> _________________________________________________________________ Form : REJ Extension : TRADE Report : Owner: CUST001 Index Name ===> CUSTOMER........ Format ===> STRING...... (D)ecimal,TOD- Instance No. ===> 000 (0-999) (B)in,TOD-he(X), Index Level ===> 1 (0-2) (S)tring Scan Argument ===> P'9999S9999S999SU'........................................ Extract String Relative to Scan Argument: Column ===> +0.... Length ===> 15 (1-42/34) Scan List/Report for Scan Argument: From Row ===> 0____ From Page ===> +1_________ Value,(L)ast To Row ===> 0____ To Page ===> LAST_______ Value,(L)ast From Column ===> 59___ From Date ===> 02/18/2008 (MM/DD/YYYY) To Column ===> 59___ To Date ===> 12/31/9999 (MM/DD/YYYY) Press ENTER to insert the definition. Press DOWN to display the next page. Press END to return to the previous panel. |
Field |
Description |
---|---|
Index Name |
Max. 16 characters, identifier of index Note: If you need several index definitions for one index (for example, because the values to be indexed are located next to different identifiers), use the same index name with different instance numbers. The combination of index name and instance number must be unique. |
Instance No. |
Allowed values: 0..999 Use the instance number to:
|
Index Level |
Determines the index type Allowed values: For more information, see "Index types". |
Format |
Permissible values are:
|
Scan Argument |
The scan argument may be one of the following:
|
Extract String Relative to Scan Argument: Column Length |
If scan argument is a GFFT identifier: Only the Length field is honored. Adabas Audit Data Retrieval uses the actual length of the field if the specified value is greater than the field length. If scan argument is a string or pattern: Each time the scan argument is found on the page, a value is extracted at the specified location relative to the scan argument. The maximum length of indexed values is 42 bytes. If the scan argument is the value that is to be extracted for the index, enter:
If the scan argument is merely used to locate the value that is to be extracted for the index, enter:
|
Scan List/Report for Scan Argument: From Column To Column From Row To Row |
If scan argument is a string or pattern: You can use these fields to define a window on the page where the scan argument should be searched. Enter 0 (zero) in all four fields to search the entire page. Important: When you define a window on the page, the first character of the scan argument must be within the window defined by the values in the From/To Column and the From/To Row fields, not the entire scan argument. If you know the exact location of the searched string, specify the same value in the From Column and the To Column field. |
Scan List/Report for Scan Argument: From Page To Page |
If scan argument is a string or pattern: Enter a numeric value or Last to search the scan argument on certain pages only. Enter 1 in the From Page field and Last in the To Page field to search the entire list. |
Scan List/Report for Scan Argument: From Date To Date |
Enter a date if the definition is valid only during the specified period. Note: We strongly recommend using four-digit year date masks. If you use a two-digit year date mask, 00 through 33 will be read as 2000 through 2033 and 34 through 99 will be read as 1934 through 1999. |
PE97ID11 -------------------------------------------------------- Page 2 of 4 Command ===> _________________________________________________________________ Form : REJ Extension : TRADE Report : Owner: CUST001 Index : CUSTOMER Format : STRING Instance: 000 Scanning of Overlaid Lines: Line Number ===> ANY__ Line Number,(L)ast,(M)erge,(A)ny Processing Attributes: Occurrence ===> ANY__ (F)irst,(L)ast,(A)ny Warning Level ===> WARNING (W)arning,(E)rror,(I)gnore Execution Attributes: Input Required ===> NO_ (Y)es,(N)o Enable Range Selection ===> NO_ (Y)es,(N)o Press ENTER to insert the definition. Press DOWN to display the next page, or UP to display the previous page. Press END to return to the previous panel. |
Field |
Description |
---|---|
Line Number |
If the list includes overlaid lines, define:
|
Occurrence |
Legal values are:
|
Warning Level |
Determines the behavior of the Reader if an index cannot be created or can only be created in an incomplete manner: Ignore Processing continues. Warning The message IRM1725W is output. Processing continues. Error The message IRM1725E is output and the list is not read-in. |
Input Required |
If Yes, then the respective input field is a required field, i.e. a value must be entered in this field (the entered value must not begin with a mask). The entry is valid if the query mask is created dynamically. Use the respective field in the layout definition for a user-defined query mask (layout). |
Enable Range Selection |
If Yes, two input fields are displayed for this index, in order to enable a search according to range. The entry is valid if the query mask is created dynamically. Use the respective field in the layout definition for a user-defined query mask (layout). |
PE97ID12 -------------------------------------------------------- Page 3 of 4 Command ===> _________________________________________________________________ Form : REJ Extension : TRADE Report : Owner: CUST001 Index : CUSTOMER Format : STRING Instance: 000 Index Format DECIMAL: Decimal Positions ===> 0 (0 - 5) Decimal Character ===> _ Input string ... Substituted by ... ===> ________________________________ ===> ________________________________ ===> ________________________________ ===> ________________________________ ===> ________________________________ ===> ________________________________ ===> ________________________________ ===> ________________________________ Press ENTER to insert the definition. Press DOWN to display the next page, or UP to display the previous page. Press END to return to the previous panel. |
Field |
Description |
---|---|
Decimal Positions |
If Format = Decimal: Decimal character and the number of places after the decimal character |
Input string ... |
Before being processed further, each value extracted for this index passes through each substitution rule specified here (string is replaced by another string or a zero string; masks are not supported). Example: For generating a decimal index, D for Debit should be replaced by a Minus ( ‑ ) and C for Credit respectively by a Plus ( + ). |
PE97ID13 -------------------------------------------------------- Page 4 of 4 Command ===> _________________________________________________________________ Form : REJ Extension : TRADE Report : Owner: CUST001 Index : CUSTOMER Format : STRING Instance: 000 Execution Order ===> BEFORE_ (A)fter, (B)efore Enter Filter Search Argument Formula ______________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ Press ENTER to insert the definition. Press UP to display the previous page. Press END to return to the previous panel. |
Field |
Description |
---|---|
Execution Order Filter Search Argument Formula |
Filter search argument formulas are not used by Adabas Audit Data Retrieval. |