Skip to Content
avatar image
Former Member

Try and Catch Blocks in BODS

Dear All,

I am completely new to BODS, would like to use this platform to know more about BODS. Could anyone please explain the necessity of having try/catch blocks in job? what if we don't have try/catch in the same job? does it make difference?

Thanks in advance.

Regards,

Pranali

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 04, 2016 at 01:42 PM

    If you are familiar with Try catch in java - it is something similar in DS. There are different types of errors that can be encountered during job execution and based on the errors appropriate actions can be taken in catch block - e.g. on certain failure - send notification to a DL or trigger another job or rollback process etc. It is not essential that you must have try-catch in your job - really depends on the job, business requirements etc. The best place for you to start looking at: Reference guide - search for try and catch

    http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_reference_en.pdf

    Add comment
    10|10000 characters needed characters exceeded