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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.