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

Mention sas system options to debug sas macros.

1235


what is the use of sas management console? : Sas-di

1139


What is the difference between where and if statement?

1150


What is the difference between one to one merge and match merge? Give an example.

1119


Mention how to limit decimal places for the variable using proc means?

1169


Of all your work, where have you been the most successful?

4715


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1814


what is the Population you used in your project, is it ITT or PP?

2799


What do you know about sas data set?

1183


how does sas handle missing values in a merge? : Sas programming

1095


what is ae onset date n what is RDS

2655


explain what is data set in sas? : Sas-administrator

1034


How to limit decimal places for the variable using proc means?

1120


Give e an example of..

2135


What are the special input delimiters used in SAS?

1238