wt is a-z and a--z?
Answers were Sorted based on User's Feedback
Answer / veerendar alugola
you can see the below example for a-z:
data ptcde;
input ptid $ test1 test2 test3 test4;
cards;
1102 56 65 66 70
1103 55 85 62 77
1104 85 71 59 66
1105 55 100 120 61
1106 90 58 65 63
;
run;
data abc;
set ptcde;
a=mean(of test1-test4);
run;
when you use a-z it will consider only the range variables.
You can find the below example for a--z;
data ptcde;
input ptid $ test1 abc def test4;
cards;
1102 56 65 66 70
1103 55 85 62 77
1104 85 71 59 66
1105 55 100 120 61
1106 90 58 65 63
;
run;
data abc;
set ptcde;
a=mean(of test1--test4);
run;
when you use a--z it will consider all the variables
irrespective of the series.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / suneetha
If we consider 'a' as lower limit and 'z' as upper limit,
a-z is used to refer numeric variables and a--z is used to
refer to character variables.
Is This Answer Correct ? | 15 Yes | 7 No |
Answer / aravind9882
'a-z' means sas considers only alpha characters between a
to z where as 'a--z' means, sas considers a to z watever it
may b in between.
Is This Answer Correct ? | 7 Yes | 4 No |
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
Explain bmdp procedure?
describe the interaction table in sas di? : Sas-di
what is the need of INDEX in datasets?
what is SAS/Access and SAS/Connect?what are the uses?
Which date functions advances a date time or date/time value by agiven interval?
If a variable contains letters or special characters, can it be numeric data type?
What is the pound sign used for the DATA _NULL_?
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What's the difference between VAR A1 - A4 and VAR A1 - A4?
How experienced are you with customized reporting and use of Data _Null_ features?
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?