Determine record name for multi member set
search cancel

Determine record name for multi member set

book

Article ID: 128964

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

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?

Environment

Release: All supported releases.

Resolution

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.