29 rc=metadata_pathobj(
"",
"&target",
'StoredProcess',type,uri);
30 call symputx(
'cmtype',type,
'l');
31 call symputx(
'stpuri',uri,
'l');
33%
if &cmtype ne ClassifierMap %then %
do;
34 %put NOTE: No Stored Process found at ⌖
38filename __in temp lrecl=10000;
39filename __out temp lrecl=10000;
42 put
"<DeleteMetadata><Metadata><ClassifierMap Id='&stpuri'/>";
43 put
"</Metadata><NS>SAS</NS><Flags>268436480</Flags><Options/>";
44 put
"</DeleteMetadata>";
46proc metadata in=__in out=__out verbose;run;
49data _null_;infile __out; input; list; run;
60 call missing (of _all_);
61 rc=metadata_pathobj(
"",
"&target",
'Note',type,uri);
62 call symputx(
'isgone',type,
'l');
64%
if &isgone = ClassifierMap %then %
do;
65 %put %str(ERR)OR: STP not deleted from ⌖