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

Overriding JCL's -- StepLibrary


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

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Tue Jun 10, 2008 3:40 pm
Reply with quote

Hi all

I have one cataloged proc where it executes an utility which resides in a PDS. So that PDS is used as steplibrary in that proc.

I have another new PDS with that utility. I wanted to override by preparing my own run jcl by calling that cataloged procedure.

I did not receive error when I did JEM. But receive error when I submit the job.

Can we override STEPLIBRARY file in a cataloged procedure?

Please let me know if you have come across any error like this.

Thanks in advance.
Back to top
View user's profile Send private message
mohitsaini
Warnings : 1

New User


Joined: 15 May 2006
Posts: 92

PostPosted: Tue Jun 10, 2008 4:05 pm
Reply with quote

If I have understood your question properly then according to me YES we can override a steplib as well ... I have overridden STEPLIBS for load modules of programs .... for utilities too it would be the same thing as well ...

The syntax goes as

//STEP.STEPLIB DD DSN=

Please let me know if this is unclear or if I have misunderstood your Q ...
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Jun 10, 2008 4:15 pm
Reply with quote

Hi Mr.Niceguy,
what error did you get ? Can you post the error ?


Gerry
Back to top
View user's profile Send private message
Mr.Niceguy

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Tue Jun 10, 2008 4:31 pm
Reply with quote

Yes your understanding is exactly correct. But I used PDS aswell in rest of the steps. But I get error exactly at STEPLIBRARY.

Thanks for your response.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 10, 2008 4:58 pm
Reply with quote

Please post the error output as well as your code
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Tue Jun 10, 2008 4:59 pm
Reply with quote

HI,
Can you please post your code and error
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jun 10, 2008 4:59 pm
Reply with quote

Hi,

As asked earlier, what was the error & how did you code the overrides?Please show the JCL used & the error messages.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Jun 10, 2008 5:06 pm
Reply with quote

Hi.
be a NICE GUY and post the message icon_lol.gif


Gerry
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: Tue Jun 10, 2008 9:13 pm
Reply with quote

Hello,

Quote:
STEPLIBRARY.
You have capatalized this and combined the letters as though it were some jcl parameter/value. STEPLIBRARY is neither. How is STEPLIBRARY represented in your jcl?

As has been asked several times - might you post the problem jcl or post that you have your problem resolved?
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 AN OVERRIDE MAY NOT TARGET OVERRIDING... JCL & VSAM 1
No new posts DFSORT - Overriding default option TU... DFSORT/ICETOOL 3
No new posts Overriding PS data in rexx CLIST & REXX 8
No new posts JCL overriding concept JCL & VSAM 14
No new posts Overriding the default Code page PL/I & Assembler 2
Search our Forums:

Back to Top