Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can you limit the variables written to output dataset in data step?

1315


do you need to know if there are any missing values? : Sas programming

1053


What will calendar procedure do?

1071


Which command is used to save logs in the external file?

1097


Describe a time when you were really stuck on a problem and how you solved it?

2548


What is the maximum length of the macro variable? : sas-macro

1091


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2585


What does the trace option do?

1105


what is data integration? : Sas-di

1115


explain the key concept of sas? : Sas-administrator

990


What is the basic syntax of a sas program?

1196


What is PROC in SAS?

1052


where are dashboard components are created and maintained? : Sas-bi

1012


why is a stop statement needed for the point=option on a set statement? : Sas programming

1081


Explain the purpose of substr functions in sas programming.

1057