datastage migration create-from-zip
Important: IBM Cloud Pak® for Data
Version 4.6 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.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Create data flows from a job export file.
Syntax
cpd-cli datastage migration create-from-zip \
--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-config-location>] \
[--enable-notification=true|false] \
[--file-name=<input-file-name>] \
[--import-only] \
[--include-dependencies=true|false] \
[--jmes-query=<jmespath-query>] \
[--on-failure=<import-failure-option>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
--profile=<cpd-configuration-profile-name> \
[--project-id=<cpd-project-id>] \
[--quiet] \
[--raw-output=true|false] \
[--verbose]
Arguments
The datastage migration create-from-zip command has no arguments.
Options
| Option | Description |
|---|---|
--body |
Specify the ISX file to import. The maximum file size is 1GB.
|
--catalog-id |
Specify either a catalog ID,
project ID, or space ID (specify only one).
|
--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).
|
--enable-notification |
Enable or disable notifications.
|
--file-name |
Specify the input file name.
|
|
|
Display command
help.
|
--import-only |
Skip flow compilation.
|
--include-dependencies |
When set to false dependencies are skipped and only flows are imported. When the option is not specified or set to true, both flows and dependencies are imported.
|
--jmes-query |
The Lucene
query.
|
--on-failure |
Specify the action when the first import failure occurs.
|
--output |
Specify an output format.
Valid formats include json, yaml, or text (the default
format).
|
--output-file |
Specify a file path where all output is redirected.
|
--profile |
The profile-name from the Cloud
Pak for Data configuration.
|
--project-id |
Specify a Cloud Pak for Data project instance.
|
--quiet |
Suppress verbose messages.
|
--raw-output |
When set to true, single values in
JSON output mode are not surrounded by quotes.
|
--verbose |
Logs include more detailed
messages.
|