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 |
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.
is there any difference between proc summary and proc means?
Does SAS ‘Translate’ (compile) or does it ‘Interpret’? Explain.
· What are some good SAS programming practices for processing very large data sets?
What is the difference between input and infile statement?
what the use of proc glm
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
what are some differences between proc summary and proc means? : Sas programming
Do you need to rearrange the order of the data for the report?
what is sas business intelligence? : Sas-bi
What is SAS Information Map Studio and its purpose ?