Problem:
Program A call Program B, receing error on call to Program B.
Works in debug mode, error produced in Release Mode.
Resolution:
This was corrected by a HOTFIX for RPI 1057346 -
this occurs due to a change to the compiler to accommodate mainframe dialects.
the outdd and\\or indd are the cause and the solutions is as below:
Run-time system error COBRT226 ("EXTERNAL data definition
inconsistent") was returned sometimes if programs in a run unit had been compiled with a
mainframe dialect. The error occurs because the
attributes used for the SYSOUT file when using a mainframe dialect
changed in WrapPack V4.0.005.
If you receive this error you should recompile all the programs
in the run unit if possible. If it is not possible to do this,
specify the OUTDD(SYSOUT 132 L) directive to restore previous SYSOUT
attributes.
If none of the programs include DISPLAY statements that need to be
routed to SYSOUT you can alternatively specify the NOOUTDD directive.
Similarly, you can restore the previous attributes for the SYSIN file
by using the INDD(SYSIN 80 L A) directive.
***ATTENTION
THIS PROBLEM STARTED WITH THE ALL05 WEBSYNC
THIS FIX DID NOT MAKE THE ALL06 WEBSYNC -
HOTFIX CAN BE OBTAINED FROM SUPPORTLINE
AND CAN BE APPLIED AFTER ALL05 AND REAPPLIED AFTER ALL06 IS IS INSTALLED.
