How to check db2 version

后端 未结 15 1683
说谎
说谎 2020-12-04 17:54

How to check db2 version on Z/OS using only SQL commands?

Thanks, Melita

15条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 18:17

    There is a typo in your SQL. Fixed version is below:

    SELECT GETVARIABLE('SYSIBM.VERSION') FROM SYSIBM.SYSDUMMY1;

    I ran this on the IBM Mainframe under Z/OS in QMF and got the following results. We are currently running DB2 Version 8 and upgrading to Ver 10.

    DSN08015  -- Format seems to be DSNVVMMM
    -- PPP IS PRODUCT STRING 'DSN'
    -- VV IS VERSION NUMBER E.G. 08
    -- MMM IS MAINTENANCE LEVEL E.G. 015
    

提交回复
热议问题