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





[SNIP]
> Step 1: Program 1, System A: Using the rexec() API, call the Program 2,
> System B
>
> Step 2: Program 2, System B: Program is called and processes Write the
> response to the printer file (O specs) End the program
>
> Step 3: Since there are three "data channels" open, Program 1, System 1,
> read stdin Process the response End the program
[SNIP]

Yes, that's more or less correct.  Except that Steps 2 & 3 can run at the
same time (though, perhaps they do not with the bizarre output-spec
business, I don't know)

The "data channel" bit is a little misleading.  Yes, there are 3 different
streams, "stdin" "stdout" and "stderr" in the program that is executed on
the remote server.

However, on the caller's side, the rexec() API will combine the first two
("stdin" "stdout") into a single socket.  And, it will also optionally
combine the 3rd into that socket as well.   Sorry, I didn't explain this
very thoroughly in the previous message.


>
> Is this correct?
>
> Do you have any examples of this process?
>

Yeah...  I'll post them on RPG400-L, since they're RPG and we're going a
bit beyond the CL programming that this thread started with :)


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.