How to do user inputs and command line arguments in SAS? D&B
Answers were Sorted based on User's Feedback
Answer / segu
we can pass the paramters at run time.
here is an example which passes three parameters( 3 dates)
to a program calles pgm_name:
>sas pgm_name -sysparm "01aug95 05aug94 10jan60"
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
why is sas data integration studio important? : Sas-di
What is the difference between %local and %global? : sas-macro
What are the limitations for memory allocation for SAS variables
Name statements that function at both compile and execution time.
define table lookup and how may ways it can be done...explian
what is lifetest
How would you identify a macro variable? : sas-macro
I need level 2 to 5 sas using companies in india
What are the difficulties u faced while doing vital signs table or dataset?
how to write code for left outer join in SAs using datastep?
Hi Friends, My name is Priya,am new to this Forum. am looking for SAS Platform Administration Interview Questions.I searched every where but I couldn't find any where.please can anyone help me with the FAQ's. It would be a great favor to me if you can email the Interview Questions to priyafeb84@gmail.com
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?