Selecting a layout structure from an available layouts list
As described earlier, the ORDERWO layout member contains two 01 level structures:
- OUTSIDE-VENDOR-WORK-ORDER
- INTERNAL-WORK-ORDER
The OUTSIDE-VENDOR-WORK-ORDER layout is used when the ORDER-TYPE is "WO" and the CONTRACT-INDICATOR is "OV".
The INTERNAL-VENDOR-WORK-ORDER layout is used when the ORDER-TYPE is "WO" and the CONTRACT-INDICATOR is "IN".
Since both of these structures exist within the same source layout member, you can use the Beginning Data-Name field to specify which structure to use for each set of rules. You may either type in the data-name or leave the data-name field blank when you use either of the criteria access line commands: S or SU.
Use the S line command to the left of the 01-level structure you want, in this case, OUTSIDE-VENDOR-WORK-ORDER.
List of Available Layouts Screen. Selecting an 01-Level Structure.
Steps:
- Type S in the S column just left of member number 2, member name ORDERWO with an 01-level Name of OUTSIDE-VENDOR-WORK-ORDER.
- Press Enter. File-AID displays the Formatted XREF Definition screen showing the ORDERWO member’s structure for OUTSIDE-VENDOR-WORK-ORDER layout, as illustrated in Formatted XREF Definition. Specifying a Compound Condition.