/
Using the S2PX Command Line

Using the S2PX Command Line

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…

# 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 \ -report ./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…

# 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.

 

Related content

Executing S2PX Analysis
Executing S2PX Analysis
More like this
Installing the S2PX tools
Installing the S2PX tools
More like this
Converting jobs with Job Control
Converting jobs with Job Control
Read with this
Executing S2PX Conversion
Executing S2PX Conversion
More like this
Server to Parallel Architecture and Workflow
Server to Parallel Architecture and Workflow
Read with this
Creating Server ISX Export Files for Analysis
Creating Server ISX Export Files for Analysis
More like this

© 2015-2024 Data Migrators Pty Ltd.