Validating credit card numbers in SAS

This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post.

Major credit card issuing networks (including Visa, MasterCard, Discover, and American Express) allow simple credit card number validation using the Luhn Algorithm (also called the “modulus 10″ or “mod 10″ algorithm). The following code demonstrates an implementation in SAS. The code also validates the credit card number by length and by checking against a short […]

This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post.