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
What is the role of administrative users? : sas-grid-administration
To what type of programms have you used scratch macros?
Name validation tools used in SAS
What is run-group processing?
Explain input and put function?
Explain by-group processing?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
For clinical entire study how many tables will create approx?
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
Mention how to limit decimal places for the variable using proc means?
Explain translate function?
Explain bmdp procedure?
What are the difference between the sas data step and sas procs?
What are the data types in sas?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?