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

What are the statements in proc sql?

591


What is the difference between the proc sql and data step?

661


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

542


How is character variable converted into numeric variable and vice versa?

595


What is a macro routine?

2101






Explain substr function?

575


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2261


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

1224


What are the functions which are used for character handling functions?

617


What do the PUT and INPUT functions do?

774


Give e an example of..

1843


What is the difference between SAS functions and procedures?

654


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

606


What is the role of sas grid administrator? : sas-grid-administration

826


Explain the special input delimiters used in sas programming.

582