Skip to main content

How can I compile a SQL program without a database?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

I am compiling programs in my Mainframe Express (MFE) project, but I want the SQL programs to be compiled without accessing the XDB database. Is there a way to do this?

Resolution:

If the MFE project uses SQL (XDB in this case), then go to the project Build defaults and turn off the Validate flag. It can be found under Project>Build Settings for Project>Cobol tab, Preproc tab.  Select EXEC SQL and then More.

Turn off the Validate option, click Close, then OK.

This will allow MFE to scan all programs and those using EXEC SQL statements will not use the Validate option.

Old KB# 6721

#EnterpriseDeveloper
#MFDS