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

image2021-6-18_12-28-29.png

Steps:

  1. Verify that the Record layout usage field in the Source information area of the screen contains a value of S.
  2. Type FASAMP.LAYOUTS in the Record layout dataset field.
  3. Type EMPLOYEE in the Member name field.
  4. Verify that the Record layout usage field in the Target information area of the screen contains a value of S.
  5. Type FASAMP.LAYOUTS in the Record layout dataset field.
  6. Type EMPLOYE2 in the Member name field.
  7. Verify YES in the Move corresponding field.
  8. 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.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*