Loading...
   
      
 
                    Select Version
                  
                   
                
                          &pagelevel(3)&pagelevel
/start-lmsconv                                                             1.
%  LMC0310 LMSCONV VERSION '<version>' STARTED
//modify-logging-parameters logging=*maximum                               2.
//open-library library=tst.bib,mode=*update                                3.
//modify-element (element=tst.ele,type=l)                                  4.
//modify-modification-defaults csect=test                                  5.
//add-text-modification address=x'e0',
       new-contents='ZZ'(old-contents='aa')                                6.
//end-modify                                                               7.
INPUT  LIBRARY= :2OSX:$USER.TST.BIB
OUTPUT LIBRARY= :2OSX:$USER.TST.BIB
INPUT  ELEMENT= (L)TST.ELE/031(0001)/<date>
OUTPUT ELEMENT= (L)TST.ELE/031(0002)/<date>
TEXT-ADR:            000000E0
TEXT BEFORE CHANGE:  a a
8181
TEXT AFTER  CHANGE:  Z Z
E9E9
CORRECT (L)TST.ELE/031(0001)/<date> AS 
(L)TST.ELE/031(0002)/<date> , OUTPUT REPLACED 
//END                                                                      8.
- LMSCONV is called. 
- The entire LMSCONV log is output. 
- The TST.BIB library is assigned. It must be opened for reading and writing; otherwise, no modification of the link load module is possible. 
- The link load module TST.ELE is to be modified. 
- This substatement specifies the CSECT to be corrected. 
- This substatement replaces the original text “aa” at address E0 of the CSECT TEST with the replacement text 'ZZ'. 
- The input of the substatement is terminated. The substatements are then executed. 
- LMSCONV is terminated.