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
 

 

Overriding JCL's -- StepLibrary

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Overriding JCL's -- StepLibrary
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: 90

PostPosted: Tue Jun 10, 2008 4:05 pm    Post subject:
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: 1703
Location: Australia

PostPosted: Tue Jun 10, 2008 4:15 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 10, 2008 4:58 pm    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Tue Jun 10, 2008 4:59 pm    Post subject:
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: 1703
Location: Australia

PostPosted: Tue Jun 10, 2008 5:06 pm    Post subject:
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

Site Director


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

PostPosted: Tue Jun 10, 2008 9:13 pm    Post subject:
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    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 Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL overriding concept s.saranya srinivasan JCL & VSAM 14 Wed Oct 07, 2015 4:07 pm
No new posts Overriding the default Code page rikdeb PL/I & Assembler 2 Fri Aug 09, 2013 12:12 am
No new posts Overriding SYSOUT of IKJEFT01 to a da... enrico-sorichetti IBM Tools 8 Sun Apr 07, 2013 5:19 am
No new posts Overriding dd statements in cataloged... Harsha1525 JCL & VSAM 15 Thu Jul 26, 2012 3:04 pm


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