*ALL is optional. If *ALL is specified and the name operand
is a multiple occurrence data structure or a table name, all occurrences
or table elements are reset and the occurrence level or table index
is set to 1.
The
name operand specifies the variable to
be reset. The particular value for this operand determines the reset
action as follows:
- Single occurrence data structure
- All fields are reset in the order in which they are declared
within the structure.
- Multiple-occurrence data structure
- If *ALL is not specified, then all fields in the current occurrence are reset. If *ALL is specified,
then all fields in all occurrences are reset.
- Table name
- If *ALL is not specified, then the current table
element is reset. If *ALL is specified, then all table elements are
reset.
- Array name
- Entire array is reset
- Array element (including indicators)
- Only the element specified is reset.