find record name for multi member set
search cancel

find record name for multi member set

book

Article ID: 128964

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction



I have a multi-member set.  I'd like to walk the set to identify how many of each type of record there is in this one set occurrence.  If I walk the set in the next direction,
OBTAIN NEXT WITHIN multiset    without specifying the record name,
how can I identify which record type I am accessing?

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component:

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.