06-23-2014 07:26 PM
I am trying to work on the sas Programming 1: Essential E-course and I am having troubles getting through it because everytime that I try out the practice partions the code is not working properly in SAS studio. For example this is the code that I am trying to have sas read :
libname mydata '/folders/myfolders/data';
length First_Name $ 12
Last_Name $ 18 Job_Title $ 25;
input First_Name $ Last_Name $
Job_Title $ Salary;
However , when I run it the following message comes out :
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
43 libname mydata '/folders/myfolders/data';
NOTE: Libref MYDATA was successfully assigned as follows:
Physical Name: /folders/myfolders/data
45 data work.newsalesemps;
46 length First_Name $ 12
47 Last_Name $ 18 Job_Title $ 25;
48 infile '/folders/myfolders/data/newsalesemps.sas7bdat';
49 input First_Name $ Last_Name $
50 Job_Title $ Salary;
53 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
ERROR 180-322: Statement is not valid or it is used out of proper order.
WARNING: The data set WORK.NEWSALESEMPS may be incomplete. When this step was stopped there were 0 observations and 4 variables.
Also , I was exploring the software and I noticed that in the task tab the options are have a little lock in the icon is this normal ? Thank you for the help.