Factor 2 is not allowed for ENDSR of an error subroutine in a subprocedure.
20
Cause . . . . . : The Factor 2 operand of ENDSR is only allowed when the error subroutine is defined in the main procedure. The Factor 2 operand is ignored.
Recovery . . . : Remove the Factor 2 operand. Compile again.