×
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.
Yes, you can use any language for validity-checking programs - C/C++,
COBOL, CL, RPG - whatever. There can be limitations of CL that make RPG
the thing to use for this - as well as the command-processing program.
The main one is the limit of 9999 characters in a *CHAR variable - these
days it's easy to need the longer capabilities of RPG. There are ways to
sneak around it - CL parameters are just pointers, after all.
We tend to use a CL as the VCP, then call anything else we need. The
main reason is perhaps historical - we have a security-checker that has
been done in CL forever. And there are other environmental things, like
library lists, that are more-easily done in CL.
I don't know if you can have a VCP in REXX - you certainly can use REXX
as the CPP, and in some ways it is an absolute dream! Parsing mixed
lists - well, it couldn't be simpler.
HTH (other than that last paragraph!!!)
Vern
On 2/9/2012 9:55 AM, Mark Walter wrote:
Use the QMHSNDPM API.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Allen
Sent: Thursday, February 09, 2012 10:26 AM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: Can a Command Validity Check program be an RPG ILE program
Can a Command Validity Check program be an RPG ILE program
If yes, how is the SNDPGMMSG supposed to be handled in the RPG?
In my test I use QCMDEXEC to execute a SNDPGMMSG *ESCAPE parms and it runs
right through and continues on processing the command
I am just now trying to learn this process so bear with me if this is a
stupid question J.
Thanks
John
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.