Fujitsu Cobol and MS SQL Server

From: Zalek Bloom (zalekb...)

I am using Fujitsu Cobol with MS SQL Server. In order to improve
performance our DBA suggested to insert the following statement to our
SQL statements:
set nocount on

My question: how to embad this statemnt in SQL?

When I tried

EXEC SQL
set nocount on
END-EXEC.

I got a compile error saying: The SQL statemnt is invalid. Odbc-7600e
NOT EXECUTABLE STATEMENT

Any idea how to do it?

Thanks,

Zalek

Share |