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
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
What are the uses of sas?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
Which command is used to save logs in the external file?
explain the concepts and capabilities of business object? : Sas-bi
Are you involved in writing the inferential analysis plan? Tables specifications?
What is the difference between match merge and one to one merge?
What are the features of SAS?
Explain data_null_?
Differentiate between proc means and proc summary.
Difference between informat and format?
What is the use of divide function?
AE datasets names? how many types?
what is the difference between floor and ceil functions in sas? : Sas-administrator
Enlist the functions performed by sas.