I have a file with many records. I need to overlay only one record but rest of the records also should be copied to output file along with overlayid record.
For example:
ABCD1111
BCDE2222
CDEF3333
CDEF4444
BCDE2222
CDEF3333
CDEF4444
Output:
ABCD1111
BCDE2222
CDEF3333
DEFG4444
BCDE2222
CDEF3333
DEFG4444
I am using below job but getting only last record into o/p file.
//SYSIN DD *
OPTION COPY
INCLUDE COND=(5,1,ZD,EQ,4)
OUTFIL OVERLAY=(1:C'DEFG')
/*
OPTION COPY
INCLUDE COND=(5,1,ZD,EQ,4)
OUTFIL OVERLAY=(1:C'DEFG')
/*
Thanks.