Sample code is available for SAS/ACCESS. This sample code contains examples that use the LIBNAME statement to associate librefs with DBMS objects such as tables.
You can find current samples at the SAS/ACCESS GitHub location.