Hi a temporary table is not created in the database. It is database independant.
select * from customer into temp cust_temp;
creates a temp table for session xx. If the session is disconnected, the temp table is automatically dropped.
database sysmaster;
select * from sysptnhdr a, sysptprof b
where b.tabname = 'cust_temp'
and a.partnum=b.partnum;
will return the characteristics of this temp table.
or
onstat -g ses <sess-id>
will return the list of temp tables per session.