.NET proxy which calls a z/OS COBOL CICS server that is returning numeric decimal fields as scientific notation instead of the decimal equivalent number in certain situations.
Decimal field defined as numeric length of 8 with 6 decimals.
When the .NET proxy test harness is invoked and the value for the field is less than 00.000100, it is returning the scientific notation value of the number in the field on the proxy.
For example,
- if the number retrieved is 00.004655, the field shows "0.004655"
- if the number retrieved is 00.000001, the field shows "1E-06"
- If the number retrieved is 00.000045, the field shows "4.5E-05"
If the numeric attribute has length of 9 or greater, or has decimals, then the 'Implement in C, C# and Java with decimal precision' should be turned on.
For additional information, see the Messages section, "For C, C# and Java generated applications, the option 'Implement ... with decimal precision' should be set to ensure accuracy is maintained in numeric calculations" topic on doc page Attribute Messages and Dialogs > Attribute Dialog.