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
What are the new features included in the new version of SAS Programming Language?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
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
what is hash files in sas and why we are using this one in sas?
how can you import .csv file in to sas? : Sas programming
What are the five ways to do a table lookup in sas? : sas-grid-administration
which date function advances a date, time or datetime value by a given interval? : Sas programming
What makes sas stand out to be the best over other data analytics tools?
Name few SAS functions?
Do you need to know if there are any missing values?
Name types of category in which SAS Informats are placed?
What versions of SAS have you used (on which platforms)?
Differentiate between proc means and proc summary.
In sas, what are the areas that you are most interested in? : sas-grid-administration
Which function is used to count the number of intervals between two sas dates?