|
Tim, At 08:53 PM 11/9/98 -0500, you wrote: >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. I think that this value is different depending on whether the field is alpha or numeric. -mark +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.