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

What are the new features included in the new version of SAS Programming Language?

1209


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2126


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

1345


what is hash files in sas and why we are using this one in sas?

2217


how can you import .csv file in to sas? : Sas programming

1099


What are the five ways to do a table lookup in sas? : sas-grid-administration

1064


which date function advances a date, time or datetime value by a given interval? : Sas programming

1051


What makes sas stand out to be the best over other data analytics tools?

1072


Name few SAS functions?

1095


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

1041


Name types of category in which SAS Informats are placed?

1151


What versions of SAS have you used (on which platforms)?

1517


Differentiate between proc means and proc summary.

1062


In sas, what are the areas that you are most interested in? : sas-grid-administration

1074


Which function is used to count the number of intervals between two sas dates?

1132