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 / 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 |
what are some good sas programming practices for processing very large data sets? : Sas programming
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
What is the difference between Regression and Logistic Regression? Can u explain the Assumptions/Conditions?
what the use of proc glm
What sas features do you use to check errors and data validation?
what are 5 ways to perform a table lookup in sas? : Sas-administrator
How to select the observations randomly from a SAS dataset
State the difference between INFORMAT and FORMAT ?
what is pdv? how it is related to input buffer in sas?
Name the option to produce a frequency line items rather that a table.
How would you include common or reuse to be processed along with your statements?