Try putting '''' in your constant.
I put ABC'DEF in the local data area and then ran this program. X came out to 4.
I would imagine it would work for %XLATE as well.

0004.00 D UDS
0005.00 D X 1 3S 0
0006.00 D FIELD 61 67
0007.00 D******************************************************
0009.00 C******************************************************
0010.00 C
0011.00 C EVAL X = %SCAN('''':FIELD)
0012.00 C
0013.00 C EVAL *INLR=*ON

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].