Solved

Oracle apps technical (concurrent program)

Posted on 2013-06-26
2
502 Views
Last Modified: 2013-06-26
I need the concurrent program to be errored out eventhough we are hanndling the exceptions.i.e., Whenever we extracting the data from the cursor and writinginto custom table, if bad records comes , I am handling the bad record in the exception. Program completes normally by inserting good records in the table and bad records in the log files .

I need program should error out if bad records exists after handling bad record in the exceptions. Can any body suggest on this.
0
Comment
Question by:Aparanjith
  • 2
2 Comments
 
LVL 28

Accepted Solution

by:
Naveen Kumar earned 500 total points
ID: 39280376
1. When you handle the exception for the bad records, just have some variable to store that it had hit the exception section. put 'N' or '1'
2. Once the report processing is completed for all records and before it is going to exit out, it should check for the status of the variable and it it contains 'N' or '1' or whatever you stored in point 1 and then exit the report with an unsuccessful status.

Try and test it out. Thanks,
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 39280392
Good and thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now