Location in the JCL
Place a //*ENDPROCESS statement immediately after the last //*PROCESS statement in a job. The //*ENDPROCESS statement is optional if a JCL statement follows the last //*PROCESS statement.
Do not place any //*PROCESS statements after the //*ENDPROCESS statement.