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

SYNCSORT :: RE: Check if any Detail records and extract count from Trailer

$
0
0
Author: RahulG31
Subject: Reply to: Check if any Detail records and extract count from Trailer
Posted: Tue May 09, 2017 1:06 am (GMT 5.5)

So, ultimately you want me to do the job for you which I nearly did in the previous post but you are Not even able to think on how to make a simple change.
Code:
//OUT2    DD DUMMY
//SYSIN DD *
 OPTION COPY
 INCLUDE COND=(1,2,ZD,EQ,02,OR,1,2,ZD,EQ,99)
 OUTFIL FNAMES=OUT1,INCLUDE=(1,2,ZD,EQ,99),
   BUILD=(C'TEXT1',/,C'TEXT2',X,4,7)
 OUTFIL FNAMES=OUT2,INCLUDE=(1,2,ZD,EQ,02),NULLOFL=RC4
/*

Since you don't even know how to read a JCL/Sort card, I would like to tell that you are Not creating 2 files, and that is what I said in my previous post to have OUT2 as Dummy. Out2 is only used to give you RC4 when needed.

Mods, Please Lock the topic. Enough of the crap already.

.


Viewing all articles
Browse latest Browse all 8500

Trending Articles