How can we assign a library automatically on startup , using a library
for data access
Hello,
SAS Studio is not the platform. Windows (WIN) could be the platform or UNIX/Linux or MainFrame or Mac or .... You get it.
Submit this:
*proc options; *run;
%PUT &=sysscp;
%PUT &=sysvlong;
/* end of program */
and present us with the result (to be found in the LOG-window).
For me, it says (for the old SAS on my laptop):
31 *proc options; *run;
32 %PUT &=sysscp;
SYSSCP=WIN
33 %PUT &=sysvlong;
SYSVLONG=9.04.01M4P110916
34 /* end of program */
@sbxkoenk wrote:
Hello,
SAS Studio is not the platform. Windows (WIN) could be the platform or UNIX/Linux or MainFrame or Mac or .... You get it.
Submit this:
*proc options; *run; %PUT &=sysscp; %PUT &=sysvlong; /* end of program */
and present us with the result (to be found in the LOG-window).
For me, it says (for the old SAS on my laptop):
31 *proc options; *run; 32 %PUT &=sysscp; SYSSCP=WIN 33 %PUT &=sysvlong; SYSVLONG=9.04.01M4P110916 34 /* end of program */
That's interesting, I think most of us would interpret the question similar to the OP and I'd assume the OS would be Window/Unix etc....
If you are using SAS/Studio then you should be able to add a LIBNAME statement to your autoexec.sas file.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.