Flags - Index Maintenance (dxmaint)

 

Syntax: dxmaint filename flags

 

The following flags can be used within filePro menus or from the command line with program "dxmaint".

 

-C comment

Adds a comment to an index

-E 

Exit to user menu upon completion.

-H "heading"

Screen heading.

-KN

Save with rebuild. (default) Version 5.0.6 or greater

-KY

Save without rebuild. Version 5.0.6 or greater

-LN

Exclude from lists. Note: Version 5.0.6 or greater

-LY

Include in lists. Note: Version 5.0.6 or greater

-M name

Uses the given qualifier.

-MD

Prompts user for a qualifier.

-MQ "msg"

Prompts user for qualifier using "msg".

-On  

Indicates the output index name - "n" can be any automatic or demand index.

-R  

Rebuilds the index on the same key(s).

-RA 

Rebuilds all automatic indexes in named file.

-RF n,l,o:n,l,o. ...

 

Rebuilds an index on a specified field, length & sort order (a=ascending, d=descending) where n = field Number, l = Length and o = Order of sort.

Example:

dxmaint filename –RF 1,10,d:2,5 –Oa

Builds index.a using field 1, length of "10" in Descending order and then on field 2, length of "5".

 

-RF @filename

 

Has been enhanced to allow you to specify a filename of a file that contains the sort order you want to use

(Demand indexes only)

 

-A 

Selects all records.

-In 

Builds index using index "n" as input.

-N   

No sorting.

-S name

Use selection set "name".

-Xn

Use same sort criteria as index "n".

 

 

(*NIX only)

 

-BG 

Build index in the background.

-BS 

Suppresses "background task completed" message when -BG option is being used.