Interpreting the nature of a source line
Following the propagation and automatic transformation stages, the source lines (placed in the ARDCHSF1 file and accessible using AWRKFRMCHG
) include a word indicating the nature of the marking and the modification. The following table displays the list of different possible words:
- Marked source lines
-
Words indicating marked source lines Words Description MRK... A non-modified propagated line. MRKDEF A non-modified line containing the definition of a propagated field. - Modified source lines
-
Words indicating modified source lines Words Description CHGDEF A changed field definition. CHGPOS A changed field position (in I Card, O Card or in a Data structure) in the case where there is a position shift due to earlier extensions or field additions. RENFLD A renamed field. CHGSST A position or length changed in a SUBSTRING (RPG,RPGLE,CLP). CHGOVL An overlay position changed in an overlay(xxx :y) in RPGLE. CHGKEY A changed key (in a KLIST). LENPOS A modified length and position in a DSPF/PRTF. MSGLEN A shortened message size in a DSPF/PRTF. CHGDDS A modified DDS DSPF/PRTF line. CHGEDT A modified Edit Code. CHGFIL A modified file declarative (internal description). - Deleted source lines
-
Words indicating deleted source lines Words Description DLTDEF Deleted field definition. DLTFLD Deleted field. - Added source lines
-
Words indicating added source lines Words Description NEWDEF-I A new definition of a newly-added field. NEWFLD-I A duplicated instruction for processing the newly-added field (and the associated fields). RENFLD-I A renamed field. HIDDEN-I A new field definition, added as a hidden field. NEWKEY-I A new field added as a key. - Added source lines originating from a standard routine
-
Words indicating added source lines originating from a standard routine Words Description INS*BEFORE A source line inserted before file update, write, or display. INS*AFTER A source line inserted after file update, read, or input. INS*ONCxxx A source line added to a program once.
When applying the modifications, the following character will be placed in position 5 of the source line:
- V: Verified line (Only marked)
- C: Changed line (Modified)
- I: Inserted line (New line)
- D: Deleted line (if still present in comment)