|
Hi Dan, > To me, it seems "klutzy" to have to do CHGVAR alpha VALUE(numeric) for > every numeric variable being passed in the CL SBMJOB, then have to > either use data structures on the parms in the RPG program or move alpha > to numeric stand-alone variables. I don't know if anyone has suggested this yet or not (though, I'm pretty sure it's in the FAQ) the way that I'd solve the problem is to create a *CMD as a front-end to the program that you're submitting. When you submit the command, you don't have to do anything special with the parameters -- you can supply them as normal. The command will take care of making sure that they are converted properly for the program that you're calling.
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.