Skip to Content
0
Oct 13, 2014 at 08:49 AM

Script logic: Only 1st include executed

16 Views

Hi,

I have code in my logic script where I initially execute two other scripts using INCLUDE statement and then make some calculations based on results of those two first scripts. It looks sth like this:

*INCLUDE script1.LGF

*INCLUDE script2.LGF

*XDIM_MEMBERSET ACCOUNT=....

...

*WHEN_REF_DATA = MASTER_DATA

*WHEN ACCOUNT
*IS XXX

*REC(EXPRESSION=.....

.....

*ENDWHEN

*COMMIT

My problem is that it seems that only logis from 1st include is executed and the rest is ommited. What can be wrong here?

Regards,

Andrzej