Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 520
  • Last Modified:

Oracle apps technical (concurrent program)

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
Aparanjith
Asked:
Aparanjith
  • 2
1 Solution
 
Naveen KumarProduction Manager / Application Support ManagerCommented:
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
 
Naveen KumarProduction Manager / Application Support ManagerCommented:
Good and thanks.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now