|
Just realized this won't work cmdLen is just for info of parm not field
correct? Besides it would not get filled until after %len and %trim. Well
it looked good for a time:)
d ExecuteCommand PR ExtPgm('QCMDEXC')
d cmdstr Like(cmd) Const Options(*VarSize)
d cmdLen 15P 5 Const
d cmdOpts 3A Const Options(*NOPASS)
D cmd S 3000A
c *entry plist
c parm cmd
C CallP ExecuteCommand(cmd:%len(%trim
C (%subst(cmd:1:cmdLen))))
C eval *inlr = *on
Thanks
Bill H
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.