|
M Hello Scott, You wrote: >However, I'd still use QCMDEXC (or the C system() function) instead of a >separate CL program. I really do think the API call would be easier to >read. I agree with that but since it falls under the class of 'opinion' I wasn't going to get involved. I did want to point out that there are instances where the QCMDEXC or system() approach won't work. For example, any of the RTVxxx commands, or other commands which have return values (e.g., SNDPGMMSG). For these you must use an API or call a CL program (or HLL with support for the specific task). If you create a program to handle fetching the data then there is a strong case for creating a program to handle changing the data. Consistent interfaces are a boon (small minds and hobgoblins notwithstanding). My opinion only, of course :) Regards, Simon Coulter. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» «» FlyByNight Software AS/400 Technical Specialists «» «» Eclipse the competition - run your business on an IBM AS/400. «» «» «» «» Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ «» «» Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au \ / «» «» X «» «» ASCII Ribbon campaign against HTML E-Mail / \ «» «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
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.