Reporting number of records in a file for IDMS multi-file area
search cancel

Reporting number of records in a file for IDMS multi-file area

book

Article ID: 281228

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

An IDMS area is defined with multiple files. Can we report for each file, how many of a particular record type resides in these files?

Environment

Release: 19.0

Resolution

You can run the PRINT SPACE utility to report on space utilization for a file by using the FOR FILE option.

It needs to be run in local mode in IDMSBCF.

See the documentation on the PRINT SPACE FILE option:

FILE
Directs the PRINT SPACE utility to report on space utilization for each area or portion of an area contained in the file. This option always produces a full report, whether you specify the FULL parameter.

The syntax is:

PRINT SPACE FOR FILE segment-name.file-name FULL;