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 to do user inputs and command line arguments in SAS? D&B

Answer Posted / rupesh

we can input values in dataset runtime using WINDOW statement:


data temp;
length name $20;
length sex $1;

window start

#3 @5 'enter the name' +1 name attr=underline
#4 @5 'enter the age' +2 age attr=underline
#5 @5 'enter the sex' +2 sex attr=underline

#7 'when complete type end in cmd';

display start;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you execute a macro within a macro? Describe. : sas-macro

1064


What are the prime responsibilities of data integration administrator? : Sas-di

999


What do the put and input function do?

997


what is data integration? : Sas-di

1061


Explain the difference between informat and format with an example.

1110


What are the statements that are executed only?

1092


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

995


what is sas application server? : Sas-di

995


What are the data types in sas?

999


Mention what is the difference between nodupkey and nodup options?

954


What is the command used to find missing values?

1033


what is the basic structure sas administrator? : Sas-administrator

954


why is sas considered self-documenting? : Sas programming

1080


Explain the use of proc print and proc contents?

902


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

1008