Skip to main content

PREPARE before DECLARE not allowed

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

COBSQ0141E is issued, if a dynamic SQL statement is prepared before it is declared.

This is possible in mainframe DB2, but not in XDB.

Resolution:

use directive XDB(SQLDS)

Old KB# 6623

#MFDS
#EnterpriseDeveloper