So what program is intercepting the stdout stream and showing it on my green
screen?  It doesn't appear to show up in the call stack.

And even with my program, all the write's to stdout are done by a procedure,
so I could simulatenously log to a disk file, but I was intrigued that it
actually displayed on the green screen.

----- Original Message -----
From: "Jon Paris" <Jon.Paris@Partner400.com>
Sent: Wednesday, July 24, 2002 10:42 AM
Subject: [WEB400] Displaying standard-out


> >> Is there a way to control this display of std-out?
>
> Sorry - the answer is "No" as far as I can tell.  I spent some time
working
> on this a while back (I think the V4R1 timeframe) but couldn't get it to
> work.  I eventually heard from one of the Rochester developers that
changes
> made in V3R7(?) meant that the CGI std out interfaces don't use the "real"
> stdout anymore and hence the OVR will have no effect.
>
> Interestingly, because COBOL (as well as C of course) programs can
actually
> write to stdout, you can use this approach for COBOL CGI programs - just
not
> RPG.
>
> Of course if you were using CGIDEV2 this would be an academic question as
> the built-in debug capability would be logging all your HTML for you
anyway





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.