MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Latest load not picked up
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Tue Dec 07, 2004 12:24 am    Post subject: Latest load not picked up Reply with quote

Hi,

I have a PL1 module A that calls PL1 module B. Module B is called by other PL1 modules as well. Whenever i make a change to module B and link it with module A and load it, the latest changes are not reflected. Whereas the other modules that call module B get the latest changes. Is there any way to forcefully make the latest version of the load to be picked up?

Thanks,
Back to top
View user's profile Send private message
Raaj
Beginner


Joined: 03 Nov 2004
Posts: 7
Topics: 3
Location: India

PostPosted: Tue Dec 07, 2004 4:30 am    Post subject: Latest load module Pick Reply with quote

Can you look the concatenation of the loadlibs.May be incorrect?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Tue Dec 07, 2004 8:55 am    Post subject: Reply with quote

whizkid79,

How is the Module A calling module B? is it a dynamic call or a static call? Raaj's suggestion also might be a cause.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Tue Dec 07, 2004 9:35 am    Post subject: Reply with quote

Kolusu,
Its a static call.
Raaj...Can you please elaborate on the concatenation. I couldn't understand.

Whizkid79
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Tue Dec 07, 2004 9:44 am    Post subject: Reply with quote

whizkid79,

Quote:

Its a static call.


Ok did you follow these steps?

1. Compile & link edit the PGM B (subroutine)
2. Compile & link edit the PGM A ( Main pgm - this will pick up the latest load module of subroutine)
3. Run the pgm A

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Tue Dec 07, 2004 10:38 am    Post subject: Reply with quote

All the 3 steps were done. But of no use.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Tue Dec 07, 2004 11:00 am    Post subject: Reply with quote

whizkid79,

Also make sure that you are picking the correct loadlib in your steplib

ie.
Code:

//STEP0100 EXEC PGM=MYPGM
//STEPLIB  DD DSN=YOUR TEST LOADLIB,
//            DISP=SHR
//         DD DSN=YOUR PREP LOADLIB,
//            DISP=SHR
//         DD DSN=YOUR PROD LOADLIB,
//            DISP=SHR


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Tue Dec 07, 2004 11:20 pm    Post subject: Reply with quote

I'm using the correct loadlib.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Dec 07, 2004 11:29 pm    Post subject: Reply with quote

Whizkid79,

I hope the load libraries of PGM A & B are the same. Just wanted to confirm. Make sure they are compiled and stored in same load PDS or when link-editing PGM A make sure u provide the load of PGM B.

Thanks,

Phantom
Back to top
View user's profile Send private message
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Tue Dec 07, 2004 11:32 pm    Post subject: Reply with quote

The load libraries are same. All the loads are stored in one PDS and the same is used in the JCL.
Back to top
View user's profile Send private message
Raaj
Beginner


Joined: 03 Nov 2004
Posts: 7
Topics: 3
Location: India

PostPosted: Wed Dec 08, 2004 12:31 am    Post subject: Latest load not picked up Reply with quote

Hi Whiz,

Better post the Jcl with the steps compile and link edit?


Raaj.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Dec 08, 2004 1:37 am    Post subject: Reply with quote

Did A completely finish or is it still in use between changes? What environment are you running (TSO, ISPF, batch, CICS, etc). Most likely, a copy of A is still in storage because A is still being run. A could also be in a library which is controled by LLA or VLF or TRX (or similar) and they need refreshing. You need to find out where the actual module is being loaded from (disk, job pack area, link list or LPA). It probably isn't coming from where you think it is. If this is in TSO or ISPF, use ISRDDN to find out where it is being loaded from. You may also want to browse the load module to see if the CSECT for B is there with the changes you expect (add a static eye-catcher), or use a debugger or TSO test to be sure the module is even being called at all. Or change A and see if you are seeing those changes. You could also link it non-reentrant. There are only a few ways you will get this problem, but many ways to track it down.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Wed Dec 08, 2004 5:29 am    Post subject: Reply with quote

whizkid79,

Are your pgms CICS or IMS DC programs? If it is a CICS pgm then did you issue a NEW COPY ? If not then you will pick up the old load module.

If it is a pure batch program then ignore my post

Thanks

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Fri Dec 10, 2004 12:02 am    Post subject: Reply with quote

Its an ordinary program. No CICS or DC.
Everytime i'm compiling the called module (module B), its overwriting the existing object load.
Back to top
View user's profile Send private message
dtf
Beginner


Joined: 10 Dec 2004
Posts: 110
Topics: 8
Location: Colorado USA

PostPosted: Fri Dec 10, 2004 4:07 pm    Post subject: Reply with quote

Start by completly deleting the load modules for the PGM-A, and PGM-B. Then follow the procedure above (Compile and Link order).

There are a number of possible reasons for your problem

You may not actually be replacing the subroutine module in the load library

You may not be getting a new copy of your subroutine into the composite load module

You may have not named the subroutine correctly, and thus it is not picked up

The Composite load module is not being named properly, and so you are not executing what you think you just recompiled



Anyway, if you delete the existing modules, and start from scratch it may identify the problem for you.

If you are not doing explicit includes in a link deck, then you are automatically resolving external modules (subroutines). These would be pulled from the SYSLIB, and would be pulled from the libraries in the order of the contcatonation
________
Jaguar XK history


Last edited by dtf on Tue Feb 01, 2011 1:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group