|
Bill, >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:) The can only think of two ways to get around that: 1) A second alpha parameter containing the string representation of the command length or 2) A string that you would scan for within the command string that would show you the end of the string, for example <EOC> In your procedure you would scan and find this string and substring all the characters previous into a string to use with QCMDEXC. It would almost be like the null-terminating character you would use in C, but it could be keyed from the command line. SBMJOB CMD(CALL PGM1 PARM('1234') JOB(JOBNAME) JOBQ(QPGMR) <EOC> HTH, Andy
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.