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…
Code Block | ||
---|---|---|
| ||
# Usage statement $> mettleci s2px analysis MettleCI Command Line (build 133) (C) 2018-2022 Data Migrators Pty Ltd The following options are required: -isx -report Usage: s2px analysis [options] Options: * -isx the ISX extract or directory of extracts to be analysed * -report output report (XLSX) Command failed. # Example $> mettleci s2px analysis \ -isx ./MyServerJobs.isx \ -queriesreport ./s2pxQueriesDirectory \ -report ./MyServerJobs.csv |
...
MyServerJobs.xlsx
MettleCI Command Line (build 133)
(C) 2018-2022 Data Migrators Pty Ltd
Loading queries - ...
<SNIP>
* SomeJob (SERVER_JOB)
* SomeOtherJob (SERVER_JOB)
* SomeParameters (PARAMETER_SET)
* MyJob (SERVER_JOB)
Writing report...
Done.
$> |
See Running S2PX Analysis for more details.
Convert
The MettleCI Command to run S2PX conversion is…
Code Block | ||
---|---|---|
| ||
# 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 'MyServerJobs.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. $> |
See Running S2PX Conversion for more details.