%Let eom= 1205;
%let startdt='2007/11'd;
%let enddt='2009/04'd;
/********************* Please update the dates ******************/ data CF;
set
Base.cfmc&eom.;
where &startdt. <= exposmth <= &enddt. and lob = 'PI';
其中exposmth是'2007/11'这样形式的
582 where &startdt. <= exposmth <= &enddt. and lob = 'PI';
-- -- -
22 22 22
-------- ----
202 200
NOTE: Line generated by the macro variable "ENDDT".
1 '2009/04'
---------
200
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, ;, END, KEY,
KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
ERROR 200-322: The symbol is not recognized and will be ignored.