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


Please Help Members By Posting Answers For Below Questions

Describe the ways in which you can create a macro variable?

626


is data integration and etl programming is same? : Sas-di

576


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1229


What is a macro routine?

2104


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

1612






How do you debug and test your SAS programs?

1048


Explain what is data step?

731


what are the considerations when picking a SAS/STAT procedure?

2899


How would you include common or reuse to be processed along with your statements?

1900


how does sas handle missing values in formats? : Sas programming

582


explain what is factor analysis? : Sas-administrator

602


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

617


what can you learn from the sas log when debugging? : Sas programming

610


Which are the statements whose placement in the data step is critical?

762


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

631