Datastage常用操作、命令

启动、停止服务
#uv -admin -start
#uv -admin -stop
 
显示project列表
dsjob -server ip -user dsadm -password dsadm -lprojects
 
显示project的job列表
dsjob -server ip -user dsadm -password dsadm -ljobs prjname
 
编译指定名称的JOB
dscc /h ip /u dsadm /p dsadm prjname /j jobname
 
编译全部JOB
dscc /h ip /u dsadm /p dsadm prjname /j *
 
运行job,默认设置
dsjob -run prjname jobname
 
运行job,传递参数
dsjob -run -param /$date=20091128 prjname jobname
 
运行job,传递多个参数
dsjob -run -param /$srcuser=test -param /$srcpwd=test prjname jobname
 
运行job sequence,多个参数
dsjob -run -param srcuser=test -param srcpwd=test prjname jobname
 
运行job,不等待job运行完成
dsjob -server ip -user dsadm -password dsadm -run prjname jobname
 
运行job,等待job运行完成
dsjob -server ip -user dsadm -password dsadm -run -wait prjname jobname
 
查看job信息
dsjob -server ip -user dsadm -password dsadm -jobinfo prjname jobname
 
查看job日志
dsjob -server ip -user dsadm -password dsadm -logsum prjname jobname
 
查看job报告
dsjob -server ip -user dsadm -password dsadm -report prjname jobname
 
导入dsx工程文件
dsimport /h=ip /u=dsadm /p=dsadm /nua  prjname filename.dsx

你可能感兴趣的:(Datastage)