The LIBNAME statement
assigns libref G to the DSN definition named FEDDSN, which defines
access to two BASE SAS schemas: SCHEMA1 and SCHEMA2. The SCHEMA= data
source processing option is specified in the LIBNAME statement to
reference SCHEMA2.
PROC DATASETS lists
the tables that are available in SCHEMA2.
PROC DATASETS listing of SCHEMA2
The first PROC PRINT
request specifies to print table G.CLASS2 from SCHEMA2. The schema
indicated in the LIBNAME statement is the active schema.
The second PROC PRINT
specifies to print table G.IDS from SCHEMA1. The SCHEMA= data set
option is used to change the focus of the FEDSVR engine from SCHEMA2
to SCHEMA1.