respected friends,
after you helped me to assist better COMP-3 and COMP4 I received that email of the Support of Microfocus.See their answer:
-----------------------------
Hi, Marcos
The decision is really depends upon what you are going to do with the data. On all platforms, using COMP-5 is the most efficient
from an execution standpoint. All arithmetic functions are done in COMP-5 format. This means that, if you have your data defined
as non-COMP-5 data, the data in those fields are converted to COMP-5 data prior to any of the arithmetic functions being performed
and then the result is converted back from COMP-5 to the result field's definition type. As you can expect, those field format
conversions will add additional time to the execution of an application, with the effect felt most with those that are heavy with
arithmetic functions.
However, execution efficiency is only one aspect. If the data is to be used in interfacing with other languages or packages, then you
will obviously need to carry that data in a format appropriate for the interface to those. Yes, you could still carry all internal data in
COMP-5 and move the data needed for the interfacing to the appropriate format field types before calling the other language or
package. Depending upon the application, that may or may not be the more efficient way to do so and you need to make the
decision based upon the individual situation.
In terms of being platform independent, usage of COMP-5 is still indicated and does not impair the platform independence other than
for the initial conversion of data (as the physical format of the data can vary from one platform to another). So, that is more of an
installation consideration vs a long term application efficiency issue.
I hope this answers your question. If not, if you can restate your specific issue, that would help.
Regards,