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 |
How would you keep from overlaying the a SAS set with its sorted version?
i am importing large data from oracle to work library. in log there is a error message worklibrary space is not enough. then how to import the data safely to sas environment.
explain about sas business intelligence? : Sas-bi
How are the analysis data sets structured?
how to read raw data in sas. Do it manually and throw the programming.
HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?
What are the Aggregate functions in SQL ?
what is option year cuttoff in sas
what do you mean by data staging area? : Sas-di
How experienced are you with customized reporting and use of Data _Null_ features?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??