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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.