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 is sas and what are the functions? : Sas-administrator
What are the functions used for character handling?
what are sas/access and sas/connect? : Sas programming
If money were no object, what would you like to do?
If you could design your ideal job, what would it look like?
Which command is used to perform sorting in sas program?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
What are the data types does SAS contain?
how many types prompting framework can be broken down to? : Sas-bi
What is the maximum length of the macro variable?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
explain the key concept of sas? : Sas-administrator
State the difference between INFORMAT and FORMAT ?
What is the role of sas grid administrator? : sas-grid-administration
What is program data vector (pdv)?