>>   05  CT-TRANSACTION-AMOUNT       PIC 9(7)V99 PACKED-DECIMAL.

This definition does not match the DDS - it should be S9(5)V99.  In DDS read
the 7 2 as "7 digits of which 2 are decimal places" the COBOL 9(7)V99 on the
other hand should be read as "7 digits before the decimal point and 2
after".

If you add a COPY DDS statement to the program you'll see what the compiler
thinks the definition should be.

Jon Paris
Partner400



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.