This screen provides an outline of the selected COBOL data record/group.
It also allows you to make certain modifications to the layout of the data
record/group.
NOTE:
This page can be used to make alterations to the system only after successful
parsing of a set ofCOBOL program modules and prior to the Code Generation
Stage.
MAP Button
Primarily useful for checking how the REDEFINED fields
overlap on each other.
Select one of the group entries in the Tree View - (select the top most entry
to start with) - and then click on the Map button. You will be able to see how
the data-fields within the group fit together. The redefined fields are
overlapped.
Show/Hide Button Enables/disables the map area at the bottom of this screen.
Redefines, Ignore Redefines And Delayed Redefines Button
These buttons will only work on fields (or groups),
which were originally REDEFINED with another field. See
Redefines , Ignore
Redefines And Delayed Redefines in glossary, or the
following example.
Save Button
Allow you to save the changes you have made
Redefinitions
, or the fields lengths of data items. These changes will be kept in the
directory <Projects>\mods .
Note that the Parsing will have to be restarted before changes are effected.
Delete Button
Deletes the previous change made to the data files.
Note that the Parsing will have to be restarted before changes are effected.
Modify Field Length.
Allows definition of an assumed length for the field
variable. Note that after make any such modifications you will need to save the
changes. Also you will need to start processing on the affected programs again.
For example, assume your data file contains many
REDEFINITIONS. When you mapped the data-file you notice that field VAR-1
redefines field VAR-2 but the field lengths do not completely overlap
(i.e.

) and Var-1 has an assumed length of 7 and var2 has an assumed length of 6.
There are various options now available to you:
1- Change the REDEFINES on VAR-1 to DELATED-REDEFINES. This essentially creates
memory spaces for 2 variables instead of just the one. The system will however
attempt to equate the 2 variables where appropriate.
2- Change the Redefinitions on Var-1 to IGNORE-REDEFINES. This essentially
creates memory spaces for 2 variables instead of just the one. The system will
make no attempt to consolidate the two variables.