Paul - you are correct - the // actually was there but when I typed it into the 
message I forgot. 


Lionel B. Dyck <sdg><
Website: 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

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gilmartin
Sent: Wednesday, January 8, 2020 2:06 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: PDSE Bug with BPXWUNIX ?

On Wed, 8 Jan 2020 13:13:01 -0600, Lionel B Dyck wrote:

>Great idea but this works great when the PDSE is either a PDS, a PDSE version 
>1, or a PDSE version 2 without member generations enabled. 
> 
Since "'hlq.data.set(member)'" lacking the "//" is a valid UNIX filename, it 
should not work unless that file exists.  What does
    touch "'hlq.data.set(member)'" do?

It's only trying to help you (or so it thinks).

You might get more expert advice on MVS-OE.


>-----Original Message-----
>From: Steve Smith
>Sent: Wednesday, January 8, 2020 1:11 PM
>    ...
>I think you need to escape the parentheses.
No.  The quoting should suffice.  For example, on Linux:
    11125 $  touch "'hlq.data.set(member)'"
    11125 $ cp "'hlq.data.set(member)'" wombat
    1126 $
    11126 $ ls -alrt
    1total 20
         ...
    1-rw-r--r--  1 paulgilm paulgilm    0 Jan  8 13:00 'hlq.data.set(member)'
    1-rw-r--r--  1 paulgilm paulgilm    0 Jan  8 13:01 wombat
    1drwxr-xr-x  2 paulgilm paulgilm 4096 Jan  8 13:01 .

Any different behavior on z/OS should be APARable.

>And I don't see the magic '//'
>
That should be a problem.

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

-- gil

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

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