More Detail -
Old load modules can access DB2 if they have the supporting libraries to
run.  Still in the manuals - still supported.

The interface to DB2 is a module called DSNHLI - It hasn't changed for
ages.  Now what it does is load the real processing module from steplib,
joblib, or wherever so you have to be careful to keep the DB2 library in the
concatenation at a -1 to +1 version of the DB2 you are running connected to.


Now if you want to recompile using V8 precompiler and your saved COBOL II
compiler - NO GO - it doesn't work anymore.

If  you have matching load module and DBRM from any version, and you have a
working execution environment, DB2 doesn't care. It JUST RUN's.

If you want to know how DB2 knows what version did the precompile, it is in
2 places.  The DBRM has a byte in column 80 of the first line of the DBRM
that identifies the DB2 version of the precompiler that created the DBRM and
the generated PLIST in the compiled program has indicators that identify the
format of the PLIST which some times changes with DB2 version change and
sometimes doesn't.

V8 is different from V7 in couple of ways, the precompiler has a variable
that identifies NEWFUN(YES/NO).
NEWFUN(NO) the output is just like V7 and will run on either V7 or V8
compatability mode.
NEWFUN(YES) only runs in V8 enable new function mode. And stores the SQL
text in unicode and expands the limit on the largest SQL statement and
changes the format of the generated PLIST and so on.

Mike

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to