|
You test for duplicate characters with the TESTB operation. The
easiest
way to test the last character of a field is as follows:
Note: Input field must be alphanumeric.
0001 C
MOVE FIELD TEST1 1
0002 C
TESTB'345' TEST1
50 COLUMNS 58-59
0003 C 50
TESTB'01267' TEST1 50
COLUMNS 54-55
Indicator 50 indicates the last character of FIELD is Hex 1C meaning
that
the DUP key was pressed in the field FIELD.
Eyre, Stephanie A. (TC) wrote:
What is the Hex value for the Dup key?Stephanie Eyre
Taylor Corporation
507-386-3191
saeyre@taylorcorp.com
--
Tok2YaLatR!
Tim & Dana Truax and ... Caleb 5 yrs!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.