MICR Validation Node
Table tasks are required for MICR validation, one to look up a MICR prefix and another to provide the validation rules associated with the prefix.
The types of validation performed are:
- Missing field (on any single field)
- Digit (on any single field)
- Format (on any single field)
- Minimum length (on any single field)
- Maximum length (on any single field)
- Value (on any single field)
- Modulus (on any single field)
- Mutual exclusion (on any set of fields)
- Mutual inclusion (on any set of fields)
- Treasury (on any single field)
Types of errors that can occur are:
- Missing errors
- The value is blank
- Digit errors
- The value contains characters other than digits or those specified as special characters. If the field is marked as numeric, the only valid characters are digits and, if it is specified as a special character, a dash. If the field is not marked as numeric, the valid characters are digits and any of the designated special characters.
- Format errors
- The format of the value does not match the specified pattern
- Length errors
- The number of characters in the value is less than a minimum or greater than a maximum
- Value errors
- The value does not equal a specific value, or it falls outside the range of allowable values
- Modulus errors
- One or more optional modulus checks can be performed. Each modulus check uses a different
algorithm. Subsequent modulus checks are performed only if it is configured and the first modulus
check fails. Note: When specified, special characters are substituted prior to modulus checking.
- Mutual exclusion
- The field being tested must be set and the other fields cannot be set. If the field being tested is not set, at least one other field must be set.
- Mutual inclusion
- One of the fields being tested must be set and at least one other field must be set. All of the fields cannot be empty.
- Treasury checks
- Validates the date in the process control field
Each check can be enabled or disabled. It is permitted to enable all, none, or any combination of fields. Associated with the validity checks is an error code that is returned to the calling application in the ibmNprValidationResults field. Minimum and maximum length share the length error. Mutual exclusion and mutual inclusion share the mutual error.