From (or Old) Field Mapping panel
The From Field Mapping panel (or Old Field Mapping panel) provides a list of fields in the “From” or “Old” copybook or template that can be mapped to the selected field in the “To” copybook or template. If called from within the Copy Utility or the Template Workbench and the field does not qualify as a sending field for the selected TO field, the prefix command area is protected (see Field mapping rules).
This panel is displayed when the E prefix command is entered against a field on the Field Mapping panel.
Note: If called from the Compare Data
Utility, the panel displays all labels with “New” instead
of “To” and “Old” instead of “From”.
Panel and field definitions
- To (or New) template/copybook
- The name of the copybook or template that contains the record descriptions for the "New" data set.
- From (or Old) template/copybook
- The name of the copybook or template that contains the record descriptions for the "Old" data set.
- To (or New) field
- Field reference number and name of selected "New" field
- From (or Old) field
- Field reference number and name of selected "Old" field
- Corresponding
- Used to specify whether File Manager should automatically map
subordinate elementary fields when the “To” or “New”
and “From” or “Old” fields are group fields.
Specify
Y
if you want each elementary field in the “From” or “Old” group field mapped to a field in the “To” or “New” group field with the same name. Specify N if you only want the “From” or “Old” field mapped to the “To” or “New” field as though both fields were elementary fields. - Sel
- Select field - used to select the “From” or “Old”
field you want to map to the “To” or “New”
field. You can select the field by entering
S
in this field. - Ref
- From field reference - shows the field reference number assigned by File Manager to the field name in the “From” or “Old” template.
- Lev and Field Name
- Shows the level number and field name of fields in the “From” or “Old” template that can be validly mapped to the “To” or “New” field. If the selected “To” or “New” field is a level-01 field, only level-01 fields in the “From” or “Old” template are listed. For a “To” or “New” field other than a level-01 field, only those “From” or “Old” fields that can validly be moved to the selected “To” or “New” field are listed for selection.
- Type
- Shows the data type of the “From” or “Old” field.
- Start
- Shows the start column of the “From” or “Old” field.
- Length
- Shows the length of the “From” or “Old” field. For a level-01 field, if the record is variable length, the length shown is the maximum record length.
- Delete "from field" (or Delete "old field")
- Select this entry if you want to clear the “From” or “Old” field that is currently selected for mapping to the “To” or “New” field.