|
The following seems to work OK:
D FLD5 S 9A Inz('Q901')
D FLDQTY S Like(Fld5)
D PNBQTY S 6S 0
D GTBOXQTY S N
/Free
Dsply 'Enter Value for PNBQTY' '*REQUESTER' PNBQTY;
FLDQTY = %SUBST(FLD5:2:(%Len(%TrimR(FLD5))-1));
GTBOXQTY = (%INT(FLDQTY) > PNBQTY);
Dsply GTBOXQTY '*REQUESTER';
*InLR = *On;
/End-Free
Brian Parkins
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.