Skip to main content

Problem:

Compiling with the following DB2 compiler directives works fine when included on the command line but fails if the same directives are put into a file and added to the compile using the USE"file" directive.

Example DB2 commands:

DB2(UDB-VERSION==V8 DB==mydb PASS==mypass QUALIFIER==qual1)

Error:

* DB2 directive =  is invalid - check documentation for list of valid directives

* Rejected - DB2(UDB-VERSION==V8 DB==mydb PASS==mypass QUALIFIER==qual1

* Accepted - list(file)

Resolution:

Solution is to change the == into a single =

Example

DB2(UDB-VERSION=V8 DB=mydb PASS=mypass QUALIFIER=qual1)

Old KB# 2280

#MFDS
#Enterprise
#COBOL
#EnterpriseDeveloper
#MainframeExpressandMFE
#ServerExpress