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 |
How do you delete duplicate observations in sas?
what is data governance? : Sas-di
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
How would you combine 3 or more tables with different structures?
If i doest required Cumilative frequency in my table, generated by using PROC FREQ what i had to do?
what is the difference between proc means and proc summary?
What are the data types that sas contain?
explain about data integrator metadata reports? : Sas-di
What is the command used to find missing values?
data jagan1.s; input bp$; cards; 100/90 120/89 112/87 run; in the above code how to convert character data values to numeric data values?
what are the three main credit bureau names
1 Answers Synchrony Financial,
What statement do you code to write the record to the file?