For Your Information
A trap file is generated in the DB2 diagnostic directory.The files are created using the following naming convention:
Unix: tpppppp.nnn(pppppp is process ID, nnn is the nod where the trap occured), Eg. t123456.000;
Intel: DBpppttt.TRP (ppp is process ID, ttt is thread ID) Eg.DB123653.TRP