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
 

 

JCL steplib override - not pointing loadlib correctly

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Thu Aug 28, 2008 1:20 am    Post subject: JCL steplib override - not pointing loadlib correctly
Reply with quote

Hi,
I have program A calling program B, which in turn calls programs C-Z.
I made some changes in program B. Compiled to my local dataset.
Provided the following overrides, but it is not taking my modified load module and still pointing to production library.
Prod load library is required for other modules.

My JCL
Code:
//STEPXXS.STEPLIB DD DISP=SHR,DSN=<My PDS>
//         DD DISP=SHR,DSN=<Prod Load lib>
//         DD DISP=SHR,DSN=SYSDB2.DBMS.DEVR1.SDSNLOAD
//*                   



My proc has
Code:
//STEPLIB  DD DISP=SHR,DSN=SYSDB2.DBMS.DEVR1.SDSNLOAD
//         DD DISP=SHR,DSN=<Prod load lib>


Have anyone faced this problem? pls help

Appreciate your help and time.
Thanks,
Viji
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2038
Location: Silicon Valley

PostPosted: Thu Aug 28, 2008 2:35 am    Post subject: Reply to: JCL steplib override - not pointing loadlib correc
Reply with quote

Did you look at your PDS to ensure it has your new program? Is there some eyecatcher there so you can readily see it is the new version?

Did you linkedit?
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: Thu Aug 28, 2008 2:53 am    Post subject:
Reply with quote

Hello,

Is the "old" version of pgmB statically linked into pgmA?
Back to top
View user's profile Send private message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Thu Aug 28, 2008 8:35 pm    Post subject: Reply to: JCL steplib override - not pointing loadlib correc
Reply with quote

yes. program B is statically linked to Program A. I compiled first B, then A pointing to the modified load ilb.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Aug 28, 2008 8:51 pm    Post subject:
Reply with quote

Possibility 1: <MY PDS> doesn't contain the program. In this case, the production version is being picked up via the concatenation. Try removing the concatenation and run with only your PDS as the STEPLIB; if it doesn't find the program then your PDS needs to be updated with the program.

Possibility 2: STEPXXS isn't the right step to override the STEPLIB in. Verify your override statements (XX and X/ in the expanded JCL listing) are correctly located.

Possibility 3: <MY PDS> contains the production version of the program. Try removing the concatenation and run with only your PDS as the STEPLIB; if it still picks up the wrong version then you know your PDS has the wrong version.

Possibility 4: <MY PDS> isn't a load library. Run AMBLIST on your <MY PDS> for the program to confirm the load module attributes.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2038
Location: Silicon Valley

PostPosted: Thu Aug 28, 2008 10:27 pm    Post subject: Reply to: JCL steplib override - not pointing loadlib correc
Reply with quote

Quote:
program B is statically linked to Program A.

Sorry, but your statement is not clear to me.

Is program B a load module by itself? That is, is 'B' a member of the load lib?

Or is there a single load module which consists of both program A and program B?

Quote:
I compiled first B, then A pointing to the modified load ilb.

The key is not the compile, but the link edit.
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: Fri Aug 29, 2008 12:51 am    Post subject:
Reply with quote

Hello,

It may help if you post the CALL from pgmA and link edit output from pgmA.

You could also try to recompile pgmA usng a dynamic call . . .
Back to top
View user's profile Send private message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Fri Aug 29, 2008 1:38 am    Post subject: Reply to: JCL steplib override - not pointing loadlib correc
Reply with quote

Thanks everyone for your time.
One of the member in link library was not correct...Its fixed now.
Thanks,
Viji
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: Fri Aug 29, 2008 3:02 am    Post subject: Reply to: JCL steplib override - not pointing loadlib correc
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts Symbolic OverRide within a 'Include' ... Sysaron JCL & VSAM 7 Thu Aug 27, 2015 10:51 pm
No new posts how to concatenate two cobol loadlib ... boyti ko CLIST & REXX 2 Mon Jun 29, 2015 4:41 pm


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