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

PL1 recompilation program list


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

New User


Joined: 28 Jun 2006
Posts: 29
Location: DUISBURG

PostPosted: Tue Jul 21, 2009 3:13 pm
Reply with quote

Dear Members,

I am a PL1 programmer. I have a doubt related to preparation of re-compilation list.

Consider a scenario where module A calls sub-module B. Sub-module B calls sub-module C. Sub-module C has undergone a code change and sub-module B and module A do not require any code change.

1) In one shop, it is required to compile sub-module C and recompile module A. Sub-module B doesn't require any compilation.

2) In another shop, it is required to compile sub-module C, then recompile sub-module B and recompile module A.

3) Yet in another shop, it is required to compile only sub-module C provided module A is an online program.

What is the reason behind such handling in verious shops. What is the main driving force in the background for such handling in verious shops. Please help me understand this in a detail way.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 21, 2009 5:10 pm
Reply with quote

Site standards are typically the driving force. If modules B and C are dynamically called, there's no requirement to recompile any but the changed module -- but site standards may dictate otherwise.

Sites may mandate, for example, that all programs that use a copy book be recompiled if the copy book changes -- even if there's no length change involved -- just to ensure that all programs are current with the copy book.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Jul 21, 2009 5:19 pm
Reply with quote

There can be many reasons why an installation decides to do things a particular way.

1) The 'called' modules are linkedited with NCAL, so the 'driver' program - Program A - resolves all references. Since Program B didn't change, the unchanged version will be included at linkedit.

2) If the 'called' modules are not linkedited with NCAL, then Program B resolves the changed Program C at linkedit. Program B is then resolved by Program A's linkedit.

3) In this scenario, I'd say that the 'called' programs are dynamically called (FETCHed). These programs are not resolved at linkedit, being resolved at execution time. There is no dependency on the programs being 'online'.

From my point of view, if resolving modules at linkedit, it is preferable to specify NCAL for the sub-modules. Where multiple modules resolve a program name, which copy of that module is in effect is dependent on the linkage editor's selection. All copies, however, contribute to the load module size. Using NCAL for submodules removes the uncertainty and results in a smaller load module.

Garry.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue Jul 21, 2009 5:21 pm
Reply with quote

Jagannathan B wrote:
Please help me understand this in a detail way.


why have you not bothered to ask the site support people why their standards are so?

stop making uselss posts and talk to the people concerned, we can't.
Back to top
View user's profile Send private message
jagankallis
Warnings : 1

New User


Joined: 28 Jun 2006
Posts: 29
Location: DUISBURG

PostPosted: Wed Jul 22, 2009 3:36 pm
Reply with quote

Thanks to members for your time and patience. I got the answer.

Our site support are Japanese. They dont understand english like our senior member "Dick Brenholtz"
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 Using API Gateway from CICS program CICS 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top