Your problem is that READ ... INTO will not do what you want.  It is the
equivalent of doing a READ followed by a MOVE of the 01 level to the 01
level in the WS.

In other words a character MOVE.  Because of this no numeric editing will
take place.  This is true of all versions of COBOL - it has nothing to do
with the 400 implementation or the fact that the number is packed.

You need to do a straight READ and then MOVE the individual fields
separately in order for the edit to take place.

Jon Paris

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.