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
 

 

PL1 recompilation program list

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: PL1 recompilation program list
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 21, 2009 5:10 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Jul 21, 2009 5:19 pm    Post subject:
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: 6967
Location: porcelain throne

PostPosted: Tue Jul 21, 2009 5:21 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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