|
One is that it is slower. ;-) Sorry, Dave, could not resist. Actually, just kidding. But not completely. Calling REXX from a CL repeatedly can have performance issues - IOW, using the STRREXPRC command in a long loop will be almost always slower than some other means. Reason? There is an environment that is being built on every call, IIRC. Also, REXX is always interpreted. No compiled objects. Nonetheless, REXX is fantastic for things like string handling. It includes functions to reverse a character string, center it in a certain length, etc. It has all the structured stuff that CL has never had, until V5R3 to some extent. Writing in it is fairly easy - no declaration of data types - it understands context with little or no problem. It actually makes a very nice command-processing program - commands can be pointed at a REXX procedure directly instead of a *PGM. HTH Vern -------------- Original message -------------- > I've wondered what the advantages are of REXX over CLP. > > > >From: "Dave Odom" > >Reply-To: Midrange Systems Technical Discussion > >To: > >Subject: RE: Can CL write to a disk file > >Date: Wed, 17 Aug 2005 16:45:29 -0700 > > > >Rob, you said: > > > > > >"Every time I violate my self imposed mantra to not program anything > >with > >CL I get reminded - the hard way." > > > >You don't have to violate your mantra if you use REXX instead of CL; > >out with the old, in with the new. > > > >Dave Odom > > > > > >-- > >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > >To post a message email: MIDRANGE-L@xxxxxxxxxxxx > >To subscribe, unsubscribe, or change list options, > >visit: http://lists.midrange.com/mailman/listinfo/midrange-l > >or email: MIDRANGE-L-request@xxxxxxxxxxxx > >Before posting, please take a moment to review the archives > >at http://archive.midrange.com/midrange-l. > > > > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
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.