I wasn't the original author who did, as others have described with the epithet "you can write FORTRAN in any language" Vol.i = '012345' Dsn.i ='file.name.here' Cdate.i = Etc.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Dana Mitchell > Sent: Thursday, March 22, 2012 7:41 AM > To: [email protected] > Subject: Re: rexx cpu intensive > > Dave, > > I don't completely understand what you changed here. Do you mean the > 'after' code was something like this: > > vol = '012345' > dsn.vol = 'file.name.here' > > What were you using 'before'? > > Dana > > On Wed, 21 Mar 2012 19:53:34 +0000, Gibney, Dave <[email protected]> > wrote: > > > I once greatly improved a Rexx routine exploiting the associative > Rexx array. It was some extract from a TMS report. It was originally > written like any other array with a subscript variable. And a lot of > for loops. > > I changed it to use the main key (in this case the tape volser) as > the index. Elapsed and CPU times where reduced 80 to 90 percent. > > > >Dave Gibney > >Information Technology Services > >Washington State University > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

