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 the purpose of _error_? : Sas programming
how do you debug and test your sas programs? : Sas programming
what are sas/access and sas/connect? : Sas programming
Can you execute a macro within a macro? Describe. : sas-macro
What is the difference between proportion and average?
What are the different servers in sas? : sas-grid-administration
State the difference between INFORMAT and FORMAT ?
what is change analysis in sas di ? : Sas-di
Explain the difference between nodup and nodupkey options?
how will you location sas platform applications available from web browser? : Sas-bi
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
What versions of SAS have you used (on which platforms)?
What does the trace option do?
Differentiate between sas functions and sas procedures.
how many types prompting framework can be broken down to? : Sas-bi