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
what r the job openings SAS for fresher graduates !
Why and when do you use proc sql?
Which statement does not perform automatic conversions in comparisons?
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
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 difference between INPUT and INFILE ?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
how to do user inputs and command line arguments in sas?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
what are the benefits of data integration? : Sas-di
What is PDV?
What are the differences between proc means and proc summary?
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
do you need to know if there are any missing values? : Sas programming