Solved

Oracle apps technical (concurrent program)

Posted on 2013-06-26
2
508 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
[X]
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
  • 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
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 how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

617 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