03-27-2017 06:02 AM
I have a preassigned library Lib1.
Libname Lib1 "C:\MyDevWork\folder\";
In the code, library Lib2 being used a lot. Lib2 is same as Lib1, One way of creating Lib2 is use the path of Lib1 in libname statement.
I want to know -"Is there any way I can create Libname for Lib2 using Lib1 without worrying the path of Lib1?"
03-27-2017 06:25 AM
Just use the libref, instead of the path:
03-27-2017 07:46 AM
You could also try
libname lib2 "%sysfunc(pathname(lib1))";
Need further help from the community? Please ask a new question.