Page 1 of 1
Difference between inrec and outrec.
Posted: Thu Aug 31, 2023 7:12 pm
by Raja Babu
Hi ,
Could Someone Tell what is the Difference between inrec and outrec other than reformatting the fields before/after copying difference,I meant any Particular use case where inrec is used and a case where outrec is used?
Re: Difference between inrec and outrec.
Posted: Wed Sep 06, 2023 4:17 pm
by Anuj Dhawan
As the name suggests - INREC is processed before the records are sorted, merged or copied. OUTREC is processed after the records are sorted, merged or copied.
One might argue that for SORT FIELDS=COPY INREC and OUTREC are just same -- it can be true unless INREC and OUTREC are used in the same SORT.
Re: Difference between inrec and outrec.
Posted: Wed Sep 06, 2023 6:15 pm
by Raja Babu
Thanks for the details Anuj, but what's the benefit of having two arguments. I think INREC and OUTREC can be used for each other?
Re: Difference between inrec and outrec.
Posted: Sat Sep 09, 2023 6:18 pm
by Neeraj Gugnani
Thanks for the details Anuj, but what's the benefit of having two arguments. I think INREC and OUTREC can be used for each other?
Anuj Dhawan wrote: Wed Sep 06, 2023 4:17 pm
As the name suggests - INREC is processed
before the records are sorted, merged or copied. OUTREC is processed
after the records are sorted, merged or copied
Re: Difference between inrec and outrec.
Posted: Wed Jan 03, 2024 5:33 pm
by Raja Babu
I am not sure if I understood you Neeraj?