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



I've got an application that consists of a CL program that calls nine different RPG programs, one of them anywhere from zero to 55 times, the others once each.

Currently, I've got the RPG programs just doing DSPLY statements when they have something to tell the user. But I'd like to be able to run this thing in batch, without sending all of that to the QSYSOPR message queue.

I *could* do output to a spool file, or I *could* send it to STDOUT, using C runtime calls. I've done both before. But I can't recall doing it with a bunch of RPG programs.

What I don't want is to have it open a new spool file with each new RPG program invocation (for the spool file option) or ask the user to hit a key, if running in a terminal session (for the STDOUT option).

Advice?

--
JHHL

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