× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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******************************************************
0008.00
0009.00 C******************************************************
0010.00 C
0011.00 C EVAL X = %SCAN('''':FIELD)
0012.00 C
0013.00 C EVAL *INLR=*ON



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.