Hello all and have a nice new year,
I would like to create a variable, so as to use it as an equation of PHYSICAL-COLUMNS instead of (1, 2, 3, 4, 5).
I have created the below variable
01 WS-ARRAY-ST.
03 FILLER PIC X VALUE "(".
03 WS-ARRAY OCCURS 5 TIMES.
05 WS-VALUE PIC S9.
05 WS-COMMA PIC X(2).
03 FILLER PIC X VALUE ")".
but when I applied it to the below command
MODIFY Form1-Gd-1, PHYSICAL-COLUMNS = WS-ARRAY-ST
it does not work at all.
Is there any way to substitute the list of PHYSICAL_COLUMNS with a variable?
#list
#PHSICAL_COLUMNS
#Grid