Rather than using an undocumented/unsupported IBM program (which is certainly NOT an API -- APIs by definition are documened application program interfaces), patching the system, and so on, why not use the IBM documented API Delete Object (QLIDLTO) documented at http://publib.boulder.ibm.com/infoce...is/qlidlto.htm.

Using this API, which admittedly does require that you be at 6.1 or higher, in my mind seems better than introducing an unsupported evironment on your system. This IBM provided API should, to my thinking, have been at least mentioned as an alternative solution.