What is the SAS LIBNAME statement and how is it used?

A LIBNAME statement is used in a SAS program to associate a "library reference name" with an external SAS data library whose members include SAS data sets and SAS cataloges. The general form of the SAS LIBNAME statement is:

LIBNAME libref 'lib_path'  ;

Where: