I have a question for those who have taken the SAS Certified Specialist: Base Programming Using SAS 9.4 exam lately. I want to know how SAS libraries are created. For example, in my practice exam I used the following:
libname cert '/folders/myfolders/cert';
Would the exam follow the same pattern as above? Or do I have to use this below?
libname cert 'C:\cert\input';
How do I create a library reference named cert to refer to this directory above?
Hi @jeje
Here is an interesting tutorial for you: https://video.sas.com/detail/videos/sas-studio/video/4572997794001/accessing-data-in-sas-libraries?a...
... and also some tips to fet more familiar with the interface of the exam:
You need to understand how things like SAS libraries work before trying to take the certification exam.
Both syntax you've posted are possible.
In your syntax:
CERT is the libref which is just the logical name pointing to a folder.
'<path>' that's then the actual path to a folder where you want to access SAS tables. It's a Unix path in the first example and a Windows path in the second example.
The path must be accessible from where your SAS session executes so in the first example that must be SAS under Unix/Linux and in the 2nd example it's SAS under Windows.
@jeje wrote:
I have a question for those who have taken the SAS Certified Specialist: Base Programming Using SAS 9.4 exam lately. I want to know how SAS libraries are created. For example, in my practice exam I used the following:
libname cert '/folders/myfolders/cert';
Would the exam follow the same pattern as above? Or do I have to use this below?
libname cert 'C:\cert\input';
How do I create a library reference named cert to refer to this directory above?
The statements you posted do exactly this: create a library reference. The first uses a UNIX path, the second one for Windows.
I moved your post to "SAS Programming". "Community Matters" is for issues concerning the working of the forum, not SAS itself.
Hi @jeje
Here is an interesting tutorial for you: https://video.sas.com/detail/videos/sas-studio/video/4572997794001/accessing-data-in-sas-libraries?a...
... and also some tips to fet more familiar with the interface of the exam:
You’re welcome @jeje
Check out the SAS documentation for more info: SAS Libraries
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.