data All_Metadata_Object_types (keep=id name PublicType ApplicablePermissions desc);
length id $20 name PublicType $70 _uri ApplicablePermissions desc $256 ;
_nobj=1;
_n=1;
call missing(id, _uri, name, PublicType, ApplicablePermissions ,desc);
do while(_n le _nobj);
_nobj=metadata_getnobj(“omsobj:TypeDefinition?@Id contains ‘.'”,_n,_uri);
_rc=metadata_getattr(_uri,“Id”,id);
_rc=metadata_getattr(_uri,“Name”,name);
_rc=metadata_getattr(_uri,“PublicType”,PublicType);
_rc=metadata_getattr(_uri,“ApplicablePermissions”,ApplicablePermissions);
_rc=metadata_getattr(_uri,“Desc”,Desc);
output;
_n=_n+1;
end;
run;