Answer Posted / natraj
In data step and Proc step you can use the data set options
such as KEEP= / DROP= .
ex: data xxx (keep=a); or data xxx ( drop= b c);
run;
proc print data=xxx (keep=a) or ( drop= b c);
run;
you can use the VAR STATEMENT in PRINT PROCEDURE to list
the desired varibles;
ex: proc print data= xxx;
var a ; /* put your desired variables */
run;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
For what purposes have you used sas macros? : sas-macro
Differentiate between sas functions and sas procedures.
In SAS explain which statement does not perform automatic conversions in comparisons?
What is the general format of function in sas? : sas-grid-administration
what are sas/access and sas/connect? : Sas programming
How to create an external dataset with sas code?
Explain the use of proc gplot? : sas-grid-administration
What do the PUT and INPUT functions do?
what is snowflake schema? : Sas-di
how does sas handle missing values in procs? : Sas programming
How would you invoke a macro? : sas-macro
what is the effect of the options statement errors=1? : Sas programming
What system options would you use to help debug a macro? : sas-macro
What are the five ways to do a table lookup in sas? : sas-grid-administration
What is the role of sas grid administrator? : sas-grid-administration