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 can you limit the variables written to output dataset in data step?
Briefly explain input and put function?
how does sas handle missing values in procs? : Sas programming
What do you know about sas and what we do? : sas-grid-administration
What is data _null_?
for report generation which one you used proc report or data_null_?
what is slowly changing dimension? : Sas-di
What function CATX syntax does?
how many display types available in sas bi dashboard? : Sas-bi
explain the proc in sas? : Sas-administrator
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
How necessary is it to be creative in your work?
how do you test for missing values? : Sas programming
for whom is sas data integration studio designed? : Sas-di
name several ways to achieve efficiency in your program? : Sas programming