On Sat, 6 Sep 2008 09:07:09 -0400, Gerhard Postpischil wrote:

>--- Neo wrote:
>
>>   WHEN OPTS = X
>
>>    X = OUTTRAP("COMP_VAR",5,"CONCAT")
>
>explicit definitions of non-local variables. The simplest fix is
>to change the original WHEN to OPTS = 'X'
>
A strong concurrence.  Generally eschew unquoted literals.  And
keep yourself honest by starting every EXEC with SIGNAL ON NOVALUE.

-- gil

----------------------------------------------------------------------
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

Reply via email to