|
Michael, I do want to put the results
> into a subfile, but it has to be a
batch process, so I would like the
> CL to run this SQL Union.RPG runs just fine in batch. I would not try to put the SQL into the CL when it's so easy to put in the RPG. Error detection and recovery is much nicer in RPG, too.
If you want an example of QMQRY, look in the FAQ at http://faq.midrange.com Search for RUNSQLSTM or STRQMQRY or the like.
--buck
As an Amazon Associate we earn from qualifying purchases.
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.