Your knowledge is WRONG. Any numeric variable (USAGE DISPLAY, COMP, COMP-1, COMP-2, COMP-3, COMP-4, or COMP-5) can be moved to a COMP-3 variable with only truncation and overflow issues possible, depending upon the PICTURE clauses involved. You generally cannot move PIC X variables to a COMP-3 variable, but in some special cases even that can work.As per my knowlwedge..We cant move directly to comp-3 variable.
Can anyone suggest?
Suggest you never use the source of that "knowledge" again. . .As per my knowlwedge..We cant move directly to comp-3 variable.
Can anyone suggest?