In the Server List of my SAS Enterprise Guide session I have a white (unassigned) library which I can right-click to assign. Is there a programming statement, perhaps a libname statement, or task, that I can use in an EG project to automate this step?
4
votes
3 Answers
5
votes
4
votes
On the presumption that your libraries are white but already assigned - ie that you have to right-click 'assign' to gain access (and they turn yellow). You can automatically assign in code using a 'meta' libname statment. Something along the lines of this should work:
libname MYLIB meta LIBRARY=MYLIB;
Of course you could change the 1st MYLIB to any lib reference you want but it makes sense to keep them the same as the pre-assign by IT.