Defining the unformatted layout selection condition
As illustrated in Formatted XREF Definition. Specifying the Selection Condition, the ORDER-TYPE field is located in column 11 of each data record. When the ORDER-TYPE field is equal to "SC", the ORDERSC member is to be used to format the data.
Unformatted XREF Definition Screen. Specifying the Layout Selection Condition.
Steps:
- Type END on the COMMAND line.
- Type 11 in the Position column on the first input line.
- Type EQ (equal) in the RO column on the first input line.
- Type SC in the data value column to the right of the EQ on the first input line.
- Press Enter. File-AID captures your condition and returns to the Define XREF screen, as illustrated in Define XREF Screen. Selecting Multiple Layouts Member ORDERWO.
More About Unformatted XREF Definition
- Valid RO operators include: BT, EQ, GE, GT, LE, LT, MX, NB, NE, and NO.
- The following codes are not allowed when defining an XREF: CO and NC.
The value you specify in the Position field can be a relative position by using one of the following Position values:
Position
Description
*n
(asterisk "n") where n represents a byte of data relative to data record byte 1. The *n notation is used for SEG (segment) type layouts when the determination of the presence of a segment is based on a data field in the base portion of the record rather than the segment itself.
-n
(minus "n") where n represents a byte of data relative to the end of the currently displayed layout. The -n notation is used for SEG (segment) type layouts when the determination of the presence and format of the next segment of record data is based on a data field in the currently displayed segment (or base) portion of the record rather than the next segment itself.
+n
(plus n) where n represents a byte of data beyond the end of the currently displayed layout. The+n notation is implied when no special character (+, -, *) precedes a Position value for SEGMENT status layouts. With +n or n alone, the determination of the presence and format of the next segment of record data is based on a data field in the next segment itself.
- Valid line commands include:
- A (After)
- B (Before)
- C (Copy a line to A or B marker)
- D (Delete line)
- I (Insert)
- M (Move)
- R (Repeat).
- Use the CANCEL command to stop unformatted XREF criteria processing and return to the Define XREF entry screen.