The DD:ddname format for a "legacy" dataset is a supported and documented 
feature of the C runtime library (even if not specifically for cat).

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Tuesday, August 31, 2021 1:51 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Copy RECFM=VBS/LRECL=X to zFS?

On Tue, 31 Aug 2021 15:27:38 -0500, Kirk Wolf <k...@dovetail.com> wrote:

>OK Gil, you will absolutely love this.
>( I swear I didn't know this until just now :-)
>
>$ cp "//'KIRK.TEST.VBX'" /tmp/test.vbxcp
>cp: FSUMF148 //'KIRK.TEST.VBX': spanned records are not supported
>
>$ cat "//'KIRK.TEST.VBX'"  > /tmp/test.vbxcp
># works. records > 32768 are copied correctly (at least up to the 57K 
>one I tried)
>
Never underestimate the C/C++ RTL.  I think the default is
FILEDATA(TEXT)

>PS> I bet that /bin/cat with a DD:MYVBX would work too!
>
Even though that's not documented as supported.  Would you
distribute to customers code dependent on an unsupported feature?

How are attributes supplied on the DD statement merged with
attributes supplied on the "cp" command?

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