Problem Statement:

Temporary batch tables are not being cleaned up from the ShowCase server library.
In the showcase.log, see errors like below:

CUSTOM DEBUG DEP Thread-0 08/14/2009 09:32:22.535 AM SCUserExitPointExe.loadExitPrograms... JDBC DEBUG null Thread-0 08/14/2009 09:32:22.535 AM SCRemotePreparedStatementImpl.init: Customized SQL is DROP TABLE SHC80/B424849285 JDBC ERROR null Thread-0 08/14/2009 09:32:22.717 AM B424849285 in SHC80 type *FILE not found. JDBC ERROR null Thread-0 08/14/2009 09:32:22.717 AM B424849285 in SHC80 type *FILE not found. at java.lang.Throwable.init( at java.sql.SQLException.init( at at at Method) at at at at at at at at com.showcasecorp.jdbc.SCRemotePreparedStatementImpl.init( at com.showcasecorp.jdbc.SCRemoteConnectionImpl.prepareStatement( at com.showcasecorp.jdbc.SCConnection.prepareStatement( at com.showcasecorp.ojdbc.OJStatement.SQLPrepare( at c


The batch query temporary table clean up code gets executed by one of the 2 scenarios below:

The following two properties are set in the config file and the server restarts:

  • showcasecorp.batchquery.removeExpired=true
  • showcasecorp.batchquery.cleanupRunInterval=0

After every batch query execution, the temporary tables clean up code checks for the expiration of the temporary tables.

  • A temporary table gets deleted only after 7 days from start time of the corresponding batch query and this clean up of temporary table is applicable only if batch query is scheduled to run only once.
  • If the batch query is set to run daily or monthly then clean up won't happen for the corresponding temporary tables.

Note:  Since you can only set the start date and start time of the batch query in batch option, it is impossible to decide when to clean up those tables. If the batch query is scheduled for daily or monthly execution then it replaces the old temporary table with new one (i.e. deletes the old table and creates a new table with the same name).


Ref#: 1484362





Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case