Conversion of non packed to packed in COBOL.
Posted: Thu Nov 13, 2014 5:13 pm
Hi
i would like to convert non packed numeric data to packed numeric data in cobol. I've observed that this can help me:
But I'm wondering wat happens when we do this move that it is converted to packad decimal. Where I can learn this? Please guide.
i would like to convert non packed numeric data to packed numeric data in cobol. I've observed that this can help me:
Code: Select all
05 field-a pic 9(9).
05 field-b pic s9(9) comp-3
move field-a to field-b.