|
Rob, >A simple CMD object, without any of the great bells and whistles capable >of within a CMD object can be created quite easily from a CL program. I actually do it the other way around. By keeping a copybook of commonly used keywords, I can whip out a CMD object very, very fast. Then I wrote a simple utility which accepts a command object name as input and bunch of option settings, and it generates the CL program for me from a variety of templates generating all the DCL's, handling list processing, setting up any overrides needed, and optionally does stuff like setting up OPNQRYF processing, submitting itself to batch, yada, yada. The command processing capabilities of OS/400 has always seemed woefully under-utilized by application programmers, IMHO. Doug
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.