if we dont want to print output what we have to do..???give
syntax..???
Answers were Sorted based on User's Feedback
proc print data= dataset name noprint;
run;
Is This Answer Correct ? | 12 Yes | 3 No |
Answer / chandu
OPTIONS NOPRINT;
Since the question was not specified the procedure. We can use the global SAS statement where we can specify the noprint option.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / paul
--Output in sas is only through a procedure, so OPTIONS
NOPRINT will disable the output universally, and might be
suitable for a batch run.
--It's advisible to use NOPRINT option with individual
procedures, such as
Proc sql noprint;
<sql >
quit; as it only supress the output for a particular proc.
--ODS listing close; can be used to disable output in
OUTPUT window of SAS session and redirect it to some
external file, if the o/p is not re-directed then we get a
warning in log as:
WARNING: No output destinations active.
--dm out 'clear'; is to clear the output window, it wont
suppress o/p while running a proc.
--The real intensio nof the question must be whether the
user know the technique to re-direct the o/p.
cheers!
-Paul
Is This Answer Correct ? | 2 Yes | 0 No |
What is a post baseline?
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
what is star schema? : Sas-di
How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C
what versions of sas have you used (on which platforms)? : Sas programming
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
How would you combine 3 or more tables with different structures?
my problem is to export my report to xsl.i can do that.but the problem is my report has 3 headings first heading should be printed with the merging of (1-5)cells and heading 2 should be of merge(2-4)cells?how to do this condition?
how do u validate the program which u have written.
1.we can execute a macro with in a macro,by using call symput and symget can any one give me one example? 2.We can create the macro variables by using %let,%do,macro parameters,INTO clause in proc sql and call symput, can any one give me example to create macro variable with INTO clause and call symput? 3.
what are all the default values getting in PROC MEANS...???
How would you code a merge that will keep only the observations that have matches from both sets?