LMS provides the following two statements for correcting members; the type of the member(s) requiring correction determines which statement should be used:
EDIT-ELEMENT corrects text members with EDT
(member types S, M, J, P, D, X or types derived from them)MODIFY-ELEMENT corrects object modules, link and load modules, phases and text members via substatements
(member types R, L, C)
(member types S, M, J, P, D, X or types derived from them)
Correcting with EDIT-ELEMENT
The EDIT-ELEMENT statement (see "EDIT-ELEMENT") calls the editor EDT as a subroutine. The specified member is then processed using EDT statements. On termination of EDT, the corrected member is written to the output library. It may contain a new member designation.
Correcting with MODIFY-ELEMENT
The MODIFY-ELEMENT statement (see "MODIFY-ELEMENT") corrects object modules, link and load modules, phases and text members. Correction of these members is controlled by various substatements. These are read from the statement stream immediately following MODIFY-ELEMENT up to the END-MODIFY substatement.
The corrected member is then written back to the assigned library. It may receive a new member designation.
For types R, L and C, you may use the following functions:
correct text records
cancel corrections
delete record types from the input member
For type R only, you may also use the following functions:
generate REP records
modify control section attributes
rename symbols
For text members, you may use the following functions:
insert records
delete records