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

In ARRAY processing, what does the DIM function do?

1232


What is the basic syntax of a sas program?

1266


How to limit decimal places for variable using proc means?

1161


What is the maximum length of the macro variable?

1226


Given an unsorted data set, how to read the last observation to a new data set?

1414


Describe the ways in which you can create a macro variable?

1135


Which are the statements whose placement in the data step is critical?

1315


what do the pad and dim functions do? : Sas programming

1078


for report generation which one you used proc report or data_null_?

7947


What is maximum number of rows and cols can be handled in SAS?

1678


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1254


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2288


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5118


Do you need to know if there are any missing values?

1086


What is the difference between the proc sql and data step?

1225