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.
Status
Optional.
Syntax
--build=<build-information>
Default value
No default.
Valid values
Any valid BuildopBuild object information.
--buildop-id Specify a DataStage BuildOp-Asset-ID to use.
Status
Required.
Syntax
--buildop-id=<datastage-buildop-asset-id>
Default value
No default.
Valid values
Any valid DataStage BuildOp-Asset-ID.
--catalog-id Specify either a catalog ID,
 project ID, or space ID (specify one only).
Status
Optional.
Syntax
--catalog-id=<catalog-id>
Default value
No default.
Valid values
A valid catalog, project, or space ID.
--context Specify the configuration context
 name.
Status
Optional.
Syntax
--context=<catalog-project-or-space-id>
Default value
Not applicable.
Valid values
A valid configuration context name.
--cpd-config The IBM Software Hub
 configuration location. For example, $HOME/.cpd-cli/config.
Status
Optional.
Syntax
--cpd-config=<cpd-config-location>
Default value
$HOME/.cpd-cli/config
Valid values
A valid IBM® Software Hub configuration location.
--cpd-scope The IBM Software Hub space, project, or catalog scope. For example, cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
Status
Optional.
Syntax
--cpd-scope=<cpd-scope>
Default value
No default.
Valid values
A valid IBM Software Hub space, project, or catalog scope.
--creator Specify the DataStage buildop creator information.
Status
Optional.
Syntax
--creator=<datastage-buildop-creator-information>
Default value
No default.
Valid values
Any information that provides DataStage buildop creator information.
--general Specify the general DataStage buildop information.
Status
Optional.
Syntax
--general=<general-datastage-buildop-information>
Default value
No default.
Valid values
Any valid text that describes general DataStage buildop information.

--help

-h

Display command help.
Status
Optional.
Syntax
--help
Default value
No default.
Valid values
Not applicable.
--jmes-query Provide a JMESPath query to customize the output.
Status
Optional.
Syntax
--jmes-query=<jmespath-query>
Default value
No default.
Valid values
A valid JMESPath query.
--output Specify an output format.
Status
Optional.
Syntax
--output=json|yaml|text
Default value
text
Valid values
Valid formats include JSON, YAML, or text (the default format).
--output-file Specify a file path where all output is redirected.
Status
Optional.
Syntax
--output-file=<output-file-location>
Default value
No default.
Valid values
A valid output file path location.
--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.
Status
Required.
Syntax
--profile=<profile-name>
Default value
No default.
Valid values

The name of the profile that you created.

--project-id Specify an IBM Software Hub project instance.
Status
Optional.
Syntax
--project-id=<project-id>
Default value
No default.
Valid values
A valid project identifier.
--properties Specify a list of stage properties.
Status
Optional.
Syntax
--properties=<stage-properties>
Default value
No default.
Valid values
A valid list of stage properties.
--quiet Suppress verbose messages.
Status
Optional.
Syntax
--quiet
Default value
No default.
Valid values
Not applicable.
--raw-output When set to true, single values are not surrounded by quotation marks in
 JSON output mode.
Status
Optional.
Syntax
--raw-output=true|false
Default value
false
Valid values
false
Single values in JSON output mode are surrounded by quotation marks.
true
Single values in JSON output mode are not surrounded by quotation marks.
--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.
Status
Optional.
Syntax
--runtime-type=<runtime-type>
Default value
dspxosh
Valid values
Any valid runtime type.
--schemas Specify the array of data record schemas that are used in the buildop.
Status
Optional.
Syntax
--schemas=<data-record-schema-array>
Default value
No default.
Valid values
A valid array of data record schemas.
--space-id Specify a space identifier.
Status
Optional.
Syntax
--space-id=<space-identifier>
Default value
No default.
Valid values
A valid space identifier.
--type Specify the operator type.
Status
Optional.
Syntax
--type=<operator-type>
Default value
No default.
Valid values
A valid operator type.
--ui-data Specify the UI data.
Status
Optional.
Syntax
--ui-data=<ui-data>
Default value
No default.
Valid values
Any UI data.
--verbose Logs include more detailed messages.
Status
Optional.
Syntax
--verbose
Default value
No default.
Valid values
Not applicable.
--wrapped Specify the wrapped information.
Status
Optional.
Syntax
--wrapped=<wrapped-information>
Default value
No default.
Valid values
Any valid wrapped information.