Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-09-02 Thread Farley, Peter x23353
-Original Message- From: IBM Mainframe Discussion List 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 +, Farley, Peter x23353 wrote: > >By practical experimentat

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-09-01 Thread Paul Gilmartin
On Thu, 2 Sep 2021 04:47:52 +, 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":

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-09-01 Thread Farley, Peter x23353
: IBM Mainframe Discussion List On Behalf Of Charles Mills Sent: Wednesday, September 1, 2021 12:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Copy RECFM=VBS/LRECL=X to zFS? The DD:ddname format for a "legacy" dataset is a supported and documented feature of the C runtime lib

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-09-01 Thread Charles Mills
. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Wednesday, September 1, 2021 10:02 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Copy RECFM=VBS/LRECL=X to zFS? On Wed, 1 Sep 2021 09:34:07 -0700, Charles M

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-09-01 Thread Paul Gilmartin
On Wed, 1 Sep 2021 09:34:07 -0700, Charles Mills wrote: >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). > The "cat" developers are understandably unwilling to document and support that behavior of

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-09-01 Thread Charles Mills
t: 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 wrote: >OK Gil, you will absolutely love this. >( I swear I didn't know this until just now :-) > >$ cp "//'KIRK.TEST.VBX'&quo

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Paul Gilmartin
On Tue, 31 Aug 2021 15:27:38 -0500, Kirk Wolf 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'"  >

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Paul Gilmartin
On Tue, 31 Aug 2021 13:30:17 -0700, Sri h Kolusu wrote: >> Thanks, but it doesn't seem to work.� Records that are over 32752 bytes >> are truncated. >> (Was that supposed to be an NBSP?) >> FMNBB298 10 record(s) copied: 6 truncated: 0 fields truncated > >Can you please try with LRECL=X in the

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Sri h Kolusu
> Thanks, but it doesn't seem to work.  Records that are over 32752 bytes > are truncated. > > FMNBB298 10 record(s) copied: 6 truncated: 0 fields truncated Kirk, Can you please try with LRECL=X in the JCL definition and also use PAD=ON in the sysin to pad to the maximum length? //

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Kirk Wolf
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

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Paul Gilmartin
On Tue, 31 Aug 2021 14:23:25 -0500, Kirk Wolf wrote: > >You're never wrong, but rarely helpful :-) > Have you any constructive criticism? >On 8/31/21 12:13 PM, Paul Gilmartin wrote: >> On Tue, 31 Aug 2021 09:50:30 -0700, Sri h Kolusu wrote: >>... >> As a last resort, Rexx: >> >> Override

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Kirk Wolf
Thanks, but it doesn't seem to work.  Records that are over 32752 bytes are truncated. FMNBB298 10 record(s) copied: 6 truncated: 0 fields truncated Kirk Wolf Dovetailed Technologies http://dovetail.com On 8/31/21 11:50 AM, Sri h Kolusu wrote: Is there an IBM Utility that will do this?

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Kirk Wolf
Gil, You're never wrong, but rarely helpful :-) Kirk Wolf Dovetailed Technologies http://dovetail.com On 8/31/21 12:13 PM, Paul Gilmartin wrote: On Tue, 31 Aug 2021 09:50:30 -0700, Sri h Kolusu wrote: Is there an IBM Utility that will do this? Preferrable with FILEDATA=TEXT processing mode

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Paul Gilmartin
On Tue, 31 Aug 2021 09:50:30 -0700, Sri h Kolusu wrote: >> Is there an IBM Utility that will do this? >> Preferrable with FILEDATA=TEXT processing mode on the output file > IDCAAMS REPRO? (I haven't checked its requirements.) As a last resort, Rexx: Override stdin to RECFM=U and interpret the

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Charles Mills
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Copy RECFM=VBS/LRECL=X to zFS? Did you try OPUT? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Kirk Wolf Sent: Tuesday, August 31, 2021 9:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Sri h Kolusu
> Is there an IBM Utility that will do this? > Preferrable with FILEDATA=TEXT processing mode on the output file Kirk, If your shop has IBM File-Manager then you can use the following JCL //STEP0100 EXEC PGM=FILEMGR //SYSPRINT DD SYSOUT=* //DDIN DD DISP=SHR,DSN=Your.MVS.LRECLX.Dataset

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Doug
Did you try from within the z/FS? Doug Fuerst d...@bkassociates.net -- Original Message -- From: "Kirk Wolf" To: IBM-MAIN@listserv.ua.edu Sent: 31-Aug-21 12:30:23 Subject: Copy RECFM=VBS/LRECL=X to zFS? Is there an IBM Utility that will do this? Preferrable with FIL

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Charles Mills
Did you try OPUT? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Kirk Wolf Sent: Tuesday, August 31, 2021 9:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Copy RECFM=VBS/LRECL=X to zFS? Is there an IBM Utility that will do

Re: Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Wolfgang Fritz
Am 31.08.2021 um 18:30 schrieb Kirk Wolf: Is there an IBM Utility that will do this? Preferrable with FILEDATA=TEXT processing mode on the output file (adding newlines at record boundaries). Trying IEBGENER and ICEGENER both result inᅵ 013-A8 I think the IBM Sort should do this part.

Copy RECFM=VBS/LRECL=X to zFS?

2021-08-31 Thread Kirk Wolf
Is there an IBM Utility that will do this? Preferrable with FILEDATA=TEXT processing mode on the output file (adding newlines at record boundaries). Trying IEBGENER and ICEGENER both result in  013-A8 -- Kirk Wolf Dovetailed Technologies http://dovetail.com