In a multi-member set, a program walks the set to identify how many of each type of record there is in one set occurrence. If the set is walked in the NEXT direction, e.g. OBTAIN NEXT WITHIN set-name, without specifying the record name, how can the program identify which record type is obtained each time?
Release: All supported releases.
Within the program, SUBSCHEMA-CTRL contains the field RECORD-NAME. This field will be filled in with the current record name when a successful OBTAIN is done.