I have one project A consists of parallel Jobs,shared containers,parameter sets,parallel routine etc.
I have some job list present in excel which needs to migrated to another project B.I want to automate this thing using script and is it possible in datastage.basically if i have list of components and i want to migrate the components from one project to another project.
Questions:
1)Which one i need to use DSXImportService.sh or dsexport/dsimport commands or dscmdexport/dscmdimport?
2)Any inputs on how to proceed?
Automation on Migration
Moderators: chulett, rschirm, roy
./istool export -domain serviceshost:9080 -u dsadm -p password -ar test.isx -ds '-incdep -base="ENGINEHOST/Dev_Project" Jobs/*/*.*'
Question:
I know how to read the excel file in Datastage.I have list of jobs to be migrated in excel sheet but not sure how to give input from excel to above istool command.Basically the code highlighted in bolt colour
Question:
I know how to read the excel file in Datastage.I have list of jobs to be migrated in excel sheet but not sure how to give input from excel to above istool command.Basically the code highlighted in bolt colour
Well... you shall be calling a command line function and passing a parameter.
You could write a shell script that accepts N amount of parameters... or reads a text file with N amount of lines...
Many ways to deal with it... but... you should be able to think of something that suites your needs.
I would shell script something that accepts a few parameters. 1) project name 2) text file that has the code to load 3) output log file name for status output.
Assuming of course that the user id running the job has authority to load the code. Passing an Auth File might be best since you could then use the same code across multiple projects.
BTW: you won't be doing port 9080 with version 11x.
You could write a shell script that accepts N amount of parameters... or reads a text file with N amount of lines...
Many ways to deal with it... but... you should be able to think of something that suites your needs.
I would shell script something that accepts a few parameters. 1) project name 2) text file that has the code to load 3) output log file name for status output.
Assuming of course that the user id running the job has authority to load the code. Passing an Auth File might be best since you could then use the same code across multiple projects.
BTW: you won't be doing port 9080 with version 11x.
