SAS Quality Knowledge Base for Contact Information 27

Social Security Number

Parse Definition

Social Security Number
Description

The Social Security Number parse definition parses Social Security Numbers (SSN/NIR) into a set of tokens.

Output Tokens Gender
Year of Birth
Month of Birth
Department of Birth
City of Birth
Order Number
Key
Example 1 Input Output Token Output
181099744161124 Gender 1
Year of Birth 81
Month of Birth 09
Department of Birth 974
City of Birth 41
Order Number 611
Key 24
Example 2 Input Output Token Output
1.81.09.974.41.611.24 Gender 1
Year of Birth 81
Month of Birth 09
Department of Birth 974
City of Birth 41
Order Number 611
Key 24
Example 3 Input Output Token Output
1/12/01/1A/678/345/01 Gender 1
Year of Birth 12
Month of Birth 01
Department of Birth 1A
City of Birth 678
Order Number 345
Key 01
Example 4 Input Output Token Output
5050599345023 Gender 5
Year of Birth 05
Month of Birth 05
Department of Birth 99
City of Birth 345
Order Number 023
Key  
Remarks The examples do not use real social security numbers.