But the problem with QCMDEXC, is that you cannot do a MONMSG on any
commands you run, so if an error occurs in the command, the calling HLL
program falls over.

The only problem with modules is that if you have to create an extra
module for every CL type task you want to perform, you could end up with
lots of modules/programs, when you only want to perform some very simple
function, and I prefer to use as few programs/modules as possible, to
keep object mangement simple!

-----Original Message-----
From: Dennis Lovelady [mailto:dennis@lovelady.com]
Sent: Monday, March 15, 1999 2:46 PM
To: MIDRANGE-L@midrange.com
Subject: Re: RPG/COBOL with embedded CL


Hi, Colin:

>I have often thought, if IBM allowed CL program commands to be embedded
>in their HLL's, they would make development a lot quicker, allowing
>development of HLL programs without the overhead of having to wrap
them
>in a CL control program to perform any sort of housekeeping/error
>capture.
>Anyone else got any thoughts on this.

You can do this.  The QCMDEXC program, callable from any HLL (or even
from
CL, but why would you?), can be used to execute CL commands anywhere
within
your program.  Also, with ILE, you can now create modules in CL that are
callable from your other ILE HLL programs, making the task simpler yet.

HTH
--
Dennis Lovelady                    Simpsonville, SC
mail: dennis@lovelady.com
URL:  http://lovelady.piedmont.net
ICQ:  5734860
--
"Always live within your income, even if you have to borrow money to do
so."
        - Josh Billings


+---
| 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 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 here. If you have questions about this, please contact [javascript protected email address].