Yes, you are using DFSORT. The error message indicates that you don't have DFSORT R14 PTF UQ95213 which is required to use IFTHEN. That PTF has been available since Dec, 2004 so your site is way, way behind in DFSORT service. Ask your System Programmer to install DFSORT R14 PTF UK90006 (April, 2006). That will get you all of the latest DFSORT functions.