Navigation:  Introduction >

Command Line Options

Previous pageReturn to chapter overviewNext page

The RT engine is ONLY used through command line and ONLY when called from an application using our supplied TXA to allow CHANGING values in the "link" Table.

 

We have created a complete set of files for Clarion developers to add the RT engine support in their applications :

 

1. Template (to be added ONLY in global of the application which requires it - in Multi Dll it can be any dll)

2. A TXD to import in your DCT the "link" Table structure

3. A TXA to import in your application (or in the relevant dll)

 

The command line options are :

 

/A:X     where X is the auto close down when NOT used in silent mode ! This parameter MUST be the FIRST one.

/P:X     where X is the PROFILE ID (the ID is the GREEN column figure in the project & profile module of DMC)

/B:X     where X is the PROJECT ID

/S:0   or  /S:1    where 0 means NOT SILENT and 1 means SILENT running

/R:0   or  /R:1    where 0 means NO REGISTRY KEY reading of GLOBAL PATH to where the Project is STORED

/I:0    or  /I:1      where 0 means NO INI FILE reading of GLOBAL PATH to where the Project is STORED

 

Port to SQL options :

/DB:1            this will instruct the RT engine to CREATE a DataBase as per YOUR settings defined (see demo application for more details)

/SCRIPT:1     this will instruct the RT engine to CREATE all SQL tables as per YOUR settings defined (see demo application for more details)

/DEPLOY:1   (used in combination with /B:X ONLY)  this will instruct the RT engine to 1. CREATE a DataBase 2. CREATE all SQL tables (as per YOUR settings defined) 3. Transfer all TPS data to SQL

 

Examples :

 

If you need to have all the Profiles in Project #1 processed then use this command line argument

x:\dmcrt.exe /B:1 /S:1

(this will run all Project ID 1 Profiles SILENTLY)

 

If you need to have the Profile ID # 2 processed then use this command line argument

x:\dmcrt.exe /P:2 /S:0

(this will run Profile ID 2 Profiles NOT SILENTLY - IDE will open at the very beginning and you can see all processing taking place)

 

where x:\ is YOUR long path to the DMCRT executable

 

The ORDER of the parameters is important so we highly recommend you use the TXA shipped to generate this command line for you.