On Thu, 4 Jan 2024 13:55:22 -0600, Steve Estle <sest...@gmail.com> wrote:
>I've hardcoded the enclosing double quote/quote inside my file as follows:
>"'SYS1.PARMLIB'"

That's the problem.  When your exec that works correctly does this:
>   DSName = "'SYS1.PARMLIB'"                                         

the double quotes are part of the REXX syntax to indicate that what's between 
is a literal string, and only the single quotes are part of the value of that 
string.  When that exec then does:
>   Say DSName                                                        

you'll see in the output just the single quotes:
'SYS1.PARMLIB'

When your failing exec does:
>   Say dsn                                                        

you'll instead see both sets of quotes, because they're both part of the data 
you read from the input file:
"'SYS1.PARMLIB'"

So don't put the double quotes in your input file, because they're not part of 
your data.

¬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