OPTIMUM-MODULO

Calculates the optimum modulo at a specified frame size for one or more files and sets the resizing parameters for those files.

Syntax

OPTIMUM-MODULO statFileSection {account {fileNamePrefix}} {(frameSize {options}}

OPTIMUM-MODULO {account {fileNamePrefix}} (L{frameSize} {options}

OPTIMUM-MODULO {account {fileNamePrefix}} (C

Syntax Elements

statFileSectionThe name of a section in the file STAT-FILE that provides the file statistics on which the calculations will be based. If specifying this parameter, do not include the L option.

account Optional. The name of an account to process. If omitted, the entire database is processed.

fileNamePrefix Optional. The first few characters of the required file names. All files in the specified account that have names beginning with these characters will be processed.

L Use the STAT-FILE section from the last save (/SYSFILES LAST.SAVE). Use this option instead of specifying statFileSection.

frameSize The required frame size - must be one of 1, 2, 4 or 8. If omitted, defaults to the current frame size.

C Clear the resizing parameters for the specified files.

Options

P Send the output to the current default printer.

T Test mode - report the modulo changes that would be made, but do not set the resizing parameters. This can be useful when examining a STAT-FILE generated on another database.

EexpansionCoefficient
Set the expansion coefficient (percent); default, 25.

Note that you cannot omit frameSize when using this option. expansionCoefficient must be the second numeric parameter following the open parenthesis.

Restrictions

Only available in the SYSMAN account. SYS2 privileges required.

Comments

Example

Display the best modulo for each file with a name beginning with 'FUNCT' in account TRAVCO:

:OPTIMUM-MODULO DMGSF TRAVCO FUNCT (T
 Select STAT-FILE,DMGSF WITH *A1 = "TRAVCO*FUNCT]"
 
24  Items selected.
/TRAVCO/FUNCT.B/HOUSE,FUNCT.B/HOUSE 1 3
/TRAVCO/FUNCT.AJ,FUNCT.AJ 1 3
/TRAVCO/FUNCT.CURSOR,FUNCT.CURSOR 1 3
/TRAVCO/FUNCT.HHH,FUNCT.HHH 1 3
/TRAVCO/FUNCT.BNBB,FUNCT.BNBB 1 3
/TRAVCO/FUNCT.CJ1,FUNCT.CJ1 1 3
/TRAVCO/FUNCT.,FUNCT. 1 3
/TRAVCO/FUNCT.RETAIL,FUNCT.RETAIL 1 3
/TRAVCO/FUNCT.CHAN,FUNCT.CHAN 1 3
/TRAVCO/FUNCT.GALILEO,FUNCT.GALILEO 1 3

The output indicates that each of these files currently has a modulo of 1, but should have a modulo of 3.

See Also

OPTIMUM-FRAME-SIZE.