View previous topic :: View next topic
|
Author |
Message |
karthikbabudh
New User
Joined: 08 Sep 2003 Posts: 32 Location: Toronto <-> Bangalore
|
|
|
|
Hi,
I have a jobstep which uses PROC A from location A and another jobstep in the same JCL which uses PROC B from location B. Can I specify the location of procs for every step. If I specify JCLLIB, I can provide location for one PROC only and the second PROC is not getting executed.
Karthik. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
karthikbabudh wrote: |
Can I specify the location of procs for every step. |
No. You're only allowed the one JCLLIB statement.
karthikbabudh wrote: |
If I specify JCLLIB, I can provide location for one PROC only and the second PROC is not getting executed. |
Why? Why aren't you providing the locations for BOTH procs in the one JCLLIB statement? The dataset names listed in the ORDER parameter can be concatenated:
// JCLLIB ORDER=(PROCLIB.ONE,PROCLIB.TWO,PROCLIB.THREE)
Reference for JCLLIB Syntax. |
|
Back to top |
|
|
karthikbabudh
New User
Joined: 08 Sep 2003 Posts: 32 Location: Toronto <-> Bangalore
|
|
|
|
Kevin,
I tried specifiying both the proc locations in single JCLLIB as you said but got the following error,
IEFC001I PROCEDURE PAJBATCH WAS EXPANDED USING PRIVATE LIBRARY
IEFC605I UNIDENTIFIED OPERATION FIELD
IEFC605I UNIDENTIFIED OPERATION FIELD
IEFC001I PROCEDURE CATLOG12 WAS EXPANDED USING PRIVATE LIBRARY
IEFC019I MISPLACED JCLLIB STATEMENT
Karthik |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It will help if you post the jcl that was submitted with the complete diagnostic info. |
|
Back to top |
|
|
|