I have bat script:
@echo off
cls
:start
sqlplus user/pass@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=X.Y.Z.F)(Port=1521))
(CONNECT_DATA=(SID=some_sid))) @test.sql
goto end
:end
pause 0
and my test.sql
DECLARE
test varchar2(32000);
BEGIN
test:='value';
DBMS_OUTPUT.PUT_LINE('string test');
DBMS_OUTPUT.PUT_LINE(test||' test');
END;
When I run it I got this:
What it means?

SET SERVEROUTPUT ONbefore yourDECLAREstatement in order to show the output from DBMS_OUTPUT.