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 |
Explain the special input delimiters used in sas programming.
Hi All.I am looking for Good Institute who could Provide the online SAS BI+DI Training along with software.Primarily in Delhi/NCR or in Hyderabad Please help with name and contact number of concerned person!! Thanks in Advance! :)
What is the difference between %put and symbolgen? : sas-macro
how to add distinctly var variable values ex.. Data a; input var; datalines; 0 1 2 3 -1 -2 -3 ; run; adding all +ve value in one varibale n do the same for -ve too
what is the difference between floor and ceil functions in sas? : Sas-administrator
What happens in the following code, if u type 8 instead of *? proc sql noprint; create table abc as select 8 from lib.abc; quit;
Mention the category in which sas informats are placed?
One way of creating a new variable in Macros is by % Let....What is the other way..?
how can you get the single data set from the library(which has the number of data sets)?
3 Answers Accenture, Deloitte,
What r all the reporting procedures...?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
do you prefer proc report or proc tabulate? Why? : Sas programming