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
what is the use of proc contents and proc print in sas? : Sas-administrator
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
how to do user inputs and command line arguments in sas?
Explain translate function?
what are input dataset and output dataset options? : Sas programming
Are you sensitive to code walk-throughs peer review or QC review?
How to test the debugging in sas?
explain the concepts and capabilities of business object? : Sas-bi
What is a pdv and what are its functions?
What are the difference between the sas data step and sas procs?
I need level 2 to 5 sas using companies in india
Which date function advances a date, time or datetime value by a given interval?
what are the component of range? : Sas-bi
What is the differnce between SDTM 3.1.2 to 3.1.1 version
What is the difference between one to one merge and match merge? Give an example.