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

Describe the function and untility of the most difficult SAS macro that you have written.

2151


Can you execute macro within another macro? : sas-macro

935


How to specify variables to be processed by the freq procedure?

1025


What would be the value of month at the end of data step execution and how many observations would be there?

1059


Which date function advances a date, time or datetime value by a given interval?

1079


Give some examples where proc report’s defaults are different than proc print’s defaults?

1010


What does proc print, and proc contents are used for?

1059


what is the use of proc sql? : Sas programming

1047


How do you delete duplicate observations in sas?

1007


For what purpose would you use the RETAIN statement?

1464


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

941


Name any two sas spawners? : sas-grid-administration

980


how to debug and test the sas program? : Sas-administrator

972


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1075


If a variable contains letters or special characters, can it be numeric data type?

1159