I have the next case
01 VAR-X PIC X.
MOVE X'05' TO VAR-X
With this sentence i do a hexadecimal MOVE to variable VAR-X
I need to do this, but no constant value, i need something like this:
MOVE X'VAR-Y TO VAR-X
where VAR-Y not is: 01 VAR-Y PIC X VALUE X'05
VAR-Y is: 01 VAR-Y PIC X.
VAR-Y is a input field with hexadecimal values.
Thanks.
01 VAR-X PIC X.
MOVE X'05' TO VAR-X
With this sentence i do a hexadecimal MOVE to variable VAR-X
I need to do this, but no constant value, i need something like this:
MOVE X'VAR-Y TO VAR-X
where VAR-Y not is: 01 VAR-Y PIC X VALUE X'05
VAR-Y is: 01 VAR-Y PIC X.
VAR-Y is a input field with hexadecimal values.
Thanks.