datastage codegen generate-buildop
Generate the DataStage buildop runtime assets for a specific runtime type in the specified project or catalog.
Syntax
cpd-cli datastage codegen generate-buildop \
--buildop-id=<datastage-buildop-asset-id> \
--profile=<profile-name> \
[--build=<build-information>] \
[--catalog-id=<catalog-id>] \
[--context=<catalog-project-or-space-id>] \
[--cpd-config=<cpd-config-location>] \
[--cpd-scope=<cpd-scope>] \
[--creator=<datastage-buildop-creator-information>] \
[--general=<general-datastage-buildop-information>] \
[--jmes-query=<jmespath-query>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
[--project-id=<project-id>] \
[--properties=<stage-properties>] \
[--quiet] \
[--raw-output=true|false] \
[--runtime-type=<runtime-type>] \
[--schemas=<data-record-schema-array>] \
[--space-id=<space-identifier>] \
[--type=<operator-type>] \
[--verbose] \
[--wrapped=<wrapped-information>] \
Arguments
The datastage codegen generate-buildop command has no arguments.
Options
Table 1: Command options
| Option | Description |
|---|---|
--build |
Specify the BuildopBuild object
information.
|
--buildop-id |
Specify a DataStage
BuildOp-Asset-ID to use.
|
--catalog-id |
Specify either a catalog ID,
project ID, or space ID (specify one only).
|
--context |
Specify the configuration context
name.
|
--cpd-config |
The IBM Software Hub
configuration location. For example,
$HOME/.cpd-cli/config.
|
--cpd-scope |
The IBM Software Hub space,
project, or catalog scope. For example,
cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
|
--creator |
Specify the DataStage buildop
creator information.
|
--general |
Specify the general DataStage
buildop information.
|
|
|
Display command
help.
|
--jmes-query |
Provide a JMESPath query to
customize the output.
|
--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 IBM Software Hub and your credentials for the
instance.
|
--project-id |
Specify an IBM Software Hub
project instance.
|
--properties |
Specify a list of stage
properties.
|
--quiet |
Suppress verbose
messages.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--runtime-type |
Specify the runtime type to use.
For example, dspxosh or Spark. When the option is not specified, the runtime type is queried from
pipeline flow if available, otherwise dspxosh is used.
|
--schemas |
Specify the array of data record
schemas that are used in the buildop.
|
--space-id |
Specify a space
identifier.
|
--type |
Specify the operator
type.
|
--ui-data |
Specify the UI
data.
|
--verbose |
Logs include more detailed
messages.
|
--wrapped |
Specify the wrapped
information.
|