How do you read in the variables that you need?
Answer Posted / neeraja
using keep(for selected variables).keep is a dataset
option.the statment keep is used to specify the number of
variables to be remained within a sas dataset or output.
syntax:keep <var list>
data emp;
keep name no;
input name$ no sal job$;
cards;
......
....
Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
What is the maximum length of the macro variable?
What are the differences between sum function and using “+” operator?
what type of graphs we will create(for 2+years candidates)?
How would you identify a macro variable? : sas-macro
How do dates work in sas?
Mention what is the difference between nodupkey and nodup options?
what is star schema? : Sas-di
how to remove duplicates using proc sql?
Differentiate between sas functions and sas procedures.
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)?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
what is ae onset date n what is RDS
what r the job openings SAS for fresher graduates !
How do you specify the number of iterations and specific condition within a single do loop?