What is difference between (a-z) and (a--z)
Answer Posted / basha
var a-z : this shows error message because it does not have
any numeric suffix
var a1-a5: it diplays variables a1 to a5
i.e it only shows variable ranges
var a--z : it displays a to z it includes variables between
a to z
ex;
data k;
input a b c z;
datalines;
1 2 3 4
5 6 7 8
;
proc print;
var a--z;
run;
proc print;
var a-z; >>>>>>this shows error:numuric is not there
run;
| Is This Answer Correct ? | 26 Yes | 4 No |
Post New Answer View All Answers
how can you put a "trace" in your program? : Sas programming
explain about data integrator metadata reports? : Sas-di
This entry was posted in General. Bookmark the permalink. Post a comment or leave
What do you know about sas and what we do? : sas-grid-administration
how to change the execute of macro
explain what is factor analysis? : Sas-administrator
What is slibref?
which features do you use to check the data validations and errors? : Sas-administrator
What is the maximum length of the macro variable?
what is metadata? : Sas-bi
Explain the use of proc print and proc contents?
What is the use of the %include statement?
what is proc Index? and what is proc document?
What is by-group processing?
what is the use of proc contents and proc print in sas? : Sas-administrator