- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I moved your post to "SAS Programming". "Community Matters" is for issues concerning the working of the forum, not SAS itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You’re welcome @jeje
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Check out the SAS documentation for more info: SAS Libraries