Page 1 of 1

Building User Defined Stages

Posted: Thu Mar 13, 2008 7:47 am
by mcs@rajesh
Hi
As i am Working in Unix i need to rely upon it for certain functions for example date etc. And later i found that there is an option in DataStage to biuld our own user defined Stages which can utilize the Unix commands(Wrapper Stage). So i need a good document of this .
Can u help me?

Thanks
Rajesh

Posted: Thu Mar 13, 2008 8:22 am
by deanwalker
If you bring up the Wrapper Stage GUI the Help button gives quite good information.

Re: Building User Defined Stages

Posted: Thu Mar 13, 2008 4:56 pm
by ray.wurlod
mcs@rajesh wrote:As i am Working in Unix i need to rely upon it for certain functions for example date etc.
Why?
They are also available within DataStage.

Re: Building User Defined Stages

Posted: Fri Mar 14, 2008 8:58 am
by mcs@rajesh
ray.wurlod wrote:
mcs@rajesh wrote:As i am Working in Unix i need to rely upon it for certain functions for example date etc.
Why?
They are also available within DataStage. ...
As a matter of fact am just curious to know about this. But i really faced some issues with DataStage where i can able to Complete complicated logics easily in unix whereas in Datastage its quite difficult. So i think it would be handy and helpful to have such stage.

Re: Building User Defined Stages

Posted: Fri Mar 14, 2008 9:00 am
by mcs@rajesh
ray.wurlod wrote:
mcs@rajesh wrote:As i am Working in Unix i need to rely upon it for certain functions for example date etc.
Why?
They are also available within DataStage. ...
As a matter of fact am just curious to know about this. But i really faced some issues with DataStage where i can able to Complete complicated logics easily in unix whereas in Datastage its quite difficult. So i think it would be handy and helpful to have such stage.

Posted: Fri Mar 14, 2008 10:44 am
by devidotcom
You could refer the Advanced guide to get information on BuildOp stage or wrapper stages. Basically a good knowledge of C++ is needed to write the logic you are looking for.

Also DataStage is not difficult but fun and exciting to learn and work on. Do try your hands on it you will find its not difficult but that you are unaware of its capabilities.

Thanks
Devi

Posted: Fri Mar 14, 2008 5:11 pm
by ray.wurlod
For example the CurrentDate() function is available directly as an expression element in a Transformer stage.

What you clearly require is more learning. You can not legitimately pass yourself off as a DataStage developer if you're going to do everything in UNIX scripts - what happens if you're employed by someone who has a Windows-based DataStage server?

Posted: Fri Mar 14, 2008 10:01 pm
by mcs@rajesh
devidotcom wrote:You could refer the Advanced guide to get information on BuildOp stage or wrapper stages. Basically a good knowledge of C++ is needed to write the logic you are looking for.

Also DataStage is not difficult but fun and exciting to learn and work on. Do try your hands on it you will find its not difficult but that you are unaware of its capabilities.

Thanks
Devi
Hey Thanks a bunch .
Even i tried that too but do we really need c++ to work with it.

Posted: Fri Mar 14, 2008 10:21 pm
by ray.wurlod
In most cases, no.

Posted: Sun Mar 16, 2008 6:47 am
by mcs@rajesh
I tried with all possible ways but the result in negative ,So can you help me in providing some documents :(

Posted: Sun Mar 16, 2008 9:15 am
by ArndW
It's been stated already that the only documents available are those you already have access to.

If you could be explicit and explain what you tried and how it failed then you will get answers - but I don't have any examples that I am free to give out.