Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

SYNCSORT :: RE: Consolidating and summing file contents

$
0
0
Author: sergeyken
Subject: Re: Reply to: Consolidating and summing file contents
Posted: Thu Aug 11, 2016 5:47 pm (GMT 5.5)

enrico-sorichetti wrote:
the TS ( Topic Starter ) requirement was

Quote:
My desired output file (*) is to have only one of the first three records that start with 0, all of the records that start with 1 and only one of the last three records that start with 9 ... ... ...


(*) one file


Code:

//COMBINE EXEC PGM=IEBGENER
//SYSPRINT DD DUMMY
//SYSIN    DD DUMMY
//SYSUT1   DD  DSN=&&HEADER,...
//         DD  DSN=&&DETAILS,...
//         DD  DSN=&&TRAILER,...
//SYSUT2   DD  DISP=(NEW,CATLG),DSN=new.single.output.file,...


Viewing all articles
Browse latest Browse all 8500

Trending Articles