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



Hello Jon,

You wrote:
>I guess you're right although that change occurred a lot earlier didn't
it?

Well it's first documented in the ILE C Programmer's Guide at VRM420, but
that's doesn't mean it wasn't there under the covers on earlier releases.

>I guess something wasn't switched 'til later.  But I thought that you
>_could_ still issue an OVR to a C program.  Does that not work?  I've not
>had cause to try it.

OVRPRTF STDOUT still works but only if you choose not to use file
descriptor I/O.  The default is to not use file descriptor I/O.  To use
file descriptor based I/O you must set the environment variable
QIBM_USE_DESCRIPTOR_STDIO to "Y".  Full details are provided in the ILE C
Programmer's Guide.

I haven't checked it but I suspect that the HTTP APIs that allow RPG to
handle stdin and stdout use file descriptor I/O hence the failure of the
override.

Interestingly the manual says that if an override is in effect prior to
changing to file descriptor I/O the override will take precedence so there
is still scope for experimentation in order to fully understand the
behaviour.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists
   http://www.flybynight.com.au/

   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.