Static linking and changeman



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Static linking and changeman

Postby shreya19 » Thu Mar 13, 2014 9:25 pm

Hi all,

I have a COBOL program A to be modified. It has static call to another program B.

I have included these two programs to the changeman package and promoted and tested it, it works well. However the Audit step fails.

It gives SYNCH8 and says there are 30 other programs that call program B and they have to be compiled first and then program B.

If I include these 30 programs, these further call and are called by many other programs around 200 or more.

Please suggest me how to resolve this.

Thank You!!!
shreya19
 
Posts: 6
Joined: Thu Mar 13, 2014 9:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Static linking and changeman

Postby shreya19 » Thu Mar 13, 2014 10:53 pm

Tried using dynamic linking. Then the job that calls these COBOL programs failes with S0C1 abend
shreya19
 
Posts: 6
Joined: Thu Mar 13, 2014 9:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Static linking and changeman

Postby enrico-sorichetti » Thu Mar 13, 2014 11:01 pm

something smells foul in the state of denmark :ugeek:

if You had changed also B then it would be proper to rebuild/promote/WTF all the callers

but since YOU told that only A was changed no reason to rebuild all the other thingies ?
I have a COBOL program A to be modified. It has static call to another program B.

why not speak to our support ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Static linking and changeman

Postby shreya19 » Thu Mar 13, 2014 11:11 pm

Unfortunately there is no support :(
shreya19
 
Posts: 6
Joined: Thu Mar 13, 2014 9:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Static linking and changeman

Postby enrico-sorichetti » Thu Mar 13, 2014 11:12 pm

Unfortunately there is no support


hard to believe,
who did the CHANGEMAN customization ?

I have not worked with CHANGEMAN
but under SCLM and ENDEVOR noooo way for something like that to happen
if the PACKAGES have been defined properly

just think a bit please, when You modify something
the integrity/consistency is guaranteed by rebuilding all the ancestor chain ( THE CALLERS )

no reason to rebuild the descendants ( THE CALLED )

looks like there is something wrong in the definitions
Last edited by enrico-sorichetti on Thu Mar 13, 2014 11:18 pm, edited 1 time in total.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Static linking and changeman

Postby shreya19 » Thu Mar 13, 2014 11:16 pm

Ex-team member. No longer in the company.
shreya19
 
Posts: 6
Joined: Thu Mar 13, 2014 9:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Static linking and changeman

Postby enrico-sorichetti » Thu Mar 13, 2014 11:19 pm

pretty shortsighted organization isn' t it

better if somebody with the proper authority takes care of it

Your organization cannot expect to get free consultancy on a forum
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Static linking and changeman

Postby NicC » Thu Mar 13, 2014 11:51 pm

The question is: why do anything with B when only A needed modifying? Endevor thinks B has been modified so it needs to be re-linked in. Just get rid of B out of your package and the original B load module will be linked in and Changeman will be happy.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Static linking and changeman

Postby shreya19 » Fri Mar 14, 2014 12:23 am

If I dont include B, i get following error while compiling A. Since A calls B statically.

MODULE B IDENTIFIED BY DDNAME SYSLIB IS NOT A VALID PROGRAM OBJECT. CODE 1
ERRORS ENCOUNTERED ATTEMPTING TO INCLUDE MEMBER B DURING AUTOCALL
SYMBOL B UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
shreya19
 
Posts: 6
Joined: Thu Mar 13, 2014 9:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Static linking and changeman

Postby dick scherrer » Fri Mar 14, 2014 1:00 am

Hello,

I'd recommend hyour organization "rent" an expert to review your implementation, document what you have, and teach you (or someone else) to be the new administrator. I'd be quite uncomfortable is i believed some/all of my source might be at risk.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Next

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post