General guidelines for writing exit routines
When you use the exit routines that Db2 supplies, consider some of the general rules, requirements, and guidelines for using exit routines.
Using an exit routine requires coordination with your
system programmers. An exit routine runs as an extension of Db2 and has all the privileges of Db2. It can impact the security
and integrity of the database. Conceivably, an exit routine could
also expose the integrity of the operating system. Instructions for
avoiding that exposure can be found in the appropriate z/OS® publication.