I don’t understand how ISN-REK(S,1) may be wrong in line:
GET SW ISN-REK(S,1)
?
1 SW VIEW OF XXXX1
...
1 SW2 VIEW OF XXXX1
...
FOR S=1 TO 2
IF ISN-REK(S,1) EQ 0
ESCAPE BOTTOM
END-IF
*
/* IS GOOD ?
RESET #ISN-OK
READ (1) SW2 BY ISN = ISN-REK(S,1)
#ISN-OK := TRUE
END-READ
IF NOT #ISN-OK
ESCAPE TOP /* NEXT ONE
END-IF
*
GET SW ISN-REK(S,1) <--- ERROR 3113
...
END-FOR