Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using 2 procs from 2 different location in same JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Using 2 procs from 2 different location in same JCL
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

Moderator Team Head


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

PostPosted: Wed Dec 05, 2007 2:41 am    Post subject: Re: Using 2 procs from 2 different location in same JCL
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    Post subject: Reply to: Using 2 procs from 2 different location in same JC
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

Site Director


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

PostPosted: Wed Dec 05, 2007 3:35 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe opening for 3 to 10 yrs exp... Placementatpune Mainframe Jobs 0 Tue Jul 05, 2016 12:02 pm
This topic is locked: you cannot edit posts or make replies. MVS Assembler profiles for Pune Locat... shailesh_do Mainframe Jobs 0 Mon Feb 22, 2016 6:21 pm
No new posts File sorting and summing up values at... kenshin DFSORT/ICETOOL 3 Wed Sep 23, 2015 2:14 am
This topic is locked: you cannot edit posts or make replies. Mainframe Openings with Genpact - Noi... Keanehelp Mainframe Jobs 0 Wed Jul 08, 2015 6:13 pm
This topic is locked: you cannot edit posts or make replies. openings in many technologies for mul... vivekbhaier Mainframe Jobs 0 Wed May 27, 2015 11:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us