Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 109
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
References
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 510
Location: work

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

Global Moderator


Joined: 23 Nov 2006
Posts: 8643
Location: 221 B Baker St

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: 109
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

Senior Member


Joined: 06 Jun 2008
Posts: 891
Location: Atlanta, GA

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: 510
Location: work

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

Global Moderator


Joined: 23 Nov 2006
Posts: 8643
Location: 221 B Baker St

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: 109
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

Global Moderator


Joined: 23 Nov 2006
Posts: 8643
Location: 221 B Baker St

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1