T***9 发帖数: 73 | 1 Hi all,
Got stuck with the following error. Any help? Thanks in advance!
WARNING: Apparent symbolic reference _PROB not resolved.
ERROR: A character operand was found in the %EVAL function or %IF condition
where a numeric operand
is required. The condition was: &_prob=SIG
ERROR: The macro EXTRAPOI will stop executing.
336 proc print data=_stats;run;
ERROR: File WORK._STATS.DATA does not exist.
The original codes:
options MPRINT;
*Using proc genmod to perform Poisson regression;
* and sav |
n******e 发帖数: 53 | 2 maybe you should quote SIG, &_prob is characteristic variable
%do iter=1 %to 20 %while (&_prob='SIG'); |
s******r 发帖数: 1524 | 3 %global _PROB; add as second line.
condition
【在 T***9 的大作中提到】 : Hi all, : Got stuck with the following error. Any help? Thanks in advance! : WARNING: Apparent symbolic reference _PROB not resolved. : ERROR: A character operand was found in the %EVAL function or %IF condition : where a numeric operand : is required. The condition was: &_prob=SIG : ERROR: The macro EXTRAPOI will stop executing. : 336 proc print data=_stats;run; : ERROR: File WORK._STATS.DATA does not exist. : The original codes:
|
T***9 发帖数: 73 | 4 Hi scimitar,
added %global _PROB, and now the program works. Thanks a lot!
Hi notapple,
Thanks for catching the typo.
I will send you Baozi later. Now I am too poor to send anything. |