I have a statement at the top of my program like this
%macro MEGAMODEL(CARRID =,CONTRACTID =,GROUPID =,CLIENT =,REPORT_SEGMENT =,
SVCDTE1_PRIOR =,SVCDTE2_PRIOR =,SVCDTE1_CURR =,SVCDTE2_CURR =,INFERRED_FILL =,
EXTERNAL_CLAIMS =);
and the corresponding mend ststement like this at the end of my program
%mend MEGAMODEL;
%MEGAMODEL
(CARRID ='',CONTRACTID ='',GROUPID =('LOF005AH','LOF005AHC','LOF006AH','LOF006AHC','LOF010AH','LOF010AHC','LOF075AH','LOF075AHC'),
CLIENT =PILKINGTON,REPORT_SEGMENT =HOURLY_ACTIVES,SVCDTE1_PRIOR ='2001-01-01',SVCDTE2_PRIOR ='2001-12-31',SVCDTE1_CURR ='2002-01-01',SVCDTE2_CURR ='2002-12-31',
INFERRED_FILL ='Y',EXTERNAL_CLAIMS ='N');
%MEGAMODEL
(CARRID ='',CONTRACTID ='',GROUPID =('LOF005AS','LOF005ASC','LOF006AS','LOF006ASC','LOF010AS','LOF010ASC','LOF075AS','LOF075ASC'),
CLIENT =PILKINGTON,REPORT_SEGMENT =SALARY_ACTIVES,SVCDTE1_PRIOR ='2001-01-01',SVCDTE2_PRIOR ='2001-12-31',SVCDTE1_CURR ='2002-01-01',SVCDTE2_CURR ='2002-12-31',
INFERRED_FILL ='Y',EXTERNAL_CLAIMS ='N');
I keep getting a message like this when I run this program
WARNING: Missing %MEND statement.
Any ideas?
Thanks!
QueryMan
%macro MEGAMODEL(CARRID =,CONTRACTID =,GROUPID =,CLIENT =,REPORT_SEGMENT =,
SVCDTE1_PRIOR =,SVCDTE2_PRIOR =,SVCDTE1_CURR =,SVCDTE2_CURR =,INFERRED_FILL =,
EXTERNAL_CLAIMS =);
and the corresponding mend ststement like this at the end of my program
%mend MEGAMODEL;
%MEGAMODEL
(CARRID ='',CONTRACTID ='',GROUPID =('LOF005AH','LOF005AHC','LOF006AH','LOF006AHC','LOF010AH','LOF010AHC','LOF075AH','LOF075AHC'),
CLIENT =PILKINGTON,REPORT_SEGMENT =HOURLY_ACTIVES,SVCDTE1_PRIOR ='2001-01-01',SVCDTE2_PRIOR ='2001-12-31',SVCDTE1_CURR ='2002-01-01',SVCDTE2_CURR ='2002-12-31',
INFERRED_FILL ='Y',EXTERNAL_CLAIMS ='N');
%MEGAMODEL
(CARRID ='',CONTRACTID ='',GROUPID =('LOF005AS','LOF005ASC','LOF006AS','LOF006ASC','LOF010AS','LOF010ASC','LOF075AS','LOF075ASC'),
CLIENT =PILKINGTON,REPORT_SEGMENT =SALARY_ACTIVES,SVCDTE1_PRIOR ='2001-01-01',SVCDTE2_PRIOR ='2001-12-31',SVCDTE1_CURR ='2002-01-01',SVCDTE2_CURR ='2002-12-31',
INFERRED_FILL ='Y',EXTERNAL_CLAIMS ='N');
I keep getting a message like this when I run this program
WARNING: Missing %MEND statement.
Any ideas?
Thanks!
QueryMan