Record Type Mapping panel

This panel is used to specify which record type, in a copybook or template that contains multiple records types, is to be mapped to the records in a “From” or “Old” template. It is displayed when “edit template” has been requested from the “To” panel of the Copy Utility, the “New” panel of the Compare Data Utility or the Map To panel of the Template Workbench, and the “To” or “New” template or copybook contains multiple record types.

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

Figure 1. The Record Type Mapping panel
  Process   Options   Help
 ──────────────────────────────────────────────────────────────────────────────
File Manager                  Record Type Mapping                   Line 1 of 2

To           USERID.TEMPLATE(FMNCCPY2)
From         USERID.TEMPLATE(COPYTST1)

Cmd To Field Name                Len   From Field Name                      Len
    ****  Top of data  ****
    NEW-TYPE01                    84 | REC-TYPE01                            80
    NEW-TYPE02                   100 |
    ****  End of data  ****







 Command ===> _____________________________________________________ Scroll PAGE
  F1=Help      F2=Split     F3=Exit      F4=CRetriev  F5=RFind     F6=Describe
  F7=Up        F8=Down      F9=Swap     F12=Cancel                              
TO (or NEW) template/copybook
The name of the copybook or template that contains the record descriptions for the “To” or “New” data set.
FROM (or OLD) template/copybook
The name of the copybook or template that contains the record descriptions for the “From” or “Old” data set.
(To or New) Field name
Shows the field name and length of the level-01 fields in the “To” or “New” template.
(From or Old) Field name
Shows the field name and length of the level-01 fields in the “From” or “Old” template that have been mapped to the “To” or “New” level-01 fields.
Cmd
Prefix command area - used to enter a template editor prefix command. Enter S or E to edit the field mapping.

Parent panels

Child panels

Related tasks and examples