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
How to convert a numeric variable to a character variable?
Explain bmdp procedure?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
How long can a macro variable be? A token? : sas-macro
What is SAS?
What are the five ways to do a table lookup in sas? : sas-grid-administration
Mention the validation tools used in SAS?
Mention the difference between ceil and floor functions in sas?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
what is proc Index? and what is proc document?
how many types of prompts are there? : Sas-bi
Explain data step in SAS
what is slowly changing dimension? : Sas-di
Name any two sas spawners? : sas-grid-administration