Hi All,
I use the following display statements
DISPLAY WS-ONE
WS-TWO
WS-THREE
WS-FOUR
WS-FIVE
This wil display as below
WS-ONE(field value) WS-TWo(field value) WS-THREE(field value) ...
WS-XXX are working storage variables.
Now I need to modify the above display by putting an IF condition for WS-THREE.
Note
I tried below
DISPLAY WS-ONE
DISPLAY WS-TWO
IF WS-logic = c
DISPLAY WS-THREE
ELSE
DISPLAY WS-DUMMY
END-IF
DISPLAY WS-FOUR
DISPLAY WS-FIVE
but the display goes to next line. How to make it display in the same line.