Blank-out or replace with the RedactionCharacter fields on the screen. Redaction can occur on specific screens as well as "any" screen--which is a screen with no Recog definitions.
Redact=expression1|expression2|...
Where one or more expressions are separated by the | (vertical bar character). There are a number of expression types:
Expression Syntax |
Description |
@Row,Column --or-- @Row,Column:FieldCount |
Blank the field found at the specified row and column--this expression is only valid for formatted TN5250 and TN3270 screens. By default, this will blank/redact the field specified, but additional adjacent fields can also be redacted by including the : (colon) character followed by an integer, such as 1 (default is 0, meaning only the field at the row and column specified. |
@Row,Column,Length |
Blank the screen area at the specified Row and Column for Length characters. |
[UpperLeftRow,UpperLeftColumn, LowerRightRow,LowerRightColumn] |
Blank a rectangular area of the screen defined by the 4 integers. For example, [18,1,22,80] will blank/redact 5 rows from 18 to 22 inclusive. This is also very useful for blanking a column in a table of values. |
"LabelText"/'LabelText' --or-- "LabelText":2 --or-- "LabelText"(20) |
Search the current screen for the text--can use double quotes or apostrophes so that a label containing a quote can be bounded with apostrophes and vice-versa.
If a : (colon) is included after the second quote, it should be followed by an integer specifying how many data fields will be cleared to the right of the label. This can only be utilized for formatted TN5250 and TN3270 screens. Note that the default for number of fields cleared to the right of the label is 1, so specify 0 if for some reason you only want to clear the label.
If a (nn) is included, instead of a field count, it specifies how many characters to the right of the label should be cleared--this can be useful for non-formatted screens or ASCII screens which lack field attributes. |
/RegularExpression/ --or-- /RegularExpression/:2 |
Search the current screen using a regular expression--all matches will be processed. As with the text label search, you can include a : (colon) and an integer to specify how many fields to the right of the expression will also be redacted.
|
Note that this example includes a fast search for SS not a validation of SS numbers...
ScreenName=Any
Redact=/\b[0-9]{3}-[0-9]{2}-[0-9]{4}\b/:0