For DB2 Connect Version 5.2 the System Monitor now provides three forms of the LIST DCS APPLICATIONS command, as follows:
To view the information provided by the monitor at the application level, issue the DB2 LIST DCS APPLICATIONS command. It returns the following information for an APPC connection (DB2 Connect Enterprise Edition Version 5.2 to DB2 for OS/390):
Auth Id Application Name Appl. Outbound Application Id
Handle
-------- -------------------- ---------- --------------------------------
USERID db2bp_41 0 CAIBMOML.OMXT4H0A.A79EAA3C6E29
It returns the following information for a TCP/IP connection (DB2 Connect Enterprise Edition Version 5.2 to DB2 for OS/390):
Auth Id Application Name Appl. Outbound Application Id
Handle
-------- -------------------- ---------- --------------------------------
USERID db2bp_41 2 0915155C.9704.1517172201BE
This unique identifier is generated when the application connects to the DRDA server database. You can use this element in conjunction with the Application ID to correlate the client and server parts of the application information.
If the DB2 LIST DCS APPLICATIONS SHOW DETAIL command format is specified, additional information is shown, including, for an APPC connection:
Auth Id Application Name Appl. Client Application Id
Handle
-------- -------------------- ---------- --------------------------------
USERID db2bp_41 0 09150FDB.9704.1517161810D5
Seq# DB Alias Node Client Codepage Outbound Application Id
---- -------- -------- -------- ---------- --------------------------------
0001 DB2SF weasel SQL05020 850 CAIBMOML.OMXT4H0A.A79EAA3C6E29
Seq# DB Name Host
---- -------------------- --------
0000 SAN_FRANCISCO DSN05010
Or, for a TCP/IP connection:
Auth Id Application Name Appl. Client Application Id
Handle
-------- -------------------- ---------- --------------------------------
USERID db2bp_41 2 09150FDB.9704.1517172110D6
Seq# DB Alias Node Client Codepage Outbound Application Id
---- -------- -------- -------- ---------- --------------------------------
0001 DB2SFT weasel SQL05020 850 0915155C.9704.1517172201BE
Seq# DB Name Host
---- -------------------- --------
0000 SAN_FRANCISCO DSN05010
This value lets you correlate connections from clients to the DB2 Connect workstation and from the DB2 Connect workstation to the DRDA server.
You can use this information to ensure that data conversion is supported between the application code page and the database code page (or for DRDA server databases, the DRDA server CCSID).
If the application code page is different from that under which the database system monitor is running, this code page element can help you to manually convert data that was passed from the application and displayed by the database system monitor. For example, you can use it to help translate the Application Name.
In DB2 Connect Version 5.2, the LIST DCS APPLICATIONS command is enhanced with the new option EXTENDED, in order to generate an Extended Report. The Extended Report lists all the fields that are listed when the SHOW DETAIL option is specifed on the command, plus seven new fields:
While the existing command options list the fields horizontally, one line per application, the new option lists them vertically, one field per line.
Here is the new syntax of the command:
LIST DCS APPLICATIONS [SHOW DETAIL | EXTENDED ]
And here is sample output from this command, when using the new option EXTENDED:
List of DCS Applications - Extended Report Client application ID = 09151251.0FA2.971205184244 Seq# = 0001 Authorization ID = DDCSUS1 Application name = db2bp_s Application handle = 2 Application status = waiting for request Status change time = 12-05-1997 13:42:45.459653 Client DB alias = MVSDB Client node = antman Client release level = SQL05020 Client platform = AIX Client protocol = TCP/IP Client codepage = 850 Client login ID = user1 Process ID of client application = 55397 Host application ID = 0915155C.139D.971205184245 Seq# = 0000 Host DB name = GILROY Host release level = DSN05010 Host CCSID = 500
The application status field contains one of the following three values:
Also, the status change time is only shown in the report if the System Monitor UOW switch was turned on during processing. Otherwise, "Not Collected" will be shown.