Identifying the source and target record layouts
The Reformat Record Layouts - Create Mode screen is displayed only when you are creating a new reformat definition. The information you enter on this screen defines the record layouts (source and target) for your new reformat definition.
Reformat Record Layouts - Create Mode. Identify Source and Target Record Layouts and Options
Steps:
- Verify that the Record layout usage field in the Source information area of the screen contains a value of S.
- Type FASAMP.LAYOUTS in the Record layout dataset field.
- Type EMPLOYEE in the Member name field.
- Verify that the Record layout usage field in the Target information area of the screen contains a value of S.
- Type FASAMP.LAYOUTS in the Record layout dataset field.
- Type EMPLOYE2 in the Member name field.
- Verify YES in the Move corresponding field.
- Press Enter. File-AID displays the Reformat Definition Editor screen as shown in Reformat Definition Editor.
More about the reformat record layouts screen
- When you leave the OPTION field blank to create a new reformat definition, File-AID displays the information flag CREATE MODE in the top right corner of the display.
When you specify YES in the Move corresponding field, File-AID matches the source and target layout field names and automatically assigns field references to request data movement during the reformat. File-AID does not automatically match COBOL FILLER fields.
Use the optional Ignore prefix and Ignore suffix fields when field names in the source and target layouts are similar, but have a different prefix or suffix. File-AID uses the values in these fields to match field names in this case.
- If you use an XREF for either the source or target layout, File-AID presents a list of layout members for you to choose. If you choose a BASE layout for the source, File-AID automatically reformats only those records with the matching record type values. You must not choose a DEFAULT-BASE layout for a target. If you execute in batch, you need to add DD01XR and DD01RL statements to the batch JCL to identify the XREF member and layouts library.