How do you read in the variables that you need?
Answer Posted / purushotham
I think KEEP option would be the better way to read the
variables that we need. But it's again depends upon how
many number of variables that you want to read from the
input dataset.
Let's say there are 30 variables in data set and you want
to read all the variables except 5 variables from the input
dataset. Then it's efficient to use DROP option to drop
those 5 variables instead of mentioning all 25 variables at
KEEP option.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How sas treats the dsd delimiters?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
Given an unsorted data set, how to read the last observation to a new data set?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
what are validation tools that are used in sas? : Sas-administrator
what is change analysis in sas di ? : Sas-di
what is sas metadata repository? : Sas-bi
How do you specify the number of iterations and specific condition within a single do loop?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
How substr function works in sas?
What would you change about your job?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
What are the features of base sas system?