On 11/5/2010 2:24 PM, Veilleux, Jon L wrote:
INTERPRET TEST"='FRED'" INTERPRET 'SAY TEST'
At the risk of starting another flame war, I would strongly discourage use of INTERPRET. While it may work correctly in some instances, it leads to problems in general, and is easily replaced by "value()".
I first ran across this problem while working at an ISV, and had to maintain code designed to manipulate JCL. The author used an INTERPRET that self-destructed the first time it encountered a JCL comment.
Gerhard Postpischil Bradford, VT ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

