In order for a multiple-libref join to be passed to Amazon Redshift, all of these components of the LIBNAME statements must match exactly:
For more information about when and how SAS/ACCESS passes joins to the DBMS, see Passing Joins to the DBMS.