Re: Utility to parse fullword delimited flat file

2019-03-28 Thread Frank Swarbrick
tserv.ua.edu> Sent: Thursday, March 28, 2019 3:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Utility to parse fullword delimited flat file On Thu, 28 Mar 2019 16:07:31 -0500, Hobart Spitz wrote: >Pipes. > >On Thu, 28 Mar 2019, 2:11 pm Kirk Wolf wrote: > >> You could do it with Co:Z B

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread Paul Gilmartin
On Thu, 28 Mar 2019 16:07:31 -0500, Hobart Spitz wrote: >Pipes. > >On Thu, 28 Mar 2019, 2:11 pm Kirk Wolf wrote: > >> You could do it with Co:Z Batch + Dataset Pipes without creating a >> temporary file: >>... Sure, or with standard z/OS facilities in Rexx: address SYSCALL pipe BPX

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread Hobart Spitz
Pipes. On Thu, 28 Mar 2019, 2:11 pm Kirk Wolf, wrote: > You could do it with Co:Z Batch + Dataset Pipes without creating a > temporary file: > > //SHELL EXEC PGM=COZBATCH > //IN DD DISP=SHR,DSN=... > //OUT DD DISP=(NEW,CATLG),DSN=..., > // DCB=(RECFM=VB,LRECL=27994),SPACE= > //STDIN D

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread Kirk Wolf
You could do it with Co:Z Batch + Dataset Pipes without creating a temporary file: //SHELL EXEC PGM=COZBATCH //IN DD DISP=SHR,DSN=... //OUT DD DISP=(NEW,CATLG),DSN=..., // DCB=(RECFM=VB,LRECL=27994),SPACE= //STDIN DD * fromdsn -b //DD:IN | todsn -b -l l4 //DD:OUT // Now, if yo

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread Frank Swarbrick
Yes. Not sure what parameters would be required. From: IBM Mainframe Discussion List on behalf of retired mainframer Sent: Thursday, March 28, 2019 10:29 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Utility to parse fullword delimited flat file Have you

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread John McKown
On Thu, Mar 28, 2019 at 11:18 AM Frank Swarbrick < frank.swarbr...@outlook.com> wrote: > Does anyone know of a standard z/OS utility that could parse a flatfile > that has fullword delimited records? That is, there is a fullword length > followed by the record, followed by another fullword length

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread Seymour J Metz
PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Utility to parse fullword delimited flat file Does anyone know of a standard z/OS utility that could parse a flatfile that has fullword delimited records? That is, there is a fullword length followed by the record, followed by another fullword length fiel

Re: Utility to parse fullword delimited flat file

2019-03-28 Thread retired mainframer
Have you considered DFSORT? > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of Frank Swarbrick > Sent: Thursday, March 28, 2019 9:16 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Utility to parse fullword delimited flat file > > Does anyone

Utility to parse fullword delimited flat file

2019-03-28 Thread Frank Swarbrick
Does anyone know of a standard z/OS utility that could parse a flatfile that has fullword delimited records? That is, there is a fullword length followed by the record, followed by another fullword length field and another record, etc. It would then write (sans length header) each record to a