×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Not sure if this would work for your purposes, but you can call any Qsh/Pase/Bash script and capture stdout and then consume from RPG.

QShell on i
https://github.com/richardschoen/qshoni

Works from CL, RPG or COBOL.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

------------------------------

message: 2
date: Sun, 3 Oct 2021 10:37:58 +1100
from: frank kolmann <frank.kolmann@xxxxxxxxx>
subject: Re: How to use stdin/stdout/stderr from ILE RPG?

Hi Patrik

I dont have stdin/stdout/stderr but I have an RPG program that uses Unix Apis that can open/read any file.
It is not complete because I got stuck on null capable fields. One needs a indicator DS for the null field maps that matches the null capable fields.

On 02/10/2021 6:18 am, Patrik Schindler wrote:

Hello,

I took a while to search the net how I can use stdin/stdout/stderr from within ILE RPG, but I failed to find something relevant.

Does anybody have some hints?

I want to implement a simple and highly specialized (for Spamassassin) database I/O manager running from within inetd instead of SQL, which is just too slow on my 150.

:wq! PoC



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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.