In <[email protected]>, on 12/17/2014
at 05:05 PM, Charles Mills <[email protected]> said:
>I just added a JCLLIB statement to a cataloged procedure that I
>start with a Start command. I am getting IEFC019I MISPLACED JCLLIB
>STATEMENT. Should I infer that JCLLIB is not allowed in a started
>PROC,
Not quite; you should infer that JCLLIB is not allowed in a PROC at
all. Or RYFM, where it clearly says
19.1.6 Location in the JCL
A JCLLIB statement:
Must appear after the JOB statement and before the first
EXEC statement in the job.
If you think about it, the restriction is reasonable. Consider a job
with EXEC PROC=FOO, where FOO contains a JCLLIB with a concatenation
containing a member called FOO. Which FOO would you expect the system
to use?
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN