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 is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What do the SAS log messages "numeric values have been converted to character" mean?
Describe a time when you were really stuck on a problem and how you solved it?
How do you control the number of observations and/or variables read or written?
why is sas considered self-documenting? : Sas programming
Describe the ways in which you can create macro variables? : sas-macro
Tell e how how dealt with..
how can you create zero observation dataset? : Sas programming
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
What is interleaving in SAS?
what are sas/access and sas/connect? : Sas programming
how would you create multiple observations from a single observation? : Sas programming
how could you generate test data with no input data? : Sas programming
what are the scrubbing procedures in sas? : Sas programming