STAT command

The Statistics (STAT) command is used to obtain IMS database statistics that you can use in debugging your program.

This topic contains Product-sensitive Programming Interface information.

Format

Read syntax diagramSkip visual syntax diagramEXECDLISTATISTICSSTATUSING PCB( expression)INTO( area)LENGTH( expression)VSAMNONVSAMFORMATTEDUNFORMATTEDSUMMARY

Options

USING PCB(expression)
Specifies the DB PCB you want to use. Its argument can be any expression that converts to the integer data type; you can specify either a number or a reference to a halfword in your program containing a number.
INTO(area)
Specifies an area into which the data is read.
LENGTH(expression)
Specifies the length of an area.
VSAM/NONVSAM
Specifies database type.
FORMATTED/UNFORMATTED/SUMMARY
Specifies type of output.

Usage

The STAT command is described in IMS Version 15.4 Application Programming.

Example

For examples of the STAT command, see IMS Version 15.4 Application Programming.