19%macro mm_getdetails(uri
20 ,outattrs=work.attributes
21 ,outassocs=work.associations
26 keep assoc assocuri name;
27 length assoc assocuri name $256;
28 call missing(of _all_);
32 rc1=metadata_getnasl(
"&uri",n1,assoc);
36 rc2=metadata_getnasn(
"&uri",trim(assoc),n2,assocuri);
38 rc3=metadata_getattr(assocuri,
"Name",name);
41 call missing(name,assocuri);
47proc sort &sortoptions;
53 length type $4 name $256 value $32767;
54 rc1=1;n1=1;type=
'Prop';name=
'';value=
'';
56 rc1=metadata_getnprp(
"&uri",n1,name,value);
60 rc1=1;n1=1;type=
'Attr';
62 rc1=metadata_getnatr(
"&uri",n1,name,value);
67proc sort &sortoptions;