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 the use of proc glm
Why is SAS considered self-documenting?
Can Some one Explain How the Datasets from SAS can be loaded in to the MVS OS?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What do you feel about hardcoding?
how does sas handle missing values in formats? : Sas programming
To what type of programms have you used scratch macros?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
How to write duplicate records into a separate dataset using sort?
How to convert a numeric variable to a character variable?
what type of graphs we will create(for 2+years candidates)?
In SAS how to read the variable values having different formats. eg:mar99,mar1999 (in a single variable)
8 Answers GSK GlaxoSmithKline,