This table lists values and examples of each argument in the Attribute Scan settings. The arguments are listed in the order of appearance in the FIELD_SCANNING parameter.
Argument | Description |
---|---|
ENTRY_ID |
(REQUIRED) Specifies a block of settings in the settings file. Values Numeric value. Example
|
ENTRY_DESCRIPTION |
(OPTIONAL) Used to enter descriptions of certain functions. For each description, you can use alphabetic or numeric input, with a 100-byte limit. If this argument is not defined, a No Description Specified message displays in the description column of the statistics file. Format ENTRY_DESCRIPTION <description> Values Alpha and numeric. Example
|
SCAN_FIELD |
(REQUIRED) Attribute in the output schema that will be scanned for a specified scan value. Values Attribute name. Example
|
TARGET_FIELD |
(OPTIONAL) Attribute to store the result of the scan. Values Attribute name. Example
<TARGET_FIELD>Area Code</TARGET_FIELD> <SCAN_VALUE>"617"</SCAN_VALUE> <SCAN_FUNCTION>CP</SCAN_FUNCTION> |
FIELD_JUSTIFICATIONS |
(OPTIONAL) Specifies the type of justification to be performed on the specified attributes. This is performed prior to the function. Note that for Asian character data there is no distinction between full-width spaces and half-width spaces in this operation. Full-width spaces within the text are converted to half-width spaces. Values
Example
|
SCAN_FORMAT |
(OPTIONAL) The type of scanning to be performed on the data in SCAN_FIELD. Values
Example <FIELD_JUSTIFICATION>LA</FIELD_JUSTIFICATION>
|
BETWEEN_SUBSTRING_ENCODING |
(OPTIONAL) Specifies the encoding instructions for interpreting the literal characters specified in the BETWEEN_SUBSTRING argument. The default is to use the platform native encoding. Values Encoding table. Example
|
BETWEEN_SUBSTRING |
(OPTIONAL) Specifies the starting substring of user-defined characters after which to scan. This argument can be used with the AND_SUBSTRING argument. Values User-specified string. Example If you are looking for the scan value "abc" in -abc-:
If you are looking for the scan value "abc" in -abc*:
|
AND_SUBSTRING |
(OPTIONAL) Specifies the ending substring of user-defined characters before which to scan. This argument can be used with the BETWEEN_SUBSTRING argument. Values User-specified string. Example If you are looking for the scan value "abc" in -abc*:
|
RETAIN_BETWEEN_SUBSTRING |
(OPTIONAL) Tells the attribute scanning function that the scan value is retained between the two characters specified in BETWEEN_SUBSTRING. Values
Example
|
SCAN_VALUE_ENCODING |
(OPTIONAL) Specifies the encoding instructions for interpreting characters in SCAN_VALUE. The default is the platform’s native encoding. Values Encoding table. Example
|
SCAN_VALUE |
(OPTIONAL) Identifies the value to be scanned for in the attribute named in SCAN_FIELD. Values User-defined string. Example
|
CASE_SENSITIVE_SCAN_VALUE |
(OPTIONAL)Indicates whether a case-sensitive scan is enabled for the literal type. Values
Example
|
RETAIN_SCAN_VALUE |
(OPTIONAL) Indicates that the scan value is included in the target attribute. This argument becomes invalid if SCAN_FUNCTION is set to CH (change) or F (flag). Values
Example
|
SCAN_FUNCTION |
(REQUIRED) Indicates which specific function to perform, if the scan value is found in the scan attribute. Values
Example
|
SCAN_DIRECTION |
(OPTIONAL) Direction from which to begin scanning the data in the scan attribute. Values
Example
|
SCAN_POSITION |
(OPTIONAL) Specifies the location in the attribute from which to start scanning. Values
Example
|
SCAN_LEVEL |
(OPTIONAL) Specifies whether to scan at the field (attribute) or word level. The default delimiter used is a "space" character. If word scanning is required, you should use the WORD_DELIMITER argument to define the delimiter. Values
Example
|
SCAN_CAPTURE |
(OPTIONAL) Specifies how much of the scan attribute data is to be captured in the process of recoding. This argument becomes invalid if SCAN_FUNCTION is set to CH (change) or F (flag). Values
Example
|
WORD_DELIMITER_ENCODING |
(OPTIONAL) Encoding used to interpret literal characters specified in WORD_DELIMITER. If not specified, the default is the platform’s native encoding. Values Encoding table. Example
|
WORD_DELIMITER |
(OPTIONAL) The character that was used as word separator in the scan attribute’s data (such as a space or a tab). Note: Not required if SCAN_LEVEL is set to F (default).
Values User-defined entry for delimiter character. Default is space. Example
|
START_DELIMITER |
(OPTIONAL) Specifies the starting delimiter to scan words. Values User-defined entry for delimiter character. Example
|
END_DELIMITER |
(OPTIONAL) Specifies the ending delimiter to scan words. Values User-defined entry for delimiter character. Example
|
CHANGE_VALUE_ENCODING |
(OPTIONAL) Provides encoding instructions that are used to interpret literal values specified in the CHANGE_VALUE argument. The default is to use the platform native encoding. Values Encoding table. Example
|
CHANGE_VALUE |
(OPTIONAL) Specifies a value that replaces each occurrence of the found scan value in the specified scan attribute. This argument works in conjunction with the SCAN_FUNCTION argument set to CH (change). Values User-defined value. Example In this example, the value NNN-NN-NNNN would replace each occurrence of the found scan value in the Phone Number attribute. Note: When SCAN_FORMAT is ‘M’, only the format of the found scan value is
changed and not the data itself.
|
CHANGE_OCCURENCES |
(OPTIONAL) Specifies the number of scan value occurrences to be changed in the specified scan attribute. Used when SCAN_FUNCTION argument set to CH (change). Values A, 0, 1, 2, ...,n. Default is 1. The values 0 and A refer to all occurrences. Example In this example, all occurrences of the found scan value would be changed.
|
FLAG_VALUE_ENCODING |
(OPTIONAL) Specifies the encoding instructions used to interpret literal characters specified in FLAG_VALUE. If not specified, the default is the platform’s native encoding. Values Encoding table. Example
|
FLAG_VALUE |
(OPTIONAL) The value you specify is placed in the TARGET_FIELD argument, if the following conditions are met:
Values User-defined string. Example
In this case, if "123456789" is found in the Name attribute, the value "Not Valid" will be placed in the Phone Number attribute. |