Closed abmusse closed 3 years ago
When dropping a schema, if there are unsaved journal receivers the job will go in to message wait indefinitely. I suspect that's what's going on here.
You can double check in WRKACTJOB if the status says "MSGW". If so, you can use option 7 on the job to answer the messages. You can also work around this with reply list entries, but they are system-wide and require special authority to set.
Spot on there was a QSQSRVR job in MSGW Status. I Hit option 7 and replied with I
to continue operation then my code terminated successfully.
Describe the bug When trying to drop a schema the program hangs. Looks like the schema get held by a lock.
To Reproduce Steps to reproduce the behavior:
I first created a schema via Run Sql Scripts:
Then using idb-connector attempted attempted to drop the schema
Output:
Trying to drop the schema from Run Sql Scripts:
FYI I needed to set the isolation level to no commit to avoid this error:
@dmabupt Have you run into this before?
Expected behavior Should be able to drop the schema successfully without hanging