Subject RE: [IBO] no wait stored procedure?
Thanks Jason and Rob for comments. I will try making a new thread in my program which runs a procedure in the DB. I am doing this now in the program's main thread. 

I will use a separate connection, transaction and tib_dsql component. I cannot say why I must or should have these separate so would welcome an explanation. 

By not using isql in a scheduled bat file execution I will keep all maintenance tasks internal to the program.