haciendo un select a las tablas systables y syscolumns de la base de datos que tu deseas saber sus tablas , pero yo lo haria por medio del dbaccess es mas facil conocer todas las tablas de una base de datos .
unload to tablas_base_de_datos.txt
select systables.tabid, tabname, colname, colno from systables,syscolumns where syscolumns.tabid = systables.tabid and systables.tabid > 99
Seria algo Asi....