Focal Point
AUTODB2 and DB2v8

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3831016932

July 31, 2007, 01:15 PM
Lou DeTota
AUTODB2 and DB2v8
We are in the final process of moving from DB2v7 to DB2v8. Since we are running FOCUS R7.3.6 in production, per instructions on the IBI site, I needed to obtain newer copies of the AUTODB2 files from R7.3.7 or higher. (MFDs generated against DB2v8 produced a USAGE=DTTM which yields errors with CHECK or TABLE)

I copied AUTODB2, AUTODB27, AUTODB28, DB2SYSM8 and DB2CATM8 from the FOCSQL.DATA for R7.3.9 that we have in testing to the appropriate FOCEXEC and MASTER datasets per TM8027. This is where the fun begins.

AUTODB2 is supposed to query the DB2 subsystem and execute AUTODB27 for DB2v7 or AUTODB28 for DB2v8. What I found was a hard coded -SET at line 86 of the AUTODB2 procedure that forced the execution of AUTODB27 regardless of DB2 version. In addition to this we had a hard time finding the problem because SETting ECHO to ALL did not echo most of the variable substitutions. We had to intersperse -TYPE to see variable substitution. This I have never experienced with FOCUS.

Finally, in playing around with AUTODB2, we got the FOCEXEC to branch properly for DB2 versions but before so, noticed that it did not seem to matter that we ran the version 7 FOCECXEC against DB2v8. The same MFD was produced.

Has anyone had experience with AUTODB2 or noticed that ECHO does not show all variable substitutions ?

Thanks,
Lou


WF 7.6.11 PDF deployment, z/OS, WAS, Excel, PDF, HTML. FOCUS 7.6.11, same outputs.
August 09, 2007, 05:36 PM
Kerry
Hi all,

FYI, Lou has a case opened with Information Builders' Customer Support Services, and here is from the case:

The customer is running Compatibility Mode for DB2v8.
Compatibility mode is running db2 v8, but as if it were v7. The compatibility means compatible with v7.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.