DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
ccormack
Participant



Joined: 27 Aug 2004
Posts: 6
Location: London
Points: 67

Post Posted: Wed Feb 16, 2005 11:04 am Reply with quote    Back to top    

The most useful functionality I can think of would be dsjob -compile ... an addition to the dsjob unix utility. I have wanted this since day one. That way one can use a build tool like make or ant to compile jobs in specific orders saving many, many, many man days of time.
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 49935
Location: Canberra, Australia
Points: 271389

Post Posted: Wed Feb 16, 2005 8:10 pm Reply with quote    Back to top    

How? You have to be in Designer to create/modify the job designs and you can compile from any client (multiple compile tool). How does being able to do so from a command line add anything?

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong
Delivering Outcomes Together
Rate this response:  
Not yet rated
kcbland

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 15 Jan 2003
Posts: 5209
Location: Lutz, FL
Points: 39183

Post Posted: Wed Feb 16, 2005 8:14 pm Reply with quote    Back to top    

ray.wurlod wrote:
How does being able to do so from a command line add anything?

You can command line import, so if you're doing code migrations from a tool such as PVCS, you can easily integrate pulling the source code and importing into a scripted operation. You can't do the last step - compile. For these purposes, I developed the batch job compiler, so that you steer from your migration/librarian tool, and then kick off the utility to find uncompiled objects and compile them.

_________________
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 49935
Location: Canberra, Australia
Points: 271389

Post Posted: Wed Feb 16, 2005 10:19 pm Reply with quote    Back to top    

But if you've exported the job executable, you don't need to recompile. Smile

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong
Delivering Outcomes Together
Rate this response:  
Not yet rated
kcbland

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 15 Jan 2003
Posts: 5209
Location: Lutz, FL
Points: 39183

Post Posted: Wed Feb 16, 2005 10:27 pm Reply with quote    Back to top    

ray.wurlod wrote:
But if you've exported the job executable, you don't need to recompile. Smile

Yep, and you double the number of objects you have to store in your library. Deploying source code plus compiled code is a religious discussion, there's philosophical and practical components. I encourage my customers to adopt an approach to always deploy source code and then compile -> doesn't matter, DataStage, C++, whatever. You never have to deal with the issue of reconciling executables against source.

Just this week one of my customers is releasing the next iteration of their data warehouse (we do 4-6 majors a year). One of the enhanced DS jobs was dropped during migration because of an incorrect version label. We could at least open the job and visually inspect to make sure our developer notes kept in the long description had our revision commentary and the logic looked correct. Just migrating the executable denies us some of this capability. Migrating both source and executable leaves a tiny bit of doubt that both are a matched set, as in if the wrong executable version got migrated with the right source. I prefer to remove all doubt.

_________________
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rate this response:  
Not yet rated
PhilHibbs



Group memberships:
Premium Members

Joined: 29 Sep 2004
Posts: 1041
Location: Nottingham, UK
Points: 12326

Post Posted: Tue Mar 22, 2005 12:03 pm Reply with quote    Back to top    

ray.wurlod wrote:
But if you've exported the job executable, you don't need to recompile. Smile


You do if the target environment has different transforms to the source environment, or different project parameters.

I'd like to be able to compile transforms from the command line as well. Also I'd like to be able to compile them in an interface like the Multiple Job Compile.

_________________
Phil Hibbs | Capgemini
Technical Consultant
Google+ Data Tools Page
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours