ProgGen - command line syntax

Program generator - command line syntax

The program generator is called proggen.q, and it is located in the $SCULPTOR\proggen directory, together with the batch file proggen.bat.

SYNTAX

proggen [-a datadict[.d]] [-p datadir] [datadict[.d]]


-a datadict[.d]

Automatically generate and compile a program for the data dictionary whose path is specified in datadict, using the current configuration settings. All secondary indexes are included. If the program already exists it is overwritten without warning. The -a option can only be used once in the command line. This option may be combined with the -p option.

-p datadir

The directory in which data is located. This is the directory used in the openfile command in the generated program. For example, for a file named “arrays”:

openfile FILE_ARRAYS name = "datadir/arrays" update

If a datadir is specified, this over-rides the default data directory specified on the Configure screen, and is displayed as the data directory whenever a data dictionary is loaded. It can, however, be edited.

datadict[.d]

The path of a data dictionary to be loaded automatically. If present, this must be the final argument.


RELATED TOPICS

The program generator