Sorting and matching fault entries
You can use column attributes to display a subset of fault entries that satisfy a given match criteria, such as a similar job name or the same abend code. You can sort the complete list of fault entries or the subset of entries that matches your criteria in ascending or descending order. Matching and sorting column attributes can help you to find faults with a similar pattern, for example, or to collect entries into a contiguous group so that you can delete a range of entries.
To display the Column Attributes, tab to a column heading in the Fault Entry List display, place the cursor on the heading, and press Enter. Use the Column Attributes display to specify the column sort order, the column matching criteria, or both. Initially, the Column Attributes display shows a single match criterion that specifies the default match operator (=) and default match value(*). The default matching criterion matches all entries in the display.
In Figure 1, the Date column is selected.
File Options View Services Help s ┌────────── Column Attributes ───────────┐ ────────────────────────────────── I │ │ Line 1 Col 1 80 C │ Column Name: │ Scroll ===> CSR │ Date │ F │ │ │ Sort: │ │ Enter "/" to select │ MD_Pages Abend Sys/Job J │ Ascending │ :58:57 146 S06F FAE1 R │ Descending │ :16:17 151 S06F FAE1 R │ │ :49:43 145 S06F FAE1 R │ Match (Date, YYYY/MM/DD): [1] │ :17:16 198 S06F FAE1 R │ = * │ :55:06 361 S0C4 FAE1 S │ + │ :40:11 85 S0C7 FAE1 I │ [2] │ :58:18 81 S0C7 FAE1 I └────────────────────────────────────────┘ :38:17 86 S0C7 FAE1 U F02334 2020/07/23 11:41:55 2020/07/23 11:41:55 80 S0C7 FAE1 I F02333 2020/07/23 11:39:39 2020/07/23 11:39:39 84 S0C7 FAE1 I F02332 2020/07/08 14:58:09 2020/07/08 14:58:09 106 SNAP FAE1 S F02331 2020/07/08 14:58:07 2020/07/08 14:58:07 106 SNAP FAE1 S F02330 2020/07/08 14:58:05 2020/07/08 14:58:05 107 SNAP FAE1 S F02329 2020/07/08 14:58:04 2020/07/08 14:58:04 106 SNAP FAE1 S
- To sort all fault entries in the column, type a forward slash (/) in the ascending or descending attribute input field and press Enter.
- To remove fault entries that do not match your criteria from the display, specify your matching criteria and press Enter.
- To apply a sort order to the subset of fault entries that match your criteria, specify both your matching criteria and the order in which you want the matching entries sorted, and press Enter.
Match operators
- =
- Equal
- !=
- Not equal
- >
- Greater than
- >=
- Greater than or equal to
- <
- Less than
- <=
- Less than or equal to
- The data type of the column is character.
- The match value includes one or more wildcard characters, unless the entire match value is a single * character. See Match values for details about wildcard characters.
Match values
The match value is case-insensitive and can include wildcards:
- *
- An asterisk represents zero, one, or more characters.
- %
- A percent sign represents a single character.
The default match value * matches any data value.
When the match value includes wildcard characters, all data types are evaluated as character data, unless the entire match value is a single * character.
The Column Attributes display shows the data type of the selected column in parentheses in the Match header (see [1] in Figure 1). The Match values you supply must be valid for the data type of the column.
Data type | Valid values |
---|---|
Character | Any character. |
Date, date_format | When the match value does not include wildcard characters, specify the date as
one of the following:
|
Time, time_format | When the match value does not include wildcard characters, specify the Time
match-value in the format displayed in the Match header, including delimiters (such
as the : character).
|
Date & Time, date_format time_format | A combined date and time value. When the match value does not include wildcard characters, specify the date value in the format indicated by the date format in the Match header. The time is optional. If included, specify the time value in the format indicated by the time format in the Match header. |
Decimal | Decimal digits 0-9, decimal point period (.) or decimal comma (,) or negative sign (-). |
Integer | Decimal digits 0-9 or negative sign (-). |
Hex | Hexadecimal digits 0-9 or A-F. |
Address | Hexadecimal digits 0-9 or A-F. Optionally, the address can include a single
underscore (_) character. If included:
is equivalent to address
100000001 . |
Using multiple matching criteria
- To add matching criteria, position the cursor on the + point-and-shoot field and press Enter. (See [2] in Figure 1.)
- To remove match criteria, clear the operator field and press Enter.
Figure 2 shows multiple matching criteria for the Date column.
File Options View Services Help ─ ┌────────── Column Attribute ────────────┐ ────────────────────────────────── I │ │ Line 1 Col 1 80 C │ Column Name: │ Scroll ===> CSR │ Date │ F │ │ │ Sort: │ │ Enter "/" to select │ MD_Pages Abend Sys/Job J │ Ascending │ :58:57 146 S06F FAE1 R │ Descending │ :16:17 151 S06F FAE1 R │ │ :49:43 145 S06F FAE1 R │ Match (Date, YYYY/MM/DD): │ :17:16 198 S06F FAE1 R │ >= 2020/07/08 │ :55:06 361 S0C4 FAE1 S │ < TODAY-7 │ :53:33 83 S0C7 FAE1 I │ != *31 │ :34:40 193 S06F FAE1 R │ + │ :40:11 85 S0C7 FAE1 I │ │ :58:18 81 S0C7 FAE1 I └────────────────────────────────────────┘ :38:17 86 S0C7 FAE1 U F02334 2020/07/23 11:41:55 2020/07/23 11:41:55 80 S0C7 FAE1 I F02333 2020/07/23 11:39:39 2020/07/23 11:39:39 84 S0C7 FAE1 I F02332 2020/07/08 14:58:09 2020/07/08 14:58:09 106 SNAP FAE1 S F02331 2020/07/08 14:58:07 2020/07/08 14:58:07 106 SNAP FAE1 S F02330 2020/07/08 14:58:05 2020/07/08 14:58:05 107 SNAP FAE1 S F02329 2020/07/08 14:58:04 2020/07/08 14:58:04 106 SNAP FAE1 S
Applying the column attributes
Sorting and matching is applied to the rows of data that are currently displayed. If you change the sort or match values for the same column twice, or for first one column, then another, the second sort or match is applied to the rows of data that are displayed after the first sort or match.
- Placing the cursor on the reset point-and-shoot field and pressing Enter.
- Entering the RESET command on the command line.
Figure 3 shows a sample result of applying the matching criteria in Figure 2.
File Options View Services Help ─────────────────────────────────────────────────────────────────────────────── IBM Fault Analyzer - Fault Entry List 13 of 322 rows matched Command ===> ________________________________________________ Scroll ===> CSR Fault History File or View : 'NWILKES.HIST' Fault_ID Date Time Date_Time MD_Pages Abend Sys/Job J F60415 2020/08/07 09:55:06 2020/08/07 09:55:06 361 S0C4 FAE1 S F02343 2020/08/04 09:53:33 2020/08/04 09:53:33 83 S0C7 FAE1 I F02342 2020/08/03 15:34:40 2020/08/03 15:34:40 193 S06F FAE1 R F02340 2020/08/03 09:40:11 2020/08/03 09:40:11 85 S0C7 FAE1 I F02335 2020/07/29 10:38:17 2020/07/29 10:38:17 86 S0C7 FAE1 U F02334 2020/07/23 11:41:55 2020/07/23 11:41:55 80 S0C7 FAE1 I F02333 2020/07/23 11:39:39 2020/07/23 11:39:39 84 S0C7 FAE1 I F02332 2020/07/08 14:58:09 2020/07/08 14:58:09 106 SNAP FAE1 S F02331 2020/07/08 14:58:07 2020/07/08 14:58:07 106 SNAP FAE1 S F02330 2020/07/08 14:58:05 2020/07/08 14:58:05 107 SNAP FAE1 S F02329 2020/07/08 14:58:04 2020/07/08 14:58:04 106 SNAP FAE1 S F02328 2020/07/08 14:58:02 2020/07/08 14:58:02 106 SNAP FAE1 S F02327 2020/07/08 12:15:44 2020/07/08 12:15:44 211 S06F FAE1 R ** Bottom of data.