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
Mention sas system options to debug sas macros.
What is PROC in SAS?
what versions of sas have you used (on which platforms)? : Sas programming
Have you used macros? For what purpose you have used? : sas-macro
To what type of programms have you used scratch macros?
What are the difference between sas functions and procedures?
What is the difference between reading data from an external file and reading data from an existing data set?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
For what purpose would you use the RETAIN statement?
how does sas handle missing values in a merge? : Sas programming
Explain the main difference between the sas procedures and functions? : Sas-administrator
what is the difference between infile and input? : Sas-administrator
For what purposes have you used sas macros? : sas-macro
Explain what Proc glm does?
what is snowflake schema? : Sas-di