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.
Code: Select all
05 field-a pic 9(9).
05 field-b pic s9(9) comp-3
move field-a to field-b.
You need to be a member in order to post a reply
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute