Was this helpful?
Global Options
Global options are global because they do not apply to a single transformation or process.
You must specify global options before the transformation or process options.
Full Name
Short Name
Argument
Description
-Help
-h
-
Lists all the available commands, their short name, their argument information, and a brief description. Also, displays version, copyright, and registration information about the engine.
Note:  Do not use this option with any other option.
-Repeat_Count
-r
Number
Sets the number of times the map or process will be run. If set to zero, then the file is run continuously.
-Verbose
-v
-
Displays informational messages during execution.
-Version
-V
-
Displays the version number and some other information of the installed Runtime Engine.
Note:  Do not use this option with any other option.
-Base
-b
Filename
Specify either the directory containing the djar, or the name of the djar containing the entrypoint pointed to by the runtime configuration. If a directory is provided, then the name of the djar is determined based on the package name and version provided by the runtime config. This option needs to be provided any time the djar is not in the same directory as the runtime config (specifying a directory), or if the djar name is not the same as the engine would expect based on the package name and version in the runtime config.
When you create a djar in DataConnect, it has an internal rtc. The -b and -RC options give you the option of referencing an external rtc (external from the djar).
Note:  
Example of running a djar:
C:> djengine -RC C:\MyIntegrations\MyDjar-1.0.djar\SampleProcess-1.0\SampleProcess.process.rtc

The above example is providing the rtc referenced INSIDE the djar.

Example of running a djar and referencing an external rtc:
C:> djengine -b C:\MyIntegrations\MyDjar-1.0.djar -RC C:\Users\Temp\SampleProcess.process.rtc

-b is used to specify the djar and -RC is used to reference the external rtc.
-RuntimeConfig
-RC
Filename
Used to specify the runtime configuration file that must be used.
-Source_List
-ss
-
Displays the available source connections that can be used as the source file types.
-Target_List
-ts
-
Displays the available target connections that can be used as the target file types.
-Initialization_Info
-i
Filename
Sets the location of the initialization file. It is recommended to use the cosmos.ini file available in the default location.
You can also create an initialization file based on the default cosmos.ini file. Make sure that there are no errors in the format and content of the initialization file. For information about the cosmos.ini file settings, see Cosmos.ini Settings.
-Clear_Logfile
-cl
-
Clears the log file before each run. If there are multiple engine steps (processes or maps), then this command clears the log file in each step. If a repeat count is specified, only the log file from the last repetition exists.
-Single_Thread
-ot
-
(Windows only) Force single threaded mode.
-Debug
-d
-
Displays additional information about the steps that are run.
-Trace
-t
-
Trace the map execution.
-Define_Macro
-D
String
Sets a macro value that can be used in the map or process. Instead of specifying directory paths in a map, Macros are set using the following syntax:
-Define_Macro NAME=filepath
where:
NAME: Name of the macro set up in Map Editor
filepath: Value for the macro.
Note:  You can use macros in Connection Strings for ChangeSource, ChangeTarget, SDK interfaces, and the engine Command Line Interface (CLI) for portability.
For information about setting up macros in Map Editor, see Managing Macro Sets and Macros.
-Http_Monitor
-mh
Number
Sets a simple progress monitor on the port specified using HTTP. To monitor the progress, open a web browser and enter the HTTP URL using the name of the local host and the port number provided for the Runtime Engine. For example, if the host name is engine.abcd.com and the port number is 100, the URL is:
http://engine.abcd.com:100
Note:  The URL is only valid while the engine is running.
-Macro_File
-mf
Filename
Specifies the location of an XML or JSON file that has been created to store the macros used by the engine.
-Profile
-P
-
Turns on profiling but does not create the Execution Profiles folder within the related project folder. If this folder does not exist, the map runs but the profile.out file is not generated or written. Hence, use -PF with -P and specify the location where the profile.out file must be generated or written. The profile.out file is written to disk in the specified location.
For example:
djengine -P -PF C:\myworkspace\myproject\profile.out -RC C:\myworkspace\myproject\MyMap.map.rtc
-Profile_To_File
-PF
String
Turns on profiling. The specified argument is the path name for the profiling output file.
-Profile_Filter
-PM
Number
Mask of events that will be profiled.
Last modified date: 12/03/2024