Page 1 of 1

Info with use of INREC

PostPosted: Thu Sep 13, 2012 6:45 pm
by ranga_subham
Hi,

I see this message when I use INREC option -

WER238I POTENTIALLY INEFFICIENT USE OF INREC


I am not able to get what it is suggesting and would like to know if it hinders SORT performance.

Please help.

Re: Info with use of INREC

PostPosted: Thu Sep 13, 2012 6:51 pm
by ranga_subham
I got it....read it and understood... :)

WER238I POTENTIALLY INEFFICIENT USE OF INREC
EXPLANATION: The INREC control statement has been used to
increase the input record length. This can reduce SyncSort’s performance
because a larger volume of data is being processed than if the
OUTREC control statement were used to perform the same function.
Typically, increasing the record length with INREC is only useful when
expanding SUM fields with leading zeros to prevent an overflow condition
during SUM.
ACTION: Revise the application so that addition of data is performed in
an OUTREC statement. Be sure to adjust the FIELDS of the SORT,
MERGE or SUM control statements if necessary.


Thanks.