?
Solved

Oracle Financials

Posted on 2000-05-08
3
Medium Priority
?
567 Views
Last Modified: 2008-02-20

In Oracle Financials 10.7 environment, I am writing a PL/SQL concurrent program. How to write debug information to the output of the concurrent program?
0
Comment
Question by:jyhuang
[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
3 Comments
 
LVL 1

Expert Comment

by:bellyboy
ID: 2793046
You can use the UTL_FILE procedure to write to files from within PL/SQL. Inorder to write to the concurrent request log and/or output files, you would have to retreive the output and/or log filename from the FND_CONCURRENT_REQUESTS table for the concurrent request of your process (use FND_GLOBAL.request_id to retrieve your concurrent request_id). When you open the output/log files, use the 'append' option since you and the concurrent manager will be writing to the files.

In release 11 this has been changed and you must use the new FND_FILE package.

Note that UTL_FILE requires the utl_file_dir init parameter to be set to the directory where the log/output is being stored. You can put utl_file_dir=* to mean all directories for a test environment.

Hope this helps
Belly
0
 
LVL 1

Author Comment

by:jyhuang
ID: 2793123

Belly,

Thank you very much for the comments. Our system is down, I can't test it. But I will. Just wondering whether the concurrent manager and my program can write to the output file simultaneously even if use "append" option.

By the way, you have to post an answer instead of comment in order for me to give you points.

Jim
0
 
LVL 1

Accepted Solution

by:
bellyboy earned 400 total points
ID: 2793310

With the append you should be able to write to the output file simultaneously.

I thought you could change my comment to a question. (But I am fairly new to this game)

Belly
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

800 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