EXPAND_OCCURS
When a record layout contains an OCCURS or ODO, the EXPAND_OCCURS parameter specifies to print all occurrences (YES) or only the first occurrence of each field.
The syntax of the EXPAND_OCCURS parameter is:
EXPAND_OCCURS={Y}
{N}
Y
(Default) Print all occurrences.
N
Print only the first occurrence.
- Only the first occurrence of an OCCURS/ODO will print
- Each field number is printed once
- Printed FLD START position is for the first occurrence
Example:
$$DD01 XRPRINT RLPRINT=YES,MEMBER=(INVXREF),EXPAND_OCCURS=N
This example only prints the first occurrence of an OCCURS/ODO in the record layouts associated with the specified XREF.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*