Joe:

You could grab a copy of EXCCMDMBR from my web site at http://zap.to/tl400 and 
use it. Download and compile the source for it along with the three or four 
*CMD wrappers for some APIs and that's about all there is to it.

It's old stuff, mostly because I've never needed to update it.

Might be slightly more than you need because it handles '+' and '-' 
continuation lines and some very basic error handling for executed commands, 
but you can throw away what you don't need.

It's designed to work with type(CL) source members though any source type will 
work as long as the commands are well-formed.

Look in the Files/Miscellaneous directory. The xref document should show where 
any of the other command definitions are, or you can just use normal API calls 
and ignore the *CMDs.

Tom Liotta

midrange-l-request@midrange.com wrote:

>If I wanted to put a few CL conmmands into a source member and just run them
>(kind of like old-fashioned OCL), can I do it?  The last time I did this,
>many years ago, I used STRDBRDR, but that requires submitting to batch.  Can
>it be done interactively?
>
>I know I can just compile the lines of code into a program, or read each on
>and execute them via QCMDEXC.  I just wondered if there was another way.
>
>Joe
>
>P.S. For background, what I'm trying to do is create "source members" for my
>non-program objects.  For example, it would be nice to have a source file
>that I could "compile" that would generate, say, a data queue.  I could just
>compile that source and run it as a program, but then I'd need to keep track
>of that program as well as its source.  I was just hoping there was a more
>direct approach.
--
--
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertechgroup.com


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.com/


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.