Hi @Rpauley,
Which version of the App are you running? The error give the impression that there is a variable length issue with the statement in whole but since DS’s definition is stored as Clob, it seems quite strange.
Have you tried saving the DS without the lengthy W/D/R condition? If that you are able to save without that, that would tell you that the problem is probably with the length of the condition. If for some reason that is the case, you can work around that by creating a simple IAL (i.e. excluded WDR) and using a sub query as your condition without having to have everything in the DS it self.
i.e. WAIV_DEV_REJ_NO not in (Select WDR from ifsinfo.excluded_wdr)
Cheers