Document toolboxDocument toolbox

DataStage Compile Command

Purpose

Compiles a DataStage Job producing a jUnit-compatible testing output that can be utilised by built tools orchestrating a CI/CD pipeline.

This command produces a JUnit-compatible XML file called mettleci_compilation.xml which reports each individual job’s compilation result.

This command is also incorporated into the mettleci datastage ccmt command (documentation here).

Syntax

Example

$> mettleci datastage compile \ -domain service_tier.datamigrators.io:59445 \ -username isadmin \ -password mypassword \ -server engine_tier.datamigrators.io \ -project dstage1 \ -include-job-in-test-name Analyzing assets to compile Compilation folder location = C:\Apps\command-shell\log\compiliation Attempting to compile with 4 working threads. Compiling DataStage jobs... * Compile 'engine_tier.datamigrators.io/dstage1/Jobs/Load/LD_STOCKITEM.pjb' - COMPLETED * Compile 'engine_tier.datamigrators.io/dstage1/Jobs/Load/LD_SALE.pjb' - COMPLETED * Compile 'engine_tier.datamigrators.io/dstage1/Jobs/Load/LD_SUPPLIER.pjb' - COMPLETED * Compile 'engine_tier.datamigrators.io/dstage1/Jobs/Load/LD_STOCK_HOLDING.pjb' - COMPLETED Compilation complete

 



© 2015-2024 Data Migrators Pty Ltd.