DATA Step, Macro, Functions and more

SAS Certification Prep Base Programming for SAS 9 third edition

Reply
New Contributor
Posts: 3

SAS Certification Prep Base Programming for SAS 9 third edition

I am not quite sure how to access the code in the booklet on page xi for SAS Studios. I want to run the code and go throught the practice examples in the booklet. How do you place this code in a folder for SAS in order for you to use?

Super Contributor
Posts: 490

Re: SAS Certification Prep Base Programming for SAS 9 third edition

New Contributor
Posts: 3

Re: SAS Certification Prep Base Programming for SAS 9 third edition

I am new to this environment of SAS. I tried to copy the code in SAS like the directions said and

every time have to kill the action. On the page about SAS Studio it tells you to put in the location

is that the website that was supplied earlier and then place in libname. 

 

 

Super Contributor
Posts: 490

Re: SAS Certification Prep Base Programming for SAS 9 third edition

[ Edited ]

Why you kill the action? It will take time....wait for it till finish.

If you followed the example exactly the location field will be the same as earlier in the steps.

libname sasuser "/folders/myfolders/certprep";
New Contributor
Posts: 3

Re: SAS Certification Prep Base Programming for SAS 9 third edition

Actually I got a lot of error messages when trying to copy and paste the code into the sas programming window.

 

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

 NOTE: ODS statements in the SAS Studio environment may disable some output features.

 56        

 57         options nosource nonotes nocardimage validvarname=V7 replace;

 ERROR: Write access to member SASUSER.ADMIT.DATA is denied.

 ERROR: Write access to member SASUSER.ADMITJUNE.DATA is denied.

 ERROR: Write access to member SASUSER.BEFORE.DATA is denied.

 ERROR: Write access to member SASUSER.CLTRIALS.DATA is denied.

 ERROR: Write access to member SASUSER.COMPANY.DATA is denied.

 ERROR: Write access to member SASUSER.CREDIT.DATA is denied.

 ERROR: Write access to member SASUSER.DEMOG.DATA is denied.

 ERROR: Write access to member SASUSER.DIABETES.DATA is denied.

 ERROR: Write access to member SASUSER.EUROPE.DATA is denied.

 ERROR: Write access to member SASUSER.FINANCE.DATA is denied.

 ERROR: Write access to member SASUSER.FITCLASS.DATA is denied.

 ERROR: Write access to member SASUSER.FUNDDRIVE.DATA is denied.

 ERROR: Write access to member SASUSER.FUNDDRV.DATA is denied.

 ERROR: Write access to member SASUSER.HEART.DATA is denied.

 ERROR: Write access to member SASUSER.INSURE.DATA is denied.

 ERROR: Write access to member SASUSER.LAGUARDIA.DATA is denied.

 ERROR: Write access to member SASUSER.LOANS.DATA is denied.

 ERROR: Write access to member SASUSER.MEASURE.DATA is denied.

 ERROR: Write access to member SASUSER.NEWLOANS.DATA is denied.

 ERROR: Write access to member SASUSER.NEWADMIT.DATA is denied.

 ERROR: Write access to member SASUSER.PATIENTS.DATA is denied.

 ERROR: Write access to member SASUSER.RECORDS.DATA is denied.

 ERROR: Write access to member SASUSER.REPERTORY.DATA is denied.

 ERROR: Write access to member SASUSER.REPS.DATA is denied.

 ERROR: Write access to member SASUSER.SCH.DATA is denied.

 ERROR: Write access to member SASUSER.STRESS.DATA is denied.

 ERROR: Write access to member SASUSER.STRESS2.DATA is denied.

 ERROR: Write access to member SASUSER.STRESS98.DATA is denied.

 ERROR: Write access to member SASUSER.STRESS99.DATA is denied.

 ERROR: Write access to member SASUSER.STRESSTEST.DATA is denied.

 ERROR: Write access to member SASUSER.SURVEY.DATA is denied.

 ERROR: Write access to member SASUSER.TALENT.DATA is denied.

 ERROR: Write access to member SASUSER.THERAPY.DATA is denied.

 ERROR: Write access to member SASUSER.THERAPY1999.DATA is denied.

 ERROR: Write access to member SASUSER.THERAPY2000.DATA is denied.

 ERROR: Write access to member SASUSER.TOTALS2000.DATA is denied.

 ERROR: Write access to member SASUSER.USA.DATA is denied.

 ERROR: Write access to member SASUSER.VISIT.DATA is denied.

 ERROR: Write access to member SASUSER.MECHANICS.DATA is denied.

 ERROR: Write access to member SASUSER.NAVIGATORS.DATA is denied.

 ERROR: Write access to member SASUSER.PILOTS.DATA is denied.

 ERROR: Write access to member SASUSER.SALARY.DATA is denied.

 ERROR: Write access to member SASUSER.STAFF.DATA is denied.

 ERROR: Write access to member SASUSER.TEMP.DATA is denied.

 ERROR: Write access to member SASUSER.TEMPS.DATA is denied.

 ERROR: Write access to member SASUSER.FLIGHTDELAYS.DATA is denied.

 ERROR: Write access to member SASUSER.FLIGHTSCHEDULE.DATA is denied.

 ERROR: Write access to member SASUSER.FREQUENTFLYERS.DATA is denied.

 ERROR: Write access to member SASUSER.INTERNATIONALFLIGHTS.DATA is denied.

 ERROR: Write access to member SASUSER.MARCHFLIGHTS.DATA is denied.

 ERROR: Write access to member SASUSER.MECHANICSLEVEL1.DATA is denied.

 ERROR: Write access to member SASUSER.MECHANICSLEVEL2.DATA is denied.

 ERROR: Write access to member SASUSER.MECHANICSLEVEL3.DATA is denied.

 ERROR: Write access to member SASUSER.MONTHLY.DATA is denied.

 ERROR: Write access to member SASUSER.PAYROLLCHANGES.DATA is denied.

 ERROR: Write access to member SASUSER.PAYROLLMASTER.DATA is denied.

 ERROR: Write access to member SASUSER.QSALES.DATA is denied.

 ERROR: Write access to member SASUSER.STAFFCHANGES.DATA is denied.

 ERROR: Write access to member SASUSER.STAFFMASTER.DATA is denied.

 ERROR: Write access to member SASUSER.SUPERVISORS.DATA is denied.

 ERROR: File SASUSER.STAFFMASTER.DATA does not exist.

 ERROR: File SASUSER.PAYROLLMASTER.DATA does not exist.

 ERROR: Write access to member SASUSER.ACITIES.DATA is denied.

 ERROR: Write access to member SASUSER.AIRPORTS.DATA is denied.

 ERROR: Write access to member SASUSER.ALLEMPS.DATA is denied.

 ERROR: Write access to member SASUSER.CAP2000.DATA is denied.

 ERROR: Write access to member SASUSER.CAP2001.DATA is denied.

 ERROR: Write access to member SASUSER.CAPACITY.DATA is denied.

 ERROR: Write access to member SASUSER.CAPINFO.DATA is denied.

 ERROR: Write access to member SASUSER.CARGOREV.DATA is denied.

 ERROR: Write access to member SASUSER.CARGO99.DATA is denied.

 ERROR: File SASUSER.CARGO99.DATA does not exist.

 ERROR: Write access to member SASUSER.CARGO99.DATA is denied.

 ERROR: Write access to member SASUSER.COMPETE.DATA is denied.

 ERROR: Write access to member SASUSER.CONTRIB.DATA is denied.

 ERROR: Write access to member SASUSER.CTARGETS.DATA is denied.

 ERROR: Write access to member SASUSER.DNUNDER.DATA is denied.

 ERROR: Write access to member SASUSER.ECONTRIB.DATA is denied.

 ERROR: Write access to member SASUSER.EMPDATA.DATA is denied.

 ERROR: File SASUSER.EMPDATA.DATA does not exist.

 ERROR: Write access to member SASUSER.EMPDATA.DATA is denied.

 ERROR: Write access to member SASUSER.EMPDATU.DATA is denied.

 ERROR: Write access to member SASUSER.EMPDATU2.DATA is denied.

 ERROR: Write access to member SASUSER.EXPENSES.DATA is denied.

 ERROR: Write access to member SASUSER.FLIGHTS.DATA is denied.

 ERROR: Write access to member SASUSER.FLIGHTS2.DATA is denied.

 ERROR: Write access to member SASUSER.FLIGHTTIMES.DATA is denied.

 ERROR: Write access to member SASUSER.JCODEDAT.DATA is denied.

 ERROR: Write access to member SASUSER.JOBHSTRY.DATA is denied.

 ERROR: Write access to member SASUSER.MEALPLAN.DATA is denied.

 ERROR: Write access to member SASUSER.MONTHSUM.DATA is denied.

 ERROR: Write access to member SASUSER.NEWCGNUM.DATA is denied.

 ERROR: Write access to member SASUSER.NEWEMPS.DATA is denied.

 ERROR: Write access to member SASUSER.NEWRTNUM.DATA is denied.

 ERROR: Write access to member SASUSER.NEWSALS.DATA is denied.

 ERROR: Write access to member SASUSER.NEWTIMES.DATA is denied.

 ERROR: Write access to member SASUSER.PILOTEMP.DATA is denied.

 ERROR: Write access to member SASUSER.QUARTER2.DATA is denied.

 ERROR: Write access to member SASUSER.QUARTER3.DATA is denied.

 ERROR: Write access to member SASUSER.QUARTER4.DATA is denied.

 ERROR: Write access to member SASUSER.REVENUE.DATA is denied.

 ERROR: Write access to member SASUSER.SALCOMPS.DATA is denied.

 ERROR: Write access to member SASUSER.SALE2000.DATA is denied.

 ERROR: Write access to member SASUSER.TARGET.DATA is denied.

 ERROR: Write access to member SASUSER.VCRSALES.DATA is denied.

 ERROR: Write access to member SASUSER.WCHILL.DATA is denied.

 ERROR: Write access to member SASUSER.WESTAUST.DATA is denied.

 ERROR: Write access to member SASUSER.YEAR2000.DATA is denied.

 ERROR: Write access to member SASUSER.Y2000.DATA is denied.

 ERROR: Write access to member SASUSER.Y200061.DATA is denied.

 ERROR: Write access to member SASUSER.Y200062.DATA is denied.

 ERROR: Write access to member SASUSER.STUDENTS.DATA is denied.

 ERROR: Write access to member SASUSER.SCHEDULE.DATA is denied.

 ERROR: Write access to member SASUSER.COURSES.DATA is denied.

 ERROR: Write access to member SASUSER.REGISTER.DATA is denied.

 ERROR: Write access to member SASUSER.ALL.VIEW is denied.

 ERROR: SQL view was not defined due to errors.

 

  Sample data sets and files are ready.

 

 10116     

 10117      OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

 10129     

 Did I need to put this statement first???

libname sasuser "/folders/myfolders/certprep";

 

Super Contributor
Posts: 490

Re: SAS Certification Prep Base Programming for SAS 9 third edition

Yes, redirect the Sasuser folder by using the LIBNAME statement first...

Ask a Question
Discussion stats
  • 5 replies
  • 213 views
  • 1 like
  • 2 in conversation