I use NOCUM/NOPERCENT option in the tables statement like this

Proc freq data = deepak;
tables x y /nocum nopercent;
run;

Here I get nopercent and nocum in the output only for
variables x and y. How do i do it for all variables?

Deepak



I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x..

Answer / deepak

use

tables _all_ /options;

if u want to print one way analysis of all variables with the specified options

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

0 Answers  


explain what is factor analysis? : Sas-administrator

0 Answers  


what is the difference between %put and symbolgen?

6 Answers  


is data integration and etl programming is same? : Sas-di

0 Answers  


what are several options for creating reports in web report studio? : Sas-bi

0 Answers  






i have multiple .csv files in a unix directory. every file is having variable names as header.even for empty file also. suppose take 3 files a.csv b.csv c.csv a.csv contains data as name;age,salary; raja;34;4000; ravi;33;5000; kumar;25;3000; b.csv contains data as name;age,salary; ajay;40;4500; and c.csv contains name;age,salary; (only headers) Now i want to import and append all these files in to a single dataset. i tried infile statement with *.csv to import all at a time. but i m not getting correct data. please help me . its urgent. thank you in advance

2 Answers   Tech Mahindra,


what is the difference between proc means and proc tabulate?

3 Answers   Cognizant, CTS,


what other sas products have you used and consider yourself proficient in using? : Sas programming

0 Answers  


how does sas handle missing values in functions? : Sas programming

0 Answers  


Which function is used to count the number of intervals between two sas dates?

0 Answers  


what is sas application server? : Sas-di

0 Answers  


What SAS statements would you code to read an external raw data file to a DATA step?

6 Answers   Accenture,


Categories