istool import
↓下の方にlinuxのコマンドの記述あり。
-nodesを指定するとジョブの実行体だけがimportされる。
C:\IBM\InformationServer\Clients\istools\cli>istool.bat import -dom etlhost:9446 -u isadmin -p P@ssw0rd -r -ar c:\work\Archive1All.isx -ds '-nodes etlhost/dstage1'
Beginning Import of DataStage
[1/2] ETLHOST/ProjectA/ジョブ/pset1.pst ignored
No run time information found.
[2/2] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:04
Imported 1 assets
Beginning Import of DataStage
[1/2] ETLHOST/ProjectA/ジョブ/pset1.pst ignored
No run time information found.
[2/2] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:04
Imported 1 assets
-nodesを指定するとジョブの実行体だけがimportされる。
C:\IBM\InformationServer\Clients\istools\cli>istool.bat import -dom etlhost:9446 -u isadmin -p P@ssw0rd -r -ar c:\work\ArchiveAll.isx -ds '-nodes etlhost/dstage1'
Beginning Import of DataStage
[1/3] ETLHOST/ProjectA/ジョブ/pset1.pst ignored
No run time information found.
[2/3] ETLHOST/ProjectA/ジョブ/cont1.psc ignored
No run time information found.
[3/3] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:02
Imported 1 assets
C:\IBM\InformationServer\Clients\istools\cli>istool.bat import -dom etlhost:9446 -u isadmin -p P@ssw0rd -r -ar c:\work\ArchiveAll.isx -ds '-nodes etlhost/dstage1'
Beginning Import of DataStage
[1/3] ETLHOST/ProjectA/ジョブ/pset1.pst ignored
No run time information found.
[2/3] ETLHOST/ProjectA/ジョブ/cont1.psc ignored
No run time information found.
[3/3] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:02
Imported 1 assets
-nodesを指定しないとisxの中のobjectが全てimportされる。
.pst:パラメータセット .psc : 共有コンテナ .prt:ルーチン定義
.pjb :ジョブ
C:\IBM\InformationServer\Clients\istools\cli>istool.bat import -dom etlhost:9446 -u isadmin -p P@ssw0rd -r -ar c:\work\ArchiveAll.isx -ds 'etlhost/ProjectA'
Beginning Import of DataStage
[1/3] ETLHOST/ProjectA/ジョブ/pset1.pst
[2/3] ETLHOST/ProjectA/ジョブ/cont1.psc
[3/3] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:03
Imported 3 assets
[1/3] ETLHOST/ProjectA/ジョブ/pset1.pst
[2/3] ETLHOST/ProjectA/ジョブ/cont1.psc
[3/3] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:03
Imported 3 assets
-nodesを指定しないとisxの中のobjectが全てimportされる。
ジョブが複数あればもちろん全て!
C:\IBM\InformationServer\Clients\istools\cli>istool.bat import -dom etlhost:9446 -u isadmin -p P@ssw0rd -r -ar c:\work\Archive1.isx -ds 'etlhost/dstage1'
Beginning Import of DataStage
[1/9] ETLHOST/ProjectA/ジョブ/decimalfloatSample.prt
[2/9] ETLHOST/ProjectA/ジョブ/RtnWait.prt
[3/9] ETLHOST/ProjectA/ジョブ/pset1.pst
[4/9] ETLHOST/ProjectA/ジョブ/cont1.psc
[5/9] ETLHOST/ProjectA/ジョブ/db2select.pjb
[6/9] ETLHOST/ProjectA/ジョブ/db2selecterror.pjb
[7/9] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
[8/9] ETLHOST/ProjectA/ジョブ/decimalfloatSampleTest.pjb
[9/9] ETLHOST/ProjectA/ジョブ/test_RtnWait.pjb
Elapsed time: 00:00:08
Imported 9 assets
C:\IBM\InformationServer\Clients\istools\cli>
At the ETL host
cd /opt/IBM/InformationServer/Clients/istools/cli
[dsadm@etlhost cli]$ ./istool.sh import -dom etlhost:9446 -u isadmin -p P@ssw0rd -r -ar /work/dsjob1.isx -ds '-nodes etlhost/dstage1'
Beginning Import of DataStage
[1/2] ETLHOST/ProjectA/ジョブ/pset1.pst ignored
No run time information found.
[2/2] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:05
Imported 1 assets
Beginning Import of DataStage
[1/2] ETLHOST/ProjectA/ジョブ/pset1.pst ignored
No run time information found.
[2/2] ETLHOST/ProjectA/ジョブ/db2selectWpset1.pjb
Elapsed time: 00:00:05
Imported 1 assets
[dsadm@etlhost cli]$
コメント
コメントを投稿