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

Grand Advisor
Posts: 17,474

Re: SAS Certification Prep Guide Book Data set

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.

Regular Learner
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: 8,721

Re: SAS Certification Prep Guide Book Data set

[ Edited ]

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

Ask a Question
Discussion stats
  • 6 replies
  • 5034 views
  • 2 likes
  • 6 in conversation