× 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.



I don't mean to whip a dead horse, but I haven't found a solution for this one. 
 At least, not an answer that I'm satisfied with.  I know this question has 
been solved on the RPGIV threads.

How do you know the actual length of parameters passed for call to QCMDEXC 
within a CL program?  I'm trying to modify an old Midrange Computing program 
that has a "Wait R U Sure?"  question for those critical update programs to 
stop users from running inadvertently.

I want to add the ability to pass parms to it.  The PARM is defined as TYPE(*X) 
on the command.  I have &QPARM defined as *CHAR with a length of 1282 (32 chars 
per parm X 40 parms).  This however won't work because the TYPE(*X) varies in 
length.

Any ideas?



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.