Skip to main content

SQLCODE -1405 returned fetching data from Oracle using Pro*COBOL application

  • February 15, 2013
  • 0 replies
  • 2 views

Problem:

Is there a way in which data can be returned containing NULL values without specifying NULL indicators? The application returns a SQLCODE of -1405 on the fetch.

Resolution:

Use the Oracle precompiler directive unsafe_null=yes . Refer to the Oracle Pro*COBOL documentation for further details.

Old KB# 1462