If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?
Answer Posted / sandeep reddy
I think we have to use OBS=5
and mention FIRSTOBS=(THE FIRST OBSERVATION FROM WHERE U
WANT)
Is This Answer Correct ? | 1 Yes | 19 No |
Post New Answer View All Answers
Name types of category in which SAS Informats are placed?
What is the difference between using drop = data set option in data statement and set statement?
What are the limitations for memory allocation for SAS variables
what do the pad and dim functions do? : Sas programming
How would you invoke a macro? : sas-macro
What is a pdv and what are its functions?
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 the basic structure of a sas program?
Differentiate input and infile.
What is the role of administrative users? : sas-grid-administration
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
Explain the use of proc print and proc contents?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming