× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi, Scott and Aaron.
Great thanks!
It was enough to issue "wrklnk" to see the report in IFS - exactly there it
was!
I think that it was a bad idea to use different defaults in these 2
compilers, but what is done, is done...
However now I know my choices: either use _Ropen functions, or use fopen
with SYSIFCOPT(*NOIFSIO) and get a report in output queue or use fopen with
SYSIFCOPT(*IFSIO) and find report in IFS.

My choice was _Ropen....

Thanks again,
Jevgeni.


On Wed, Oct 14, 2015 at 5:33 PM, Aaron Albertson <albertaa@xxxxxxxxxx>
wrote:


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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.