Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

S2PX is implemented as a pair of plugins to the MettleCI Command Line Interface which provide a new s2px namespace containing two new commands: analysis and convert.

Analysis

The MettleCI Command to run S2PX Asset Queries is…

...

See Running S2PX Analysis for more details.

...

Convert

The MettleCI Command to run S2PX conversion is…

Code Block
languagebash
# Usage statement
$> mettleci s2px convert
MettleCI Command Line (build 133)
(C) 2018-2022 Data Migrators Pty Ltd
The following options are required: -target-dsx -source-dsx -config
Usage: s2px convert [options]
  Options:
  * -config
       Path to server to parallel configuration file
  * -source-dsx
       Source DSX export to be converted from server to parallel
  * -target-dsx
       Target DSX that will contain all converted jobs

Command failed.

# Example
$> mettleci s2px convert 
   -source-dsx "MyServerJobs.dsx" \
   -target-dsx "MyParallelJobs.dsx" \
   -config s2px_config.yaml
MettleCI Command Line (build 133)
(C) 2018-2022 Data Migrators Pty Ltd
Loading configuration
Preprocessing 'HUK_PX_20220111MyServerJobs.dsx'
Converting shared containers
Converting jobs
Decomposing SomeJob
Translating SomeJobPx
Decomposing SomeOtherJob
Translating SomeOtherJobPxP01
Translating SomeOtherJobPxP02
Decomposing MyJob
Translating MyJobPxP01
Translating MyJobPxP02
Translating MyJobPxP03
Generating C headers and template functions
Done.

$>

...