|
Vern Hamberg wrote:
Crazy idea - how about using the system() C-runtime API? The only parameter is the command string. All you need to do is call your source a CLLE type and ba-da-bing!!
Uh, Vern, what does ILE CL have to do with OPM RPG?
At any rate, I think I've found a workable answer: make the existing 2000-byte command buffer (already an array in a DS) a multiple-occurrence data structure. 9 occurrences would be enough to more than cover the subject at hand, and only a large QRYSLT clause would have any possibility of exceeding the size of a single occurrence.
Or even better: only two occurrences, but make them 9000 bytes.
("I thought you'd said one thousand wooden soldiers at six-foot-tall"
-- Stan Laurel as Stannie Dum, in "Babes in Toyland")
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.