Hello!
I am stuck up wth a abnormal stuff. I am exporting all jobs (as individual dsx). It goes pretty good. but when i gave thought to import a routinr in same fashion, guess what . Gone through a lot of mails but no luck.
It can be done, as follows. When you import, choose Import Selected option button. The entire DSX file will be read into memory, but not imported. You can then select the individual component(s) you wish to import, before clicking the Import button. Note that executables may have been exported separately, so you may need to select both the job/routine and its executable to import the complete thing.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I tried that before posting, since I had a vague memory that I had done this before but no routines showed up in my list, this is at 7.5. Are you using V8?
select DataStage Component in the export list, in that go to options tab select by indivijual component. then switch over to components tab. check only the routine box. in that you will be able to see the indivijual routines and you can select which routine that you want to export. if needed you can check the source code also.
Well,
thanks for all you comment! i can use manager and select all those tabs and check boxes as told by you. But the need is i need some command (as dsexport) to export a routine on the client machine. On top i need only that routine to be exported. I have dne this for job (can export individual job), but need to do same for routine!!!!
I recently posted a bunch of my Perl utilities I have written. One of them will take a single DSX file and split each component part out into their own file. I did this for Release Management and external code versioning that we use at my company. If I remember correctly, it will also split routines and the like into individual files. So, instead of exporting jobs one by one, you could do them all at once and this script will split them for you.
We have been using it with no issues for months now, so I'm confident it should work for you. Follow this link to get the code: viewtopic.php?t=113429&highlight=.
The script you want is called DSX_Cutter.pl. If you have any questions on it that are not answered in the documentation (located in the header of the script) let me know and I'll try to answer your questions.
Bestest,
Bestest!
John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services
"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"