How would you code the criteria to restrict the output to be
produced?
Answers were Sorted based on User's Feedback
use _null_ in data statemnet when u dont want to create
dataset.to restrict the output to be produced, close the
ods listing destination and this is default destination
and you can also restrict the output using no print option
in some procs such as means,sql,etc...
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / ganesh
In my view use noprint option to restrict the output to be
produce
data g;
input name$ no sal;
datalines;
a 1 2500
b 2 3500
;
proc print data=g noprint;
run;
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / akilan
In Jothi Sankar's answer,
First Choice is correct.
In second choice instead of 'OUT', have to use 'THEN OUTPUT'
Third choice is not correct one.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / linus
1.obs is one option.
2.in input statement we can restrict the variables we need.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sanjeev
proc sql;
select * from sashelp.class;
quit;
gives you an output.
proc sql noprint;
select * from sashelp.class;
quit;
no errors and output is restricted.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sumalatha.ch
_null_ this is not give any output.and nowid option.
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / jothi sankar
--> Using VAR can restrict which varibles have to be output
--> Using differnt data sets for each main condition
Eg:
DATA
MyData2
MyData3
MyData4
;
SET MyData1;
if Dept = 'Computer' OUT MyData2;
else if Dept = 'Electronic' OUT MyData3;
else if Dept = 'Chemical' OUT MyData4;
RUN;
--> Using PRINTEM for viewing datas individually
| Is This Answer Correct ? | 1 Yes | 6 No |
what is ae onset date n what is RDS
What is the difference between verification and validation?
which stats created by proc means that are not created by proc summary or vice versa?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
Are you familiar with special input delimiters? How are they used?
what is picture format? give any one example?
I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.
What is the general format of function in sas? : sas-grid-administration
To what type of programms have you used scratch macros?
explain the concepts and capabilities of business object? : Sas-bi
In proc transpose and data step with arrays which one you pick?
0 Answers Accenture, Quintiles,
What is the use of divide function?