SAS Quality Knowledge Base for Contact Information 27

Postal Code (Validation)

Identification Analysis Definition

Postal Code (Validation)
Description The Postal Code (Validation) identification analysis definition determines whether a string represents a valid domestic postal code.
Possible Outputs OK (formally correct domestic postal code)
INVALID (not a formally correct domestic postal code)
Examples Input Output
DE11NN OK
DE1 1NN OK
B23 6EN OK
023 6EN INVALID
8236 EN INVALID
12345 INVALID
SE-123 45 INVALID
No Postal Code INVALID
Remarks