Previous Topic Next topic Print topic


Running a .DGE File

Once you have created a batch declaration file, you can run the batch version of the Declaration Generator from your Enterprise Developer command prompt.

To run the Declaration Generator in batch mode, you call the dclg40n program using the following syntax:

dclg40n [-iIniFile -r -n]-b FileName

where:

IniFile specifies the disk, directory, filename and extension of the initialization file to use. If this option is not included, the initialization file in the current working directory is used.

FileName is the name of the .DGE file containing the transactions you want to run. If you don't specify a path, the Declaration Generator looks for the .DGE file in the application path (the application path is specified by in the PATHS tab in Options).

-r and -n are options that affect the presentation of error messages and the treatment of existing declaration files. For more information about these options, see Running From the Command Line.

The following example generates the declaration files specified by the EMPDATA.DGE file.

dclg40n -b c:\BATCH\EMPDATA

The following example generates the declaration files specified by the EMPDATA.DGE file, using the EMP.INI initialization file.

dclg40n -iEMP.INI -b c:\BATCH\EMPDATA
Previous Topic Next topic Print topic