IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using 2 procs from 2 different location in same JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthikbabudh

New User


Joined: 08 Sep 2003
Posts: 32
Location: Toronto <-> Bangalore

PostPosted: Wed Dec 05, 2007 2:36 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Dec 05, 2007 2:41 am
Reply with quote

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
View user's profile Send private message
karthikbabudh

New User


Joined: 08 Sep 2003
Posts: 32
Location: Toronto <-> Bangalore

PostPosted: Wed Dec 05, 2007 2:55 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 05, 2007 3:35 am
Reply with quote

Hello,

It will help if you post the jcl that was submitted with the complete diagnostic info.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts how to show listing in physical locat... PL/I & Assembler 2
No new posts RMM Cannot move a volume from SHELF l... IBM Tools 0
No new posts copying data without knowing location DFSORT/ICETOOL 12
No new posts Mainframe opening for 3 to 10 yrs exp... Mainframe Jobs 0
Search our Forums:

Back to Top