Page 1 of 1

Error Scenarios

Posted: Wed Aug 24, 2011 2:56 pm
by e1994264
Hi, I have the error handling things in Datastage Jobs. When we we create sequencer it should throw errors and insert into the table
These are the following situations when it find error
1.Source File Not Found
Action : Error record should be generated And inserted into a table/
2.Database connection error
Action: Error record should be generated And inserted into a table
3.Zero byte file received(source file)
Action:Error record should be generated And inserted into a table

Posted: Wed Aug 24, 2011 4:13 pm
by ray.wurlod
A useful specification, which should allow you easily to implement the job sequence to bring about the required functionality. Well done.

Hi

Posted: Thu Aug 25, 2011 8:30 am
by e1994264
But how to do keep te conditions for that in the job sequence

Posted: Thu Aug 25, 2011 3:29 pm
by ray.wurlod
Any way you like.

For example, to test for the existence of a file use an Execute Command activity to execute the test command and test its exit status (via the appropriate activity variable for the activity).