Examples for the Metadata Engine |
This example shows two metadata LIBNAME statements. One statement uses defaults, and one statement specifies all of the arguments.
The following LIBNAME statement uses defaults. The connection information for the SAS Metadata Server is obtained from the metadata system options. Other defaults are obtained from metadata.
libname metaeng meta library=mylib;
This example specifies all of the LIBNAME statement options for the metadata engine to connect to the metadata server. It also specifies PropertySet objects in the LIBOPTSET= and CONOPTSET= arguments.
libname myeng meta library=mylib repname=temp metaserver='a123.us.company.com' port=8561 user=idxyz pw=abcdefg liboptset='libset2' conoptset='conset2' ;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.