Example: Submitting the LIBNAME Statement

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.
    libname myeng meta library=mylib
       repname=temp metaserver='a123.us.company.com' port=8561 
       user=idxyz pw=abcdefg;