I added a new queue with a threshold task. Both the queue and the task were added to the SYSGEN.
When triggered, the queue threshold task is getting error status 1491 and error message:
DB347006 nnnnnnnn subschema requires a DBNAME to do bind run unit.
If the task is invoked manually from a terminal it runs without error and the queue empties