HI,
I have a a variable WS-ONE that is a pic S9(07) comp-3 that can't be changed but would like to insert zeros in the first 2 positions.
i declared a variable WS-TWO.
05 WS-TWO.
10 WS-TWO-ZEROS pic 9(02).
10 WS-TWO-REST pic 9(05).
Moved zeros to WS-TWO-ZEROS.
then moved WS-TWO to WS-ONE.
it is not working. what's wrong ?
thanks for the help.
I have a a variable WS-ONE that is a pic S9(07) comp-3 that can't be changed but would like to insert zeros in the first 2 positions.
i declared a variable WS-TWO.
05 WS-TWO.
10 WS-TWO-ZEROS pic 9(02).
10 WS-TWO-REST pic 9(05).
Moved zeros to WS-TWO-ZEROS.
then moved WS-TWO to WS-ONE.
it is not working. what's wrong ?
thanks for the help.