Gil,

Of course I can't be sure without access to the OCO source code, but I can make 
an educated guess based on the C RTL implementation.

I had not investigated the command ref doc for cp, I was just responding to the 
OP's original issue that using cp did not work.  Mea culpa.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gilmartin
Sent: Thursday, September 2, 2021 1:42 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Copy RECFM=VBS/LRECL=X to zFS?

On Thu, 2 Sep 2021 04:47:52 +0000, Farley, Peter x23353 wrote:
>
>By practical experimentation, I found that z/OS Unix awk uses fopen().  
>
How can you be sure?  You haven't seen the source code.

>I'll bet the cat utility does too but that cp uses open().
>
From the UNIX Command Ref. for "cp":
    1. To specify an MVS data set name, precede the name with
       double slashes (//). For example, to specify the fully qualified
       data set names 'turbo.gammalib' and 'turbo.gammalib(pgm1)', write:
          "//'turbo.gammalib'"
          "//'turbo.gammalib(pgm1)'"
    ...
-- gil

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

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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