On Fri, 14 Jun 2024 11:51:23 -0400, Phil Smith III <li...@akphs.com> wrote:
>"If the command contains special characters or blanks, enclose it in single 
>quotation marks."
>
>Might not be the best example, but it's clear from the doc that whoever wrote 
>it doesn't understand that unassigned Rexx variables return their literal 
>values.
Actually, it appears to be correct if unnecessary, and nothing to do with the 
REXX syntax.  I'm not all that familiar with SDSF, but after a little 
experiment I'm guessing the quotes either were required at some point in the 
past or are needed on some but not all commands.  I get the same results from 
these two commands to list my own jobs, with and without single quotes:

"ISFEXEC ST GSK*"
"ISFEXEC 'ST GSK*'"

If I put the command in double quotes instead:

'ISFEXEC "ST GSK*"'

I get an error telling me it's looking for quotes but not that kind:

ISF302E """ was seen in command position 9 where one of the following was 
expected: /, QUOTED-STRING, UNQUOTED-STRING.                             

So I think this instruction really is about the actual command as evaluated, 
not the syntax of specifying it in REXX.

¬R

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to