Q
Problem solve Get help with specific problems with your technologies, process and projects.

How can I find the DB2 version and release level info in my CICS program?

How can I find the DB2 version and release level info in my CICS program? The program can be in Assembler or COBOL.

To determine the version of DB2 for z/OS you can use the DB2 command:

-DISPLAY GROUP

This command can be issued from an MVS console, a DSN session under TSO, a DB2I panel (DB2 COMMANDS), an IMS or CICS terminal, or a program using the instrumentation facility interface (IFI). You will need to learn about the IFI and how to make IFI calls from your program in order to issue this command.

In a data sharing environment, the output will include information about the data sharing group and each of its members, including the DB2 level. Level is another name for DB2 Version. So, for Version 6, the DB2 level would be listed as 610. This command returns a lot of information, so be sure to review the manual for the format of the output so your CICS program can interpret it.

In a non-data sharing environment, of course, the output will not include any data sharing information; the information will be for the DB2 subsystem to which you are attached.

This was last published in January 2003

Dig Deeper on IBM DB2 management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchAWS

SearchContentManagement

SearchOracle

SearchSAP

SearchSQLServer

Close