if U do not quote PEND it means the instream PROC itself doesn't end. So what ever u write in normal JCL for example EXEC, SYSIN steps and all be invalid as we should not use in INTREAM procs.
This doesn't answer ur qsrn completely.. but I have added my hint....