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