×
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.
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
As an Amazon Associate we earn from qualifying purchases.
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.