On Thu, 8 Mar 2012 12:56:32 -0500, Tony Harminc wrote:

>//SYSLMOD  DD  DSN=main.loadlib
>//NEWMOD  DD  DSN=load.library.where.you.put.the.new.module
>//SYSLIN  DD  *
> INCLUDE NEWMOD(BA4C1426)
> INCLUDE SYSLMOD(BA4C1976)
> NAME BA4C1976(R)

In order for this to work correctly, an ENTRY statement 
is needed:

//SYSLMOD  DD  DSN=main.loadlib
//NEWMOD  DD  DSN=load.library.where.you.put.the.new.module
//SYSLIN  DD  *
 INCLUDE NEWMOD(BA4C1426)
 INCLUDE SYSLMOD(BA4C1976)
   ENTRY  BA4C1976                
 NAME BA4C1976(R)

The binder will include the new BA4C1426 first, then the 
old BA4C1976.  The old BA4C1976 contains a BA4C1426 
CSECT, but since you have already included a CSECT by 
that name, the old BA4C1426 CSECT is not retained.  
The ENTRY statement is needed or the entry point for 
the new load module would be BA4C1426.

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to