Updating Load Modules (2 of 2)



Opposite is an extract from the SYSPRINT of the Compile and Link Edit of an amended RDRRTN.

RDRRTN is located from SYSLIN, with the MAINRTN and WTRRTN modules being located due to the INCLUDE statement from SYSIN which is concatenated to SYSLIN.

The RDRRTN already in MAINRTN is discarded as a duplicate, as it is found after the one on SYSLIN.

As RDRRTN is now the first Control Section within the load module, the ENTRY statement for MAINRTN is now required, to ensure processing starts at the correct instruction.

This output of the Link-Edit of a modified RDRRTN



z/OS V2 R2 BINDER     11:19:03 MONDAY AUGUST 27, 2018         
BATCH EMULATOR  JOB(VERTRSRR) STEP(S0010   ) PGM= HEWL      PR
IEW2278I B352 INVOCATION PARAMETERS - MAP,LET,LIST,NCAL       
IEW2322I 1220  1     INCLUDE SYSLMOD(MAINRTN)                 
IEW2322I 1220  2     ENTRY MAINRTN                            
IEW2322I 1220  3     NAME MAINRTN(R)                          
                                                              
                         *** M O D U L E  M A P ***           
                                                              
---------------                                               
CLASS  B_TEXT            LENGTH =      418  ATTRIBUTES = CAT, 
                         OFFSET =        0 IN SEGMENT 001     
---------------                                               
                                                              
 SECTION    CLASS                                      -------
  OFFSET   OFFSET  NAME                TYPE    LENGTH  DDNAME 
                                                              
                0  RDRRTN             CSECT       12C  SYSLIN 
                                                              
              130  MAINRTN            CSECT       1C1  SYSLMOD
                                                              
              2F8  WTRRTN             CSECT       120  SYSLMOD

Copyright © Legac-e Education 2015-