|
Hello: I've come to the conclusion that the on-line documentation does not match the version of REXX shipped with Code/400. I did a scan of the RexxUtil.dll and it looks like the following functions listed in the documentation may not be supported: RxMessageBox SysDumpVariables SysGetFileDateTime SysQueryProcess SysSetFileDateTime SysStemCopy SysStemDelete SysStemInsert SysStemSort SysVersion Would have been nice to have the Dump Variables function.... While searching for a solution, I came across a series of web articles that talk about different algorithms for sorting. I'm sure that of these methods will do exactly what I need..... Bubble Sort / Insertion Sort http://www.os2ezine.com/v2n12/rexx.htm Heap Sort http://www.os2ezine.com/v3n01/rexx.htm Sort stem variable without loosing tails http://www.os2ezine.com/v3n17/rexx.htm This online magazine has some other REXX articles that I'll have to check out. John ----- Original Message ----- From: "John Larimer" <jklarimer=PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> Newsgroups: gmane.comp.systems.as400.code Sent: Monday, January 06, 2003 3:22 PM Subject: RexxUtil function SysStemSort in Macro > > Hello: > > I am running Windows XP, WDSC V4 and writing REXX Macros for Code/400. > The Object REXX documentation available from the editor describes how you > can use the REXX Utilities Functions (RexxUtil). > > For the project I'm working on, I would like to use the SysStemSort > function. All of my attempts to use this function fail with the error: > "Could not find the routine "SYSSTEMSORT". > > Here is a copy of the macro I am testing with: > > > /* stemsort.lx */ > > call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs' > call SysLoadFuncs > > a.0 = 3 > a.1 = Z > a.2 = Y > a.3 = X > > call SysStemSort "a." > > insert a.1 > insert a.2 > insert a.3 > > exit > > /* End of Source */ > > I expect the output to insert the following 3 lines into my current > document: > > X > Y > Z > > Does anyone see a problem with this macro? > > Does it work for others? > > Is the version of REXX supplied with WDSC different than what is documented? > > If so, is there any way to upgrade REXX to a more current version? > > I'm curious to know if anyone else has bumped into this issue..... > > Thanks, > > John > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > This is the CODE/400 Discussion & Support (CODE400-L) mailing list > To post a message email: CODE400-L=Zwy7GipZuJhWk0Htik3J/w@public.gmane.org > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo.cgi/code400-l > or email: CODE400-L-request=Zwy7GipZuJhWk0Htik3J/w@public.gmane.org > Before posting, please take a moment to review the archives > at http://archive.midrange.com/code400-l. > > NOTE: WDSc for iSeries disucssion has it's own mailing list. > Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-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.