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: V S Amarendra Reddy
Posted: Tue May 09, 2017 2:00 am (GMT 5.5)

I've leveraged the missing piece Rahul provided with OUT2 and hooked it into my card and added ACCEPT parm to just copy one record. So, I think the piece works now. It looks like this now.


Code:
 
OPTION COPY                                                   
INCLUDE COND=(1,2,ZD,EQ,02,OR,1,2,ZD,EQ,99)                   
OUTFIL  BUILD=(H1,80:X,/,&DATE,X,H2,X,48,7,80:X),FNAMES=OUT1, 
        OMIT=(1,2,ZD,EQ,02)                                   
OUTFIL FNAMES=OUT2,NULLOFL=RC4,SAVE,ACCEPT=1                   
 


Thank you Rohit and Rahul.
_________________
Cheers,
Amar

-People asking for suggestions are no less than us. It is only about Knowledge Exchange, No matter how small it is, Everything in the world deserves respect...


Viewing all articles
Browse latest Browse all 8500

Trending Articles