ENDPROC identifies the end of an ILE procedure.
ENDPROC
ENDPROC must be the last statement within a procedure routine that is preceded with a BEGPROC.
BEGPROC
DCLSRPARM