In a recent note, Paul Gilmartin said:

> Date:         Sat, 12 Aug 2006 02:22:33 -0600
> 
> >From a Rexx macro, I issue the command, logged:
> 
>      31 *-* 'CHANGE c''(&FOO,BAR)'' wombat ALL'
>         >>>   "CHANGE c'(&FOO,BAR)' wombat ALL"
>         +++ RC(4) +++
> 
> ... and nothing is changed.
> 
OK.  I RTFM.  This suggests I need "SCAN OFF".  So I try:

     30 *-* 'SCAN OFF'
        >>>   "SCAN OFF"
     32 *-* 'CHANGE c''(&FOO,BAR)'' wombat ALL'
        >>>   "CHANGE c'(&FOO,BAR)' wombat ALL"
        +++ RC(4) +++

... same failure;  And once again, if I paste the failed command
onto the command line, it performs the change.

And what if I need to use both a literal ampersand and a symbol
value in the same command.  How do I protect the former while
allowing evaluation of the latter?

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

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