|
Buck, I never said that one should move everything to RPG... remember my statement about ILE concepts ! This allows a perfect synergy between the best of each language. Based on that, I see myself writing an RPG program that reads my change management database, and calls a CL program to do whatever you described regarding compiling, security, ... (and for none of these lasts steps I need database operations or complex datatypes). If I would be writing everything in CL, I would not be using best of both worlds, and even create huge monolithic programs. Modular design is in any way the recommended approach and allows you to write the parts in the languages that suites best. Kind regards, Paul -----Original Message----- From: Buck Calabro [mailto:Buck.Calabro@commsoft.net] Sent: 24 April, 2002 15:22 To: rpg400-l@midrange.com Subject: RE: Request for CL, DDS, SQL RPG enhancements Paul has made an interesting point regarding extending CL to do multiple files and more data types and I believe his point is well made when he says that we should use the right tool for the job. Well, for me that means moving OS-specific work into the OS Command Language rather than embed it inside RPG code (trying to stay on topic!) At some basic level, there are OS specific tasks that aren't possible to do in RPG (CRTDSPF for example). Having the ability to perform these tasks in a language _designed for scripting_ like CL is a necessity. Even Windows has a scripting language. I believe that extending CL's ability to do subroutines and handle the newer data types would be a significant addition to my ability to write easy scripts to install and clean up. Imagine the common and simple chore of checking out a dozen source files from production to development, compiling them and promoting the objects back to production, ensuring that one hasn't disturbed the security scheme. Being able to access date/time, read files (pipes?) and act on dynamic input is crucial to this sort of task, every part of which is OS specific. So, I agree that we should use the right tool for the job, and I believe that CL is indeed the right tool for some complex jobs. --buck _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ==============================================================================
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.