• Subject: RE: RPG/COBOL with embedded CL
  • From: Buck Calabro/commsoft<mcalabro@xxxxxxxxxxxx>
  • Date: Mon, 15 Mar 1999 16:03:15 -0500

On 03/15/99 02:19:13 PM Roger Boucher  wrote:

>I have had a desire to run all manner of CL commands in an RPG program
>and like Colin, I think it would be nice to be able to do this without
>external calls and arrays to build commands for QCMDEXC and API code for
>retrieving error information that I don't want to leave behind for
>others to decipher.  I think Colin was just asking if anyone else felt
>this way.

Hmmm.  My background may be a bit different (being self-taught) so I've 
never thought of integrating CL and RPG as complicating things.  OS-type 
stuff has always been the strength of CL, and data manipulation stuff has 
been the strength of RPG (comparatively speaking!)  I guess that my answer 
is that it seemed natural for my RPG to call a CL program to do OS type 
stuff.  Then I let the CL program do the error handling for it's part of 
the job and supply the RPG program with a return code to tell me if it 
worked or not.  It seems that this behaviour isn't quite as natural for 
everybody!   :-) 

Buck Calabro
Billing Concepts Inc (formerly CommSoft), Albany, NY
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

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

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