SAS Certification Prep Guide Book Data set

Reply
Frequent Learner
Posts: 1

SAS Certification Prep Guide Book Data set

how i can practice using  the data set in SAS certification prep Guide ( BASE programming for SAS 9 third Edition) in SAS Studio

is the data set for (SAS certification Prep Guide ) available online for free ?

thanks a lot

Super User
Posts: 23,958

Re: SAS Certification Prep Guide Book Data set

Posted in reply to tholfikar

Yes, but you'll need to modify the code to set it up to run on SAS Analytics U version.

New Contributor
Posts: 2

Re: SAS Certification Prep Guide Book Data set

Is there any reference book for modifying?

Occasional Contributor
Posts: 11

Re: SAS Certification Prep Guide Book Data set

1.) Open the text file http://support.sas.com/publishing/cert/sampdata.txt in an application that can work with text files.

2.)  In the Menu bar, click 'Edit', and then scroll down to 'Find' and locate the function 'Find and Replace' and select it.

3.) In the 'Find' category, enter 'sasuser' and in the 'Replace' category enter 'basecert'. Select 'Replace All', and save the file under a name that you can remember.

     You will use this edited text file to create and save data sets in SAS Studio in a user-defined library called 'basecert'.

4.) Open up SAS Studio as usual, and select 'Folders' and then select 'MyFolders'. Click the icon to create 'New Folder' and name this folder 'basecert'.

5.) Go to 'Libraries' an click the icon for  'New Library'. Under 'Name', enter 'basecert' (omit the quotations around 'basecert' when doing this). Under 'Path', enter '/folders/myfolders' (omit the quotation marks around '/folders/myfolders' when doing this).

6.) Click 'Code', and in the text editor called 'Program 1' paste the entire modified text file that you saved earlier. Now, save this new SAS program as 'basecert_setup'.

7.) Run 'basecert_setup' using the 'run' icon. Since my solution is not perfect, 3 errors will be generated. However, all the intended SAS data sets should be created.

I don't know how to get rid of the 3 error messages, but if someone figures out a solution please post it!

New Contributor
Posts: 2

Re: SAS Certification Prep Guide Book Data set

Finally the thread post SAS Certification program problem make sense.

Senior User
Posts: 1

Re: SAS Certification Prep Guide Book Data set

I had to replace the SASUSER library with the WORK library, but it seems to have worked so far.

 

(Requires replacing some of the library refs in the code as well, e.g. clinic.admin -> work.admit)

 

Hope that helps.  I'm working on an enterprise server with more restricted permissions.

SAS Super FREQ
Posts: 9,423

Re: SAS Certification Prep Guide Book Data set

[ Edited ]
Posted in reply to bdanielatl

The newest program for the Certification Prep Guide is here http://support.sas.com/publishing/cert/basecertguide3.html and has been posted here since 2015.

This is an older post. The original sampdata.txt wrote to the SASUSER library. The issue with the SASUSER library is that frequently EG users, SAS University Edition users and SAS OnDemand Users do NOT have access to the SASUSER library. We recommend following the instructions on the above web site to "redirect" SASUSER to a location where you have write access (such as WORK or a write-location directory) and then run the program you find on the web site.

 

If you do the "redirect", then you do NOT have to change any code -- because this:

libname sasuser '/folders/myfolders/certprep';  (assuming you make a folder called certprep) will allow you to use the programs that reference SASUSER and the redirected location will be the one used.

cynthia

Occasional Contributor
Posts: 5

Re: SAS Certification Prep Guide Book Data set

Posted in reply to Cynthia_sas
the site http://support.sas.com/publishing/cert/basecertguide3.html does not lead to any instructions it goes to sas books.
SAS Super FREQ
Posts: 9,423

Re: SAS Certification Prep Guide Book Data set

Sorry, that web site has changed.

-- Instructions for making the sample data for the 3rd Edition of the Prep Guide: https://support.sas.com/en/books/content-updates-base-prep-guide.html (instructions are correct, but the link on this page to get data is broken, use the link below)
--Link for program used in these instructions: https://support.sas.com/content/dam/SAS/support/en/books/data/sampledata.txt

Hope this helps,
Cynthia
Occasional Contributor
Posts: 5

Re: SAS Certification Prep Guide Book Data set

Posted in reply to Cynthia_sas

thanks i used this link to get the instructions and it worked

 

https://support.sas.com/en/books/content-updates-base-prep-guide.html

User
Posts: 1

Re: SAS Certification Prep Guide Book Data set

It works like magic! I had no error. Thanks for your distinguished SAS insight!
Ask a Question
Discussion stats
  • 10 replies
  • 8863 views
  • 6 likes
  • 8 in conversation