I think you need to escape the parentheses.  And I don't see the magic '//'
in your command, but that may be just your message.  So,
cp -U -M "//'hlq.data.set\(member\)'" /u/me/pdsdir/... assuming this
survives emailing.

I just read up on this researching a related problem.  Seems the //
notation is really twitchy.

sas


On Wed, Jan 8, 2020 at 2:03 PM Lionel B Dyck <lbd...@gmail.com> wrote:

> Using BPXWUNIX in a z/OS REXX exec running under TSO/ISPF I'm getting an
> error that does not occur when the command is entered directly while in
> OMVS.
>
>
> The command is cp -U -M "'hlq.data.set(member)'" /u/me/pdsdir/
>
>
>
> The error is:
>
>
>
> FSUM6258 cannot open file "//'hlq.data.set(member)'": EDC5061I fin error
> occurred when attempting to define a file to the system.
>
>
>
> Any suggestions?
>
>
>
> Thanks in advance
>
>
>
> Lionel B. Dyck <sdg><
> Website:  <http://www.lbdsoftware.com/> http://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
sas

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