Displaying PDS V2 data set information

Use the QUERY DATASTORE command to display information about data sets known to the PDS V2 engine for a particular product.

Important: The content in this section was created for and applies to persistent data store V2 (PDS V2).
To display PDS V2 data set information, enter the following MODIFY command:
F stcname,KPQ QUERY DATASTORE APPL=application
where:
  • stcname is the started task name of the address space where the persistent data store is running.
  • application is the code of the component (for example, KC5 for OMEGAMON for CICS).

The command output is written to RKLVLOG. To review the output, locate messages KLVOP191 and KPQH043I.

For each data set, the total number of allocated bytes, the number of used bytes, and the status are displayed. For information about possible statuses of the PDS V2 data sets, see About PDS V2 data sets and statuses.

Tip: If there is a delay when writing records to RKLVLOG, you can use the following command to see the output immediately: F stcname,FLUSH RKLVLOG

Example

Command entered:
F TEMSSTC,KPQ QUERY DATASTORE APPL=KM5
Sample output:
KLVOP191    'KPQ QUERY DATASTORE APPL=KM5'                                                                  
KPQH043I KPQHSMGR: DATASTORE INFORMATION:                                                                   
----                                         Appl    Allocated         Used                                 
DSN                                          Name      Bytes           Bytes      Status                    
-------------------------------------------- ---- --------------- --------------- --------------------------
TDUSER.TS1234.PDSPRSB1.HM520001               KM5       107642880       107619936 Partial Read              
TDUSER.TS1234.PDSPRSB1.HM520002               KM5       107642880       107611380 Partial Read              
TDUSER.TS1234.PDSPRSB1.HM520003               KM5       107642880       107618724 Partial Read              
TDUSER.TS1234.PDSPRSB1.HM520007               KM5       107642880        26117160 Partial Write Active      
TDUSER.TS1234.PDSPRSB1.HM520005               KM5       107642880            4096 Empty   Reserved          
TDUSER.TS1234.PDSPRSB1.HM520008               KM5       107642880            4096 Empty   Reserved          
TDUSER.TS1234.PDSPRSB1.HM520004               KM5       107642880            4096 Empty   Reserved          
TDUSER.TS1234.PDSPRSB1.HM520006               KM5       107642880            4096 Empty   Reserved