forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
138 lines
7.6 KiB
HTML
138 lines
7.6 KiB
HTML
<a name="EN-US_TOPIC_0000001819336085"></a><a name="EN-US_TOPIC_0000001819336085"></a>
|
|
|
|
<h1 class="topictitle1">HELP</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_section1334305931911"><h4 class="sectiontitle">Functionality</h4><p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p234310593196">The <strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b20249899531913">help</strong> command is used to provide the help information for the commands supported by DSC.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_section10343659131915"><h4 class="sectiontitle">Syntax</h4><p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p149689442118"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b109254164631913">Linux</strong>:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_screen64702742"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_b45453769">./runDSC.sh </strong>--help </pre>
|
|
<p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p0315162511119"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b93665122431913">Windows</strong>:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_screen1512217376115"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_b2122113712110">runDSC.bat </strong>--help </pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_section18300185975914"><h4 class="sectiontitle">Examples</h4><p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p1293351251"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b131529037031913">Linux</strong>:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_screen26770499">./runDSC.sh <strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_b39607900"></strong>--help </pre>
|
|
<p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p122221503263"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b100812524731913">Windows</strong>:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_screen9174615102612">runDSC.bat <strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_b7174121511267"></strong>--help </pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_section148515361117"><h4 class="sectiontitle">System Response</h4><p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p258913232620"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b189026461731913">Linux</strong>:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_screen54123371">./runDSC.sh --help
|
|
To migrate teradata/oracle/netezza/mysql/db2 database scripts to DWS
|
|
runDSC.sh -S <source-database> [-T <target-database>] -I <input-script-path> -O <output-script-path> [-M <conversion-type>] [-A <application-lang>] [-L <log-path>] [-VN <version-number>]
|
|
|
|
|
|
-S | --source-db
|
|
The source database, which can be either Teradata or Oracle or Netezza or MySql or DB2.
|
|
|
|
|
|
-T | --target-db
|
|
The target database, which can be either GaussDBT or GaussDBA.
|
|
|
|
|
|
-I | --input-folder
|
|
The input/source folder that contains the Teradata/Oracle/Netezza/MySql/DB2 scripts to be migrated.
|
|
|
|
|
|
-O | --output-folder
|
|
The output/target folder where the migrated scripts are placed.
|
|
|
|
|
|
-M | --conversion-type
|
|
The conversion type, which can be either Bulk or BLogic.
|
|
|
|
|
|
-A | --application-lang
|
|
The application language type, which can be either SQL or Perl.
|
|
|
|
|
|
-L | --log-folder
|
|
The log file path where the log files are created.
|
|
|
|
|
|
-VN | --version-number
|
|
The version number, which can be either V1R7 or V1R8_330.
|
|
|
|
" -P | --pre-execution-path%n" + "
|
|
Path containig the dependent Objects scripts which needs to be executed before the verification step.%n" + "%n" +
|
|
|
|
|
|
|
|
To display DSC version details
|
|
runDSC.sh -V | --version
|
|
|
|
|
|
To display DSC help details
|
|
runDSC.sh -H | --help
|
|
|
|
|
|
[Internal] To guess encoding for a file
|
|
runDSC.sh guessencoding -F <filename>
|
|
|
|
|
|
-F | --file-name
|
|
The filename for which the encoding must be guessed.
|
|
|
|
|
|
Refer the user manual for more details.</pre>
|
|
<p id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_p1673295714260"><strong id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_b22280966331913">Windows</strong>:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001819336085__en-us_topic_0000001706105001_en-us_topic_0000001382208086_en-us_topic_0213039972_screen37325578261">runDSC.bat --help
|
|
To migrate teradata/oracle/netezza/mysql/db2 database scripts to DWS
|
|
runDSC.bat -S <source-database> [-T <target-database>] -I <input-script-path> -O <output-script-path> [-M <conversion-type>] [-A <application-lang>] [-L <log-path>] [-VN <version-number>]
|
|
|
|
|
|
-S | --source-db
|
|
The source database, which can be either Teradata or Oracle or Netezza or MySql or DB2.
|
|
|
|
|
|
-T | --target-db
|
|
The target database, which can be either GaussDBT or GaussDBA.
|
|
|
|
|
|
-I | --input-folder
|
|
The input/source folder that contains the Teradata/Oracle/Netezza/MySql/DB2 scripts to be migrated.
|
|
|
|
|
|
-O | --output-folder
|
|
The output/target folder where the migrated scripts are placed.
|
|
|
|
|
|
-M | --conversion-type
|
|
The conversion type, which can be either Bulk or BLogic.
|
|
|
|
|
|
-A | --application-lang
|
|
The application language type, which can be either SQL or Perl.
|
|
|
|
|
|
-L | --log-folder
|
|
The log file path where the log files are created.
|
|
|
|
|
|
-VN | --version-number
|
|
The version number, which can be either V1R7 or V1R8_330.
|
|
|
|
|
|
To display DSC version details
|
|
runDSC.sh -V | --version
|
|
|
|
|
|
To display DSC help details
|
|
runDSC.sh -H | --help
|
|
|
|
|
|
[Internal] To guess encoding for a file
|
|
runDSC.sh guessencoding -F <filename>
|
|
|
|
|
|
-F | --file-name
|
|
The filename for which the encoding must be guessed.
|
|
|
|
|
|
Refer the user manual for more details.</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_16_0023.html">CLI Reference</a></div>
|
|
</div>
|
|
</div>
|
|
|