IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding Compiling and Linking in different environments.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Thu Oct 23, 2008 11:22 am
Reply with quote

Hi Everybody,

I'm not quite sure if this is the right place to post this question. It is about compilation and link edit in different regions.

I have seen some shops where they compile the source code only in DEV region and move only load lib and DBRM to next level. They only BIND in the next levels. In our shop we compile, link edit and BIND in all the regions.

say our PL1, DB2 program will be comipiled, link edit and BIND in DEV,TEST, USER TEST and PROD also. I was told that moving the LOADLIB and DBRM to next level is a good practice. Is this true.?

As per my knowledge Its good to compile in every region so that they will be compiled with the respective Language environment parameters.

Is there any significant reason to move LOADLIB and DBRM instead of compiling again.?

Please let me know your comments. Thank you.!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 23, 2008 8:23 pm
Reply with quote

Hello,

One of the drawbacks of compiling over again for each "step up" is that the resulting load modules are un-tested. If a production module abends or gives incorrect results, time is often lost determining if the problem is actually the code or simply the excecutable.

My personal preference is to compile/link one time and promote the executable.

As time goes by, there are more organizations (that i've been involved with) that are trying to change to where they compile at muiltiple levels and so far, most of them have found it more work than any value added. I've talked with other people who have done this for years with no problems. A lot depends on how the infrastructure is set up and how well the CM function is administered.
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Wed Oct 29, 2008 6:09 pm
Reply with quote

Thanks Dick.!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts linking an ALC program to a Relationa... PL/I & Assembler 1
No new posts Can rexx be exected in cics(online) e... All Other Mainframe Topics 3
No new posts Error when compiling a REXX exec with... CLIST & REXX 2
No new posts Z/OS hosted on Linux (zDT) or zVM - T... All Other Mainframe Topics 0
No new posts Compiling program in endeavor for tra... Compuware & Other Tools 4
Search our Forums:

Back to Top