wt is a-z and a--z?

Answers were Sorted based on User's Feedback



wt is a-z and a--z?..

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

wt is a-z and a--z?..

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

wt is a-z and a--z?..

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

Post New Answer

More SAS Interview Questions

How do dates work in sas?

1 Answers  


I Here clinical SAS training by Ramesh Azmeera is good. Is it confirm ?

2 Answers  


what are all the default values getting in PROC MEANS...???

2 Answers  


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

1 Answers  


How to test the debugging in sas?

1 Answers  


Describe how you would pass data to macro.

3 Answers  


tell me about intnx, intcx functions?

4 Answers   CitiGroup,


Which date functions advances a date time or date/time value by agiven interval?

3 Answers  


If you could design your ideal job, what would it look like?

1 Answers   Oracle,


Explain why double trailing @@ is used in input statement?

1 Answers  


where will go the observations that were deleted by delete statement?

2 Answers  


what has been your most common programming mistake? : Sas programming

1 Answers  


Categories