Solved

Oracle Financials

Posted on 2000-05-08
3
564 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

679 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