Solved

Oracle Financials

Posted on 2000-05-08
3
560 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
  • 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 100 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

920 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

12 Experts available now in Live!

Get 1:1 Help Now