Can we redefine a PIC X(100) item to X(200)?
I have seen this question in many interview dumps? can someone answer that is it possible to redefine a COBOL variable to a larger size?
For example:
Can weÂ
10 VAR1Â PIC X(100).
10 VAR2 REDEFINES VAR1 PIC X(200).
Is the above possible?