Analyzing the queue data copied to a data set by COPY or SCOPY using ANALYZE on z/OS

Use this topic to understand analyzing the queue data copied to a data set by COPY or SCOPY.

This function reads and analyzes a data set (created using COPY or SCOPY), and for each queue, displays:

  • queue name
  • number of messages for the queue
  • total length of the messages


Data analysis (ANALYZE)

ANALYZE DDname SelectionDDname SelectionDDNAME(ddname)


Keywords and parameters

    DDNAME(ddname)
    Specifies the data set to be processed. This keyword can be abbreviated to DD.
    ddname specifies the DDname that identifies the destination data set of a prior COPY or SCOPY operation. This name is not case sensitive, and can be up to eight characters long.


Example

Figure 1. Sample JCL for the CSQUTIL ANALYZE function
//LOAD EXEC PGM=CSQUTIL
//STEPLIB DD DISP=SHR,DSN=thlqual.SCSQANLE
// DD DISP=SHR,DSN=thlqual.SCSQAUTH
//OUTPUTA DD DSN=MY.UTILITY.OUTPUTA,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ANALYZE DDNAME(OUTPUTA)


Usage notes

  1. If we omit DDname(ddname) the default DDname, CSQUINP, is used.

Parent topic: IBM MQ utility program (CSQUTIL) on z/OS