Re: DFSORT: Get part of a file between to records

2022-10-11 Thread Jack Zukt
Hi Mike, I did not know about that. I will look into it. Thank you for the info. Regards, Jack On Mon, 10 Oct 2022 at 18:35, Mike Schwab wrote: > IEBGENER RECORD statement? > https://www.ibm.com/docs/en/zos/2.1.0?topic=statements-record-statement > > On Mon, Oct 10, 2022 at 10:17 AM Jack Zukt

Re: DFSORT: Get part of a file between to records

2022-10-11 Thread Jack Zukt
Thanks Kolusu, It worked just as needed Best regards Jack On Tue, 11 Oct 2022 at 05:25, Sri h Kolusu wrote: > >> I am trying to use DFSORT to get part of a dataset. > > Jack, > > Please use the following untested JCL which will give you the desired > results > > //STEP0100 EXEC PGM=SORT > //SYS

Re: DFSORT: Get part of a file between to records

2022-10-10 Thread Sri h Kolusu
>> I am trying to use DFSORT to get part of a dataset. Jack, Please use the following untested JCL which will give you the desired results //STEP0100 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD DISP=SHR,DSN=Your.input.FB.121.byte file //SORTOUT DD SYSOUT=* //SYSINDD * OPTION COPY

Re: DFSORT: Get part of a file between to records

2022-10-10 Thread Mike Schwab
IEBGENER RECORD statement? https://www.ibm.com/docs/en/zos/2.1.0?topic=statements-record-statement On Mon, Oct 10, 2022 at 10:17 AM Jack Zukt wrote: > > Hi, > I am trying to use DFSORT to get part of a dataset. > We are directing the output of an ABAR job to a dataset and I would like to > get th

DFSORT: Get part of a file between to records

2022-10-10 Thread Jack Zukt
Hi, I am trying to use DFSORT to get part of a dataset. We are directing the output of an ABAR job to a dataset and I would like to get the log for a specified date. Every LOG begins and ends with specific strings, and I would like to get those records and all the records in the middle, ignoring al