Hi all.
Sorry, if the question is stupid, but I am totally new to COBOL.
I have two data items:
01 NNI PIC 9(05)V9(02) USAGE IS DISPLAY.
01 AN PIC X(07).
When trying to move:
MOVE NNI TO AN
I have the following error:
1561 IGYPA3005-S "NNI (NUMERIC NON-INTEGER)" AND "AN (ALPHANUMERIC)" DID NOT FOLLOW THE "MOVE" STATEMENT
COMPATIBILITY RULES. THE STATEMENT WAS DISCARDED.
It is OS/390, IBM COBOL FOR MVS & VM 1.2.2.
My question: can I somehow move value from NNI (without comma) to AN without using REDEFINES.
Thans a lot.
Sorry, if the question is stupid, but I am totally new to COBOL.
I have two data items:
01 NNI PIC 9(05)V9(02) USAGE IS DISPLAY.
01 AN PIC X(07).
When trying to move:
MOVE NNI TO AN
I have the following error:
1561 IGYPA3005-S "NNI (NUMERIC NON-INTEGER)" AND "AN (ALPHANUMERIC)" DID NOT FOLLOW THE "MOVE" STATEMENT
COMPATIBILITY RULES. THE STATEMENT WAS DISCARDED.
It is OS/390, IBM COBOL FOR MVS & VM 1.2.2.
My question: can I somehow move value from NNI (without comma) to AN without using REDEFINES.
Thans a lot.