|
Scott - thanks for the reply.
As it happens, I've just read the specs for "Calculating the MOD 10 Check
Digit for the Package Identification Code (PIC) using UCC/EAN Code 128",
and it looks like you are right, where you say "There are probably other
things that use the term "Mod10" as well, but
mean something different from what oyu're looking for."
This is definitely different from what I have been used to, so I will have
to code it myself, later on tonight.
Thanks anyway
Alan Shore
NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
Scott Klement
<rpg400-l@scottkl
ement.com> To
Sent by: RPG programming on the AS400 /
rpg400-l-bounces@ iSeries <rpg400-l@xxxxxxxxxxxx>
midrange.com cc
Subject
04/12/2006 04:09 Re: Mod 10 check digit calculation
PM
Please respond to
RPG programming
on the AS400 /
iSeries
<rpg400-l@midrang
e.com>
> does anyone have a program/sub-routine/mod etc. to calculate the mod 10
> check-digit for a numbers with varying sizes.
I have a MOD10 routine for barcode check digits (for example, UPC/EAN
codes.) I may also have one for credit card numbers somewhere, but it'd
be old and yucky and you probably wouldn't want it :)
It would help if you'd specify WHICH Mod10 you're looking for. Barcodes
and Credit Card numbers both use a check digit called MOD10, but it's a
COMPLETELY different algorithm.
There are probably other things that use the term "Mod10" as well, but
mean something different from what oyu're looking for.
So please clarify what you're looking for... thanks
--
This is the RPG programming on the AS400 / 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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.