What about the forst case: IF WS-XXX-YYY = 1 MOVE 'SSR' TO FXXXX-ID.
There is one dot without END-IF I don't know if dot belongs to MOVE or to IF PSPad isn't compiler -- <https://forum.pspad.com/read.php?6,76984,77019> PSPad freeware editor https://www.pspad.com