I am using DB2 IBM data studio, and I cannot print logs:
create procedure test_ticket
begin
declare stmt varchar(500);
DECLARE QTY INTEGER;
SET QTY = (select count(*) from test.ticket);
CALL DBMS_OUTPUT.PUT_LINE( QTY );
end
No authorized routine named "DBMS_OUTPUT.PUT_LINE" of type "PROCEDURE" having compatible arguments was found.. SQLCODE=-440, SQLSTATE=42884, DRIVER=4.18.60