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
Are you involved in writing the inferential analysis plan? Tables specfications?
Explain input and put function?
Do you need to know if there are any missing values?
Tell e how how dealt with..
How to limit decimal places for the variable using proc means?
What is the difference between class statement and by statement in proc means?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
What are the data types that sas contain?
How sas treats the dsd delimiters?
Mention the category in which sas informats are placed?
What is the difference between reading data from an external file and reading data from an existing data set?
Mention sas system options to debug sas macros.
Mention what is PROC in SAS?
What do you know about sas and what we do? : sas-grid-administration
How do you convert basic cube to transaction cube and transaction cube to basic cube?