How to do user inputs and command line arguments in SAS? D&B
Answer Posted / 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 |
Post New Answer View All Answers
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
In proc transpose and data step with arrays which one you pick?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
Which function is used to count the number of intervals between two sas dates?
what is study design in while working with SAS? what are screening variables in SAS?
How will you generate test data with no input data?
what are _numeric_ and _character_ and what do they do? : Sas programming
Difference between SAS STATA & SPSS?
What is connection profile? : sas-grid-administration
What is the difference between %local and %global? : sas-macro
What are the data types does SAS contain?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
Differentiate between sas functions and sas procedures.
What are the implications?
What is the basic syntax of a sas program?