Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

-partition

Converts an existing RTG file to a partitioned file. See Partitioned Files for detailed information regarding this unique RTG feature.

Usage

ctutil -partition file rule index

where:

  • file - is the file name without extension.
  • rule - is the partition expression rule string.
  • index - is the partition index number where 0 is the primary index.

The index must already exist and the record schema must already exist in the file. The record schema can be stored in the file with a 'ctutil -sqlinfo' command or using a sqlize operation such as 'ctutil -sqlize' or file creation with <sqlize> enabled.

It is possible to display the partition rule of an existing partitioned file with the 'ctutil -sqlinfo' command

TOCIndex