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
Difference between informat and format?
Explain data_null_?
What are the scrubbing procedures in sas?
Tell e how how dealt with..
what is business intelligence? : Sas-bi
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
Can you explain the process of calendar?
what is enterprise guide? What is the use of it? : Sas programming
How many data types are there in SAS?
Did you used proc test? when?
Describe the ways in which you can create macro variables?
If money were no object, what would you like to do?
Explain the purpose of substr functions in sas programming.
what is factor analysis? : Sas-administrator
What do the put and input function do?