Hello all. I'd appreciate your help, please.
Data:
hold-grp-id pic x(10)
hv-grp-nbr pic s9(06) comp-3
The pic for hv-pic-nbr must be as is above for data extract data from a db2 table.
Data value example for hold-grp-id = 003453 (+ 4 spaces)
Cobol pgm:
move hold-grp-id to hv-grp-nbr
Here's where I need help, please:
the resulting value in hv-grp-nbr = 530000 and it should be 003453.
Thanks again!
Data:
hold-grp-id pic x(10)
hv-grp-nbr pic s9(06) comp-3
The pic for hv-pic-nbr must be as is above for data extract data from a db2 table.
Data value example for hold-grp-id = 003453 (+ 4 spaces)
Cobol pgm:
move hold-grp-id to hv-grp-nbr
Here's where I need help, please:
the resulting value in hv-grp-nbr = 530000 and it should be 003453.
Thanks again!