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 |
What is highest missing value for numeric?
I need to find the numeric field which contains blank in between..Ex:123 456...there is blank in between the 123 456..I need to know if there is any SAS function to find a field.. Please suggest...
what is the frontend and backend of sas? Is sas is a progaming langauge or tool? on which langauge sas depends?
If money were no object, what would you like to do?
What is the difference between %local and %global?
what is conditional processing?
What is the order of application for output data set options, input data set options and SAS statements?
what are input dataset and output dataset options? : Sas programming
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
what is data governance? : Sas-di
What is connection profile? : sas-grid-administration
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi