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 VALID
INVALID
Examples Input Output
N6A 5P2 VALID
N6A 5P2,,, VALID
CA-N6A5P2,,, VALID
M25 7E7 INVALID
R3TR 4T3 INVALID
G3E 1G^ INVALID
27513 INVALID
Remarks