我想执行下面URL文档中解释的"cpdctl dsjob“。
https://dataplatform.cloud.ibm.com/docs/content/dstage/dsnav/topics/cli.html
我从下面的URL下载了cpdctl,但无法使用dsjob选项。
https://github.com/IBM/cpdctl/releases/
是否有使用dsjob选项的其他步骤?
我设置配置并运行"cpdctl job run“,但没有出现"cpdctrl dsjob”选项。
# ./cpdctl dsjob
Error: unknown command "dsjob" for "cpdctl"
Did you mean this?
job
Run 'cpdctl --help' for usage.
unknown command "dsjob" for "cpdctl"你是说这个吗?工作
发布于 2021-10-05 15:14:35
我发现CPDCTL_ENABLE_DSJOB环境需要使用dsjob选项。
导出CPDCTL_ENABLE_DSJOB=1
# ./cpdctl dsjob Error: unknown command "dsjob" for "cpdctl"
Did you mean this?
job
Run 'cpdctl --help' for usage.
unknown command "dsjob" for "cpdctl"
Did you mean this?
job
# export CPDCTL_ENABLE_DSJOB=1
# ./cpdctl dsjob
The IBM DataStage service provides APIs to manage jobs, this command provides some of legacy dsjob commandline functionality.
Usage:
cpdctl dsjob [command]
Available Commands:
lprojects List Projects.
ljobs List Jobs.
run Manage Job Runs.
logdetail Print DataStage job run logs.
logsum Print Summary of Datastage job run logs.
lognewest Returns newest event id from DataStage job run logs.
jobinfo List Job Information.
migrate Migrate a exported legacy isx file into nextgen Datastage project.
lflows List DataStage flows.
compile Compile DataStage flows.
lenvs List Environments.
lhws List Hardware Specifications.
env-create Create Environment.
hwspec-create Create Hardware Specification.
Flags:
-h, --help help for dsjob
Global Flags:
--context string
--cpdconfig string
--output-path string
--raw-output
Use "cpdctl dsjob [command] --help" for more information about a command.
#https://stackoverflow.com/questions/69449825
复制相似问题