TO statement refers to statement inside a DO-loop, IF block, or CASE construct with label 300. Transfer of control into a DO-loop, IF block, or CASE construct is not permitted. Check program flow. This is not a severe error, but a warning. Compilation is not interrupted, and object is created normally.
Syntax is incorrect.
Only a name of a variable, array element, or character substring is permitted on the left hand side of an assignment statement. Syntax is incorrect. TO statement refers to statement inside a DO-loop, IF block, or CASE construct with label 50. Transfer of control into a DO-loop, IF block, or CASE construct is not permitted. Check program flow.