The first is technically correct (the best kind) but functionally
incorrect. An ATIN is issued to children being adopted until the
adoption is finalized. Same format as a SSN but those are the ones that
are in the 900-999 range. They are valid for use as SSN's for most
things. So depending on what you are doing with the edit, you may need
to allow those.
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of John
Yeung
Sent: Wednesday, July 02, 2014 12:09 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: TaxID validation resources
Hm. My tl;dr wound out being oversimplified. Let's try that again:
On Wed, Jul 2, 2014 at 12:59 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:
tl;dr: Any first three digits are valid except 000, 666, and anything
in the range 900-999. Any remaining digits are valid except all
zeros.
The second sentence above is wrong. Actually:
The middle group (digits 4 and 5) cannot both be zero.
The last group (digits 6 through 9) cannot all be zero.
And if you want more detailed information, but not scattered across
multiple pages, Wikipedia has a good entry on SSNs:
http://en.wikipedia.org/wiki/Social_Security_number
John Y.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
As an Amazon Associate we earn from qualifying purchases.