× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Wow.

Took a while wondering what you were going on about, but that's the most impressive titbit ( or tidbit as you say ) that I've come across to date.


-----Message d'origine-----
De : wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] De la part de Joe Pluta
Envoyé : vendredi 9 novembre 2007 14:46
À : 'Websphere Development Studio Client for iSeries'
Objet : Re: [WDSCI-L] question on "run interactive application" andRSESVR...

From: Joe Pluta

In fact, the more I think about this, the more there is a need in
everybody's toolkit for a simple ILE program that accepts a command as
its only parameter and executes it via QCMDEXC.

Here we go. Use at your own risk. Your mileage may vary.

Command (ILEEXC):

ILEEXC: CMD PROMPT('Execute Command in ILE')
PARM KWD(CMD) TYPE(*CMDSTR) LEN(512) MIN(1) +
PROMPT('Command')

Command Processing Program (ILEEXCR):

d QcmdExc pr EXTPGM('QCMDEXC')
d Cmd 512
d CmdLen 15P 5 CONST

d ILEEXCR pr EXTPGM('ILEEXCR')
d Command 512

d ILEEXCR pi
d Command 512

/free
QCmdExc( Command: %len(%trimr(Command)));
*inlr = *on;
/end-free

It won't solve everything, but it will give you an SEP starting point for a lot of your OPM programming needs.

Joe

--
This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.