Hi again and sorry!
I overlooked that you're obviously using the legacy version of ksh, which is standard for AIX.
As opposed to the newer ksh93 (which I use for homemade scripts), putting the trap command into a function is not really supported with ksh! It will only work inside the function and not in the calling script!
So you could either switch to ksh93 (by replacing #!/bin/ksh with #!/bin/ksh93, but please check thoroughly for compatibility)), or you must relinquish using a function.
Anyway (ksh or ksh93) you could put the "trap" command" into an autonomous file and "source" it where needed.
1) Create a file containing just trap "" INT HUP QUIT TERM and call this file e.g. /etc/ignoretrap.
2) Add . /etc/ignoretrap as the second line to whichever script desired. Note the ". " (dot space) preceeding settrap! It's important!
And please take care to really ignore the traps using a null string as the command! Printing out a string will in many cases not yield the desired result (continuing the script as if nothing had happened).
wmp