firstobs and obs are working only option wise,but we are
using
infile statement with firstobs and obs in a statement wise?
so
firstobs,obs working at options and statemnts or not?
Answer Posted / kattameedi siva
ex1:
data demo;
set sashelp.class(firstobs=1 obs=6);
run;
ex2:
data demo2;
infile dlm="," dsd firstobs=5;(or) we can use obs=5)
input id name$;
cards;
123,ss
124,sss
125,srrt
123,ss3
124,sss2
125,srrt1
;
run;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the default statistics for means procedure?
What would you change about your job?
What do you know about sas data set?
What is SAS? What are the functions does it performs?
How to test the debugging in sas?
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
How do you test for missing values?
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
What is a method to debug and test your SAS program?
What areas of SAS are you most interested in?
How do dates work in sas?
What are common programming errors committed in sas
What are the implications?
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What is the difference between using drop = data set option in data statement and set statement?