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...

How do you read in the variables that you need?

Answer Posted / hitesh

You can read in the variable with INPUT statement.
There are more than 1 ways use input statement.

eg:
input name$ no sal;

...OR you can read selected fields from byte positions at which they appear in the input file.

eg:
INPUT @1 NAME $20.
@21 No 3.
@24 Sal 7.;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you define the end of a macro?

1097


Tell me more about the parameters in macro? : sas-macro

1053


What does the RUN statement do?

1308


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1162


What does the trace option do?

1113


how does sas handle missing values in sort order? : Sas programming

926


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1921


Where do you use proc means over proc freq?

1122


Mention what is the difference between nodupkey and nodup options?

1013


what are sas bi dashboard components? : Sas-bi

1174


how will you locate the sas platform applications? : Sas-bi

1034


How to create an external dataset with sas code?

1161


how do you debug and test your sas programs? : Sas programming

1131


Compare sas with other data analytics tools.

1034


What is the good sas programming practices for processing large data sets?

1122