| DATA Step Functions for Reading and Writing Metadata |
Deletes the first object that matches the specified URI.
| Syntax |
rc = METADATA_DELOBJ(uri);
| Arguments |
| Argument | Direction | Description |
|---|---|---|
|
uri |
in | Uniform Resource Identifier |
| Return Values |
| Value | Description |
|---|---|
| 0 | Successful completion |
| -1 | Unable to connect to the metadata server |
| -2 | The deletion was unsuccessful; see the SAS log for details |
| -3 | No objects match the URI |
| Example |
options metaserver="a123.us.company.com" metaport=8561 metauser="myid" metapass="mypassword" metarepository="myrepos"; data _null_; rc=metadata_delobj("omsobj:Property?@Name='My Object'"); put rc=; run;
| Related Functions |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.