Help Required

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sudhansu
Participant
Posts: 2
Joined: Mon May 28, 2007 11:24 am

Help Required

Post by sudhansu »

Hi Friends .

I am new to Dastage . I need some help from you peoples .

I developed some server jobs and i want to test that jobs .
So please suggest me the process i have to follow to test server job .

My server job includes one oracle stage and a transformer and a sequential file stage .

Data wiil pull from oracle stage and cleansed in transformer stage and finally save in sequential stage .

Looking forward to your reply .

Thanks
Sudhansu
Sudhansu Dash
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

After designing the whole job.

you need to follow these steps...

--> Save the job.

--> Compile the job.
And remove compilation errors if any.

--> Run the job
And remove the runtime errors if any.

And finally viewing the data in your target file and verifying whether you have the desired output.

And if you can tell us what you want to do in the transformer, We can help you better.

Hope that helps...... :D
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What is your jo design intended to do? Are there any business rules that have been implemented and which therefore need to be tested? Create a test plan, including test data with which to test the efficacy or otherwise of your implementation of those business rules.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sudhansu
Participant
Posts: 2
Joined: Mon May 28, 2007 11:24 am

Post by sudhansu »

ray.wurlod wrote:What is your jo design intended to do? Are there any business rules that have been implemented and which therefore need to be tested? Create a test plan, including test data with which to test the e ...
Hi Ray

Please tell me how to create test data in datastage .
Sudhansu Dash
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Typically you don't. You create test data and use those data to test that DataStage is doing the right thing.

Of course you can. You can use the Transformer stage with no input link as a row generator. Derive all the columns using whatever expressions you like. Include a constraint expression of the form

Code: Select all

@OUTROWNUM <= #MaxRowsToGenerate#
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply