In SAS Enterprise Guide, if you submit multiple LIBNAME statements that point to the same physical path but use different librefs, the results might be incorrect. In the following example, A and B are different librefs for the same physical path, and a data set named TestClass is assigned to libref B.
In the Process Flow, you see that the data set TestClass is incorrectly associated with libref A instead of libref B.

A similar behavior occurs in SAS Add-In for Microsoft Office. The following display shows A.TestClass and B.TestClass opened in a Microsoft Excel file. There should be only a B.TestClass sheet.

Here is a possible workaround:
/*
* appserver_autoexec_usermods.sas
*
* This autoexec file extends appserver_autoexec.sas. Place your site-specific include
* statements in this file.
*
* Do NOT modify the appserver_autoexec.sas file.
*
*/
libname A meta library=A metaout=data;
libname B meta library=B metaout=data;