Got an error on equals in ifvar.

give me a help through following code,

%scope param(year=‘2007’) param(month=‘09’)%
%invoke wm.monitor.util:getCalendar%

%scope calendarRec%
%loop weekdays%
%value% :
%endloop%

%loop weeks%
%loop dates%