E1: BSFN: Format and Use of jdeFopen() API Function for Text Files
(Doc ID 1298219.1)
Last updated on APRIL 04, 2025
Applies to:
JD Edwards EnterpriseOne Tools - Version 8.98 and laterInformation in this document applies to any platform.
Goal
Currently the jdeFopen() API enables you to read a text file or write a text file. This document provides guidance on how to use the API and what is the proper follow-up implementation to prevent memory leaks.
Currently jdeFopen() is written based on Unicode as below,
- Function: FILE *jdeFopen(const JCHAR *s, const JCHAR *format)
- Replaces: fopen() which is a non-Unicode API
- Used For: Open file named by Unicode strings. (This is a wrapper function that takes Unicode strings, but the actual physical file name may be using other encoding).
NOTE: The API jdeFopen() can be used to read existing files or to write to a target file.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
Available format (refer to C++ standard) |
Example of implementation (B34A1010 - OpenFlatFile (Open Flat File)) |
Proper follow-up Action to take: |
References |