The "DBMS Output" panel shows the output which a [[Invantive UniversalSQL/Grammar/Statement Types/PSQL Block|PSQL block]] writes with `dbms_output.put_line`, in the order it was written and with the moment of writing in front of each line. The panel belongs to the document being edited, so each document keeps its own output:
![[20260903-qt-dbms-output.png]]
## Switching It On
Collecting the output is off when a document is opened, and the button "DBMS Output" switches it on and off; the lamp on the button is green while it is on. Output written while it is off is not kept, so the button is pressed before the statement is executed rather than afterwards. "Clear output" empties the panel.
## Copying
The context menu of the output holds "Copy" and "Cut", with the shortcuts Ctrl+C and Ctrl+X, which take what is selected. The output is a record of what a statement wrote rather than a document being edited: text cut from it is not written back anywhere.
## Searching
From release 27.0 onwards the toolbar carries a search field. It selects the first occurrence of the text in the output as soon as it is typed, and the two buttons behind it, the Enter key and F3 move to the next occurrence, with Shift for the previous one; after the last occurrence the search continues at the first. The switch "Show Only Matches" leaves out every line which does not hold the text instead of moving to it, and brings the whole output back when it is switched off.
Upper and lower case are treated alike, and a text which occurs nowhere turns red in the field. See [[Invantive Query Tool/Main Window#Searching in a panel|Searching in a panel]] for the search fields of the other panels.