"I have a defined field called Field-Size PIC X(10)in my input record. I want to move that input field to a comp-3(Field-size-comp PIC S9(10) usage comp-3).
Can i do this with a simple move statement? For example:
MOVE Field-Size TO Field-Size-Comp
Write output-rec.
Or is there some kind of conversion I have to do first?
Thanks in advance.
Can i do this with a simple move statement? For example:
MOVE Field-Size TO Field-Size-Comp
Write output-rec.
Or is there some kind of conversion I have to do first?
Thanks in advance.