What is difference between (a-z) and (a--z)
Answer Posted / satish kumar.v
IF you have given this
data k;
input a1 a2 a4 a3;
datalines;
1 2 3 4
5 6 7 8
;
proc print;
var a1--a4;
run;
proc print;
var a1-a4;
run;
the order is taken as priority when ever the a4 occurs then
it will stops processing in the case of a1--a4 i.e it will
display only 3 variables (a1 a2 a4) where as in second case
a1-a4 it will display all the 4 variables with 2 records
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Explain what is the use of proc gplot?
what is hash files in sas and why we are using this one in sas?
Explain the main difference between the sas procedures and functions? : Sas-administrator
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
If you could design your ideal job, what would it look like?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
what is the use of proc sql? : Sas programming
What is the difference between %put and symbolgen? : sas-macro
What is run-group processing?
Do you know the features of sas?
Did you used proc test? when?
What is the work of tranwrd function?
what is proc Index? and what is proc document?
why is sas data integration studio important? : Sas-di
Compare sas with other data analytics tools.