05-29-2013 12:51 PM
Anyone know why the following does nnot work?
The log says that the input function is not found. It says 'binomial' is out of range of offered distributions. Clearly 'binomial' is one of the options. So what is wrong with these statements? Thanks.
05-29-2013 12:59 PM
The INPUT function is one of the functions that you can't use with %sysfunc. Use INPUTN or INPUTC instead.
Also "Because %SYSFUNC is a macro function, you do not need to enclose character values in quotation marks as you do in DATA step functions".
See "%SYSFUNC and %QSYSFUNC Functions" here: SAS(R) 9.2 Macro Language: Reference