SAS Quality Knowledge Base for Contact Information 27

ID Number

Parse Definition

ID Number
Description The ID Number parse definition parses personal identification numbers into a set of tokens.
Output Tokens Province Code
City/Prefecture Code
District/County Code
Birth Year
Birth Month
Birth Day
Sequence Code
Validation Code
Example 1 Input Output Token Output
130503196704010012 Province Code 13
City/Prefecture Code 05
District/County Code 03
Birth Year 1967
Birth Month 04
Birth Day 01
Sequence Code 001
Validation Code 2
Example 2 Input Output Token Output
130503670401001 Province Code 13
City/Prefecture Code 05
District/County Code 03
Birth Year 67
Birth Month 04
Birth Day 01
Sequence Code 001
Validation Code  
Remarks