|
Hi Jevgeni,
As Scott mentioned, the problem is the system interface option.
Long
ago when the C++ compiler was added to the system they decided to use a
different default system interface option than was used for the C compiler.
The default for the C compiler is SYSIFCOPT(*NOIFSIO), whereas the default
for the C++ compiler is SYSIFCOPT(*IFS64IO) (64-bit IFS interfaces). In
order to get the same behavior as the C compiler you should specify
SYSIFCOPT(*NOIFSIO) on the C++ compile command. Right now the C++ program
is successfully writing to the "EQRPT" file in your default IFS directory.
Thanks,
Aaron
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.