Search Results logfile_get
Overview
FND_FILE_PRIVATE is an internal helper package in the APPS schema that provides the low-level file-handling primitives used by Oracle E-Business Suite concurrent processing. It is not a public API; rather, it encapsulates the private mechanics that the public FND_FILE package relies upon to open, write to, and close the log and output files associated with a concurrent program request. In EBS 12.1.1 and 12.2.2, concurrent managers direct program output either to the database (the default for the InDB file system) or to the operating system file system (UTL_FILE-based) through the FND_FILE layer. FND_FILE_PRIVATE abstracts much of that file-system access so that FND_FILE can present a stable interface (FND_FILE.PUT_LINE, FND_FILE.PUT_NAMES, etc.) to application developers while the private package deals with serialization, locking, and physical file naming.
Its classification as an OTHER API in the ETRM repository confirms that it is a support/internal object rather than a supported extension point. The package is VALID and its dependencies are limited to the STANDARD package in SYS (a language-level dependency) and, at runtime, to DBMS_LOCK and UTL_FILE via APPS synonyms.
Key Procedures and Functions
- OPEN — Acquires the resources required to write the log and output files for a concurrent request. It establishes the private handles that subsequent write and close operations use.
- LOGFILE_GET — Returns the handle or descriptor for the current request's log file so that output can be written to it.
- OUTFILE_GET — Returns the handle or descriptor for the current request's output file.
- PUT_NAMES — Populates the internal name attributes (for example, the file names or paths) associated with the request's log and output streams.
- CLOSE — Finalizes the private file handles, flushes pending content, and releases the resources obtained by OPEN.
No parameter lists are documented in the ETRM metadata, so callers should treat the signatures as internal and avoid direct invocation.
Tables Accessed
The documented dependency information shows FND_FILE_PRIVATE referencing DBMS_LOCK and UTL_FILE. DBMS_LOCK is used to serialize access to the underlying file resources, ensuring that concurrent requests do not corrupt each other's files. UTL_FILE provides the actual operating-system file I/O. No application tables owned by APPS are listed as direct dependencies in the excerpt; the package operates primarily against database and operating-system file resources rather than business data.
Usage Notes
FND_FILE_PRIVATE is invoked indirectly. The dependency listing shows two packages that reference it: FND_CONCURRENT and FND_FILE. Application developers write to the log and output files exclusively through FND_FILE.PUT_LINE, FND_FILE.PUT, and related public routines; those routines delegate to FND_FILE_PRIVATE for the underlying open, name resolution, handle retrieval, and close operations. It is also self-referencing, confirming that its internal routines call one another. Because the package is private and unsupported, custom code should never call it directly. Any behavior observed in 12.1.1 or 12.2.2 may change between patches without notice, and Oracle treats the public FND_FILE interface as the only supported integration point for concurrent program output.