Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Oracle apps technical (concurrent program)

Posted on 2013-06-26
2
505 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

856 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