I am not overly familiar with COBOL, but if COMP-2 means it is compacted/compressed with 2 decimal places it might be similar to a packed field in RPG...i.e. if the number is 9 numerics long including the 2 decimals, it would be 9P 2 in RPG but only use about 4 bytes of memory to store. Of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.