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
 

 

-805 on static calls to db2 modules

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Kumara Mangal

New User


Joined: 19 Apr 2007
Posts: 2
Location: India

PostPosted: Wed Feb 20, 2008 5:51 pm    Post subject: -805 on static calls to db2 modules
Reply with quote

I have the following problem. Please let me know a solution to this problem.

There is a common db2 module(Prog XX) which is statically called in many of the programs which I use.

The pattern of the static calls looks some thing like this

Myprog-->Prog-A-->Prog-B-->Prog-C----->Prog-D--->Prog-F

Now issues static calls Prog-B-->Prog XX
Prog-F--->Prog XX


We use a common load module to store the compiled load module to XXXX.Common.LOADS (My team mebers compiles in to this common load lib too)

Now my issues is if some body compile Prog XX ;I was forced to recompile all modules in order to run my program.

I tried then creating my own Load lib(XXXX.KUMAR.LOADS) and compiled all modules to this library and pointed this as my laod for running. This worked for a while. But if somebody else tried compiling (which is beyond my control) Prog XX;I would get a -805 when tried running My prog.

Can somebody can propose a solution to this? We have bind by package implemented set up for performing Bind (normally happens along with compile ie, uses an in house rexx exec to compile/bind to test region).
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Feb 20, 2008 6:08 pm    Post subject:
Reply with quote

Why are you doing static calls? Dynamic calls should solve your problem....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Feb 20, 2008 6:44 pm    Post subject:
Reply with quote

since you have automated jcl generation (your 'in house rexx'), why don't you make it smart enough to know that when module xxy is recompiled, all modules that are statically linked must be relinked.

moving your stuff out of a 'common' area to a 'private' area is rookie! Solve the problem, don't try to avoid it.

and as CICS Guy said, why does your shop still use antiquated methodologies? With the boxes that we have now, there is no excuse to continue with static linking.
Back to top
View user's profile Send private message
Kumara Mangal

New User


Joined: 19 Apr 2007
Posts: 2
Location: India

PostPosted: Thu Feb 21, 2008 12:13 pm    Post subject: Reply to: -805 on static calls to db2 modules
Reply with quote

These programs currently taken from prod for my changes in to it..and just can't go around and change all static calls to dynamic.


I knew the options which you guys mentioned cannot solve my problem as these are not on my hands(rewamp the raexx panel to perform compilation of statically linked modules), or even changing the existing calls in the programs to dynamic calls(these progs were written some time back and I know its impractical to use static calls)..

My interset is to find a way to solve my problem ;so that I could make my changes and can test it..

Any brillinat - help/suggestions/idea welcome
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Feb 21, 2008 12:51 pm    Post subject:
Reply with quote

what you have to do is check the load modules each time you go to test to insure nothing has changed. if it has, you need to relink - and if you don't have your endevor setup to allow you to relink an element, you need to recompile/relink.

your are stuck until your shop climbs out of the dark ages.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sending system service calls by AIBTDLI. lind sh IMS DB/DC 1 Wed Mar 16, 2016 6:51 pm
No new posts Scan for Calls to DB2 kctechpro2 IBM Tools 10 Fri Sep 04, 2015 11:31 pm
No new posts How to find possible traces of ARCH 7... Prosenjit2011 All Other Mainframe Topics 5 Mon Aug 17, 2015 10:53 am
No new posts Question on Static SQL Puspojit DB2 5 Thu Jul 02, 2015 10:57 pm
No new posts COBOL Update to 5.1, recompile all mo... vickey_dw COBOL Programming 1 Thu Jun 18, 2015 10:45 am


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