In the following stored procedure (the complete fex has several dialogue manager lines too which I did't include here) in data migrator. When I try to save it, I get the following error
FOC1517 - ON TABLE HOLD AS PUR_COSTCENTER FORMAT FOCUS INDEX COSTCENTER GRHAND GRSUNO PGPRFA PGPGRP
However, if I remove
LM17
LM18
LM19
LM20
LM21
LM22
LM23
LM24
from the TABLE FILE PURHOLD1, then it saves just fine. Can someone see whats wrong here? Thanks.
APP HOLD CACHE
DEFINE FILE PURHOLD1
PRIORYRMTD_VAL/P17.2C=IF (GRPERI EQ '&PREVYRMONTH') AND (GRRDAT LE &YEARM1&MONTHDAY) THEN GRAMSY ELSE 0;
PRIORYTD_VAL/P17.2C=IF (GRPERI GE '&BEGINPREVYRMONTH') AND (GRRDAT LE &YEARM1&MONTHDAY) THEN GRAMSY ELSE 0;
CURRENTYRMTD_VAL/P17.2C=IF (GRPERI EQ '&CURRYRMONTH') AND (GRRDAT LE &YYMD) THEN GRAMSY ELSE 0;
CURRENTYTD_VAL/P17.2C=IF (GRPERI GE '&BEGINCURRYRMONTH') AND (GRRDAT LE &YYMD) THEN GRAMSY ELSE 0;
LM1/P17.2C=IF GRPERI EQ '&MP1' THEN GRAMSY ELSE 0;
LM2/P17.2C=IF GRPERI EQ '&MP2' THEN GRAMSY ELSE 0;
LM3/P17.2C=IF GRPERI EQ '&MP3' THEN GRAMSY ELSE 0;
LM4/P17.2C=IF GRPERI EQ '&MP4' THEN GRAMSY ELSE 0;
LM5/P17.2C=IF GRPERI EQ '&MP5' THEN GRAMSY ELSE 0;
LM6/P17.2C=IF GRPERI EQ '&MP6' THEN GRAMSY ELSE 0;
LM7/P17.2C=IF GRPERI EQ '&MP7' THEN GRAMSY ELSE 0;
LM8/P17.2C=IF GRPERI EQ '&MP8' THEN GRAMSY ELSE 0;
LM9/P17.2C=IF GRPERI EQ '&MP9' THEN GRAMSY ELSE 0;
LM10/P17.2C=IF GRPERI EQ '&MP10' THEN GRAMSY ELSE 0;
LM11/P17.2C=IF GRPERI EQ '&MP12' THEN GRAMSY ELSE 0;
LM12/P17.2C=IF GRPERI EQ '&MP13' THEN GRAMSY ELSE 0;
LM13/P17.2C=IF GRPERI EQ '&MP14' THEN GRAMSY ELSE 0;
LM14/P17.2C=IF GRPERI EQ '&MP15' THEN GRAMSY ELSE 0;
LM15/P17.2C=IF GRPERI EQ '&MP16' THEN GRAMSY ELSE 0;
LM16/P17.2C=IF GRPERI EQ '&MP17' THEN GRAMSY ELSE 0;
LM17/P17.2C=IF GRPERI EQ '&MP18' THEN GRAMSY ELSE 0;
LM18/P17.2C=IF GRPERI EQ '&MP19' THEN GRAMSY ELSE 0;
LM19/P17.2C=IF GRPERI EQ '&MP20' THEN GRAMSY ELSE 0;
LM20/P17.2C=IF GRPERI EQ '&MP21' THEN GRAMSY ELSE 0;
LM21/P17.2C=IF GRPERI EQ '&MP22' THEN GRAMSY ELSE 0;
LM22/P17.2C=IF GRPERI EQ '&MP23' THEN GRAMSY ELSE 0;
LM23/P17.2C=IF GRPERI EQ '&MP24' THEN GRAMSY ELSE 0;
LM24/P17.2C=IF GRPERI EQ '&MP25' THEN GRAMSY ELSE 0;
END
-RUN
TABLE FILE PURHOLD1
SUM
PRIORYRMTD_VAL
CURRENTYRMTD_VAL
PRIORYTD_VAL
CURRENTYTD_VAL
LM1
LM2
LM3
LM4
LM5
LM6
LM7
LM8
LM9
LM10
LM11
LM12
LM13
LM14
LM15
LM16
LM17
LM18
LM19
LM20
LM21
LM22
LM23
LM24
MAX.NANAME
BY REGION
BY COSTCENTER
BY GRHAND
BY GRSUNO
BY PGPRFA
BY PGPGRP
ON TABLE HOLD AS PUR_COSTCENTER FORMAT FOCUS INDEX COSTCENTER GRHAND GRSUNO PGPRFA PGPGRP
END
-EXIT
WebFOCUS 7.6.10
Windows
all output (Excel, HTML, PDF)