datastage migration create
Important: IBM Cloud Pak® for Data
Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.
Modify a data flow in the specified project or catalog. You must set either project_id or catalog_id.
Syntax
cpd-cli datastage migration create \
[--attachment-type=<attachment-type>] \
--body=<isx-file-name> \
[--catalog-id=<catalog-id>] \
[--conflict-resolution=<conflict-resolution-name>] \
[--context=<catalog-project-or-space-id>] \
[--cpd-config=<cpd-config-location>] \
[--cpd-scope=<cpd-scope>] \
[--create-missing-parameters] \
[--enable-local-connection=true|false] \
[--enable-notification=true|false] \
[--enable-rulestage-integration=true|false] \
[--file-name=<input-file-name>] \
[--import-only] \
[--jmes-query=<jmespath-query>] \
[--on-failure=<import-failure-option>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
--profile=<cpd-profile-name> \
[--project-id=<cpd-project-id>] \
[--quiet] \
[--raw-output=true|false] \
[--verbose]
Arguments
The datastage migration create
command has no arguments.
Options
| Option | Description |
|---|---|
--attachment-type |
Specify the attachment
type.
|
--body |
Specify the ISX file to import.
The maximum file size is 1 GB.
|
--catalog-id |
Specify either a catalog ID,
project ID, or space ID (specify one only).
|
--conflict-resolution |
Specify the resolution to use when
the imported data flow name conflicts with an existing data flow name in the project or
catalog.
|
--context |
Specify the configuration context
name.
|
--cpd-config |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
--cpd-scope |
The Cloud Pak for Data space, project, or catalog scope. For example, cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
|
--create-missing-parameters |
Missing parameter sets and job
parameters are created when is option is present.
|
--enable-local-connection |
Enable or disable flow connection
migration.
|
--enable-notification |
Enable or disable
notifications.
|
--enable-rulestage-integration |
Enable or disable WKC rule stage
migration.
|
--file-name |
Specify the input file
name.
|
|
|
Display command
help.
|
--import-only |
Skip flow
compilation.
|
--jmes-query |
The Lucene
query.
|
--name |
Specify the DataStage
data flow
name.
|
--on-failure |
Specify the action when the first
import failure occurs.
|
--output |
Specify an output
format.
|
--output-file |
Specify a file path where all
output is redirected.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--project-id |
Specify a Cloud Pak for Data
project instance.
|
--quiet |
Suppress verbose
messages.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--verbose |
Logs include more detailed
messages.
|
Table 1: Command options