DB2 V.10 – Frage
- Dieses Thema hat 3 Antworten und 1 Teilnehmer, und wurde zuletzt aktualisiert vor 11 Jahre, 5 Monaten von
Anonym.
-
AuthorPosts
-
13. April 2012 um 6:13 Uhr #4154
AnonymInaktivHAllo zusammen
ich brauche einige Infos von DB2-V10 Anwender.
Mit hilfe einer REXX ermittle ich den Releasestand unserer Db2-Systeme
indem ich in die SDSNEXIT das Member DSNHDECP analisiere.In diesem steht irgendwo der Begriff: DECP810 oder DECP910 .
Nun meine Frage: Was steht ist diesem member wenn es sich um die DB2 V10 handelt?
Diese version habe ich noch nicht zum testen möchte aber die Rexx schon vorher anpassen
Grund: Wir clonen regelmäßig diverse Db2-Systeme und nun muß ich sicher sein, dass im Zielsystem
das entsprechende ZPARM-Mbr entsprechend dem Quell-System angepaßt ist.Deshalb muß ich vom Zielsystem das ZPARM analysieren.
Danke
Zefrim
14. April 2012 um 20:15 Uhr #4293
AnonymInaktivHi Zefrim,
I don’t know about DECP810 or DECP910 as constant value in DSNZPARM/DSNDECP – this may be a locally used specific output name.
But you could check for existence of new ZPARMS values. Or you could check the esxistence of new DB2 catalog columns or tables.
Much more easier is to execute a -DISPLAY DB2 command and to examine its output
-DISPLAY GROUP [DETAIL] provides (as an example) the DB2 catalog level ….
in V10:
[tt]DSN7100I -DB1A DSN7GCMD
*** BEGIN DISPLAY OF GROUP(DSNDB10 ) CATALOG LEVEL(101) MODE(CÂ Â )
       PROTOCOL LEVEL(2) GROUP ATTACH NAME(DB10)
[/tt]
in V9:
[tt]DSN7100I -DB1A DSN7GCMD
*** BEGIN DISPLAY OF GROUP(DSNDB10 ) CATALOG LEVEL(910) MODE(C )
       PROTOCOL LEVEL(2) GROUP ATTACH NAME(DB10)[/tt]
in V8
[tt]DSN7100I -DB1A DSN7GCMD
*** BEGIN DISPLAY OF GROUP(DSNCAT1) GROUPLEVEL(810) |MODE(E)
       PROTOCOL LEVEL(2) GROUP ATTACH NAME(CAT1)[/tt]And as an side effect you’ll get the MODE your DB2 currently operates:
MODE (here: V8)
  Indicates the catalog mode, as follows:
     C indicates compatibility mode.
     E indicates enabling new function mode.
     N indicates DB2 Version 8 new-function mode or later.
  MODE is displayed only when you specify the DETAIL option.If you want to compare system parameters you should not miss the page https://ruban.de/976/codezos/rexx-procedures-to-call-dsnwzo-stored-procedure-dsnzparms/. This is an REXX sample procedure which calls SYSPROC.ADMIN_INFO_SYSPARM. It works fine for V9 and V10 and is also available in V8 (I did no tests on V8).
Gernot
18. April 2012 um 10:27 Uhr #4393
AnonymInaktivzefrim wrote:
In diesem steht irgendwo der Begriff: DECP810 oder DECP910 .Nun meine Frage: Was steht ist diesem member wenn es sich um die DB2 V10 handelt?
Da steht dann DECP1010 drin
23. April 2012 um 20:18 Uhr #4459
AnonymInaktivI never took a deeper look on DSNHDECP at binary level … until these days:
DSNHDECP is output of DB2’s "make" process and results from macro DSNHDECM, literals and parameters, which is documented in target-lib.SDSNMACS(DSNHDECM):
[tt]DSNHDECP CSECTÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
DECPIDÂ Â DCÂ Â XL2’20C0’Â Â Â Â Â Â BLOCK IDÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
DECPLENÂ DCÂ Â AL2(DECPLAST-DSNHDECP)Â LENGTH OF BLOCKÂ Â Â Â Â Â Â Â Â Â Â
DECPEYEÂ DCÂ Â CL4’DECP’Â Â Â Â Â Â EYE CATCHERÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
DECPRELÂ DCÂ Â CL4’1010’Â Â Â Â Â Â VERSION, RELEASE, MOD LEVELÂ Â Â Â Â Â Â
      DC  CL4’  ‚      RESERVED                  Â
DECPLVLÂ DCÂ Â CL8’V10R1M0 ‚Â Â Â Â MACRO CHANGE LEVELÂ Â Â Â Â Â Â Â Â Â Â Â
*Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â COORDINATE WITH DSNDDECP MACROÂ Â Â Â
[/tt]
For complete description of all elements, see DSNHDECM on SDSNMACS library.Ciao
GernotPS: Zefrim, what is the result of your DSNHDECP binary analysis? What is the "plus" compared to SYSPROC.ADMIN_INFO_SYSPARM or -DISPLAY command?
-
AuthorPosts
You must be logged in to reply to this topic.