Re: rexx cpu intensive

2012-03-29 Thread Cris Hernandez #9
One more thing about keeping the rexx efficient.  I like to write structured code so that no code is executed unnecessarily, plus it's easier to update.  I didn't run a test check the difference between compiled & interpreted rexx, but here's the cpu usage results from one of my (uncompiled)

Re: rexx cpu intensive

2012-03-26 Thread Miklos Szigetvari
Hi Any end of the story ? On 3/21/2012 4:38 PM, Tim Brown wrote: What can be done to prevent REXXX programs from being so CPU intensive Thanks, Tim Brown Systems Specialist - Project Leader Central Hudson Gas& Electric 284 South Ave Poughkeepsie, NY 12601 Email: tbr...@cenhud.com<

Re: rexx cpu intensive

2012-03-23 Thread Kirk Wolf
The OP asks "1) why does REXX use so much CPU"?, but a better question is "2) why is my REXX program use so much CPU"? An even better question is "3) why does this particular thing that I'm doing in my program take so much time, and how to I fix it?" IMO, a programmer shouldn't ask the first qu

Re: rexx cpu intensive

2012-03-23 Thread zMan
gt; > To: IBM-MAIN@bama.ua.edu > > Date: 03/21/2012 05:29 PM > > Subject: Re: rexx cpu intensive > > Sent by: IBM Mainframe Discussion List > > > > On Wed, 21 Mar 2012 16:40:12 -0500, Jonathan Goossen wrote: > > > > >A way to simulate this is t

Re: rexx cpu intensive

2012-03-23 Thread Jonathan Goossen
> From: Paul Gilmartin > To: IBM-MAIN@bama.ua.edu > Date: 03/21/2012 05:29 PM > Subject: Re: rexx cpu intensive > Sent by: IBM Mainframe Discussion List > > On Wed, 21 Mar 2012 16:40:12 -0500, Jonathan Goossen wrote: > > >A way to simulate this is to accumulate

Re: rexx cpu intensive

2012-03-22 Thread Neil Duffee
uOttawa, Ottawa, Ont, Canada telephone:1 613 562 5800 x4585 fax:1 613 562 5161 mailto:NDuffee of uOttawa.ca http:/ /aix1.uOttawa.ca/ ~nduffee "How *do* you plan for something like that?" Guardian Bob, Reboot "For every action, there is an equal and opposite criticism.

Re: rexx cpu intensive

2012-03-22 Thread Gibney, Dave
IBM-MAIN@bama.ua.edu] On > Behalf Of Dana Mitchell > Sent: Thursday, March 22, 2012 7:41 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: rexx cpu intensive > > Dave, > > I don't completely understand what you changed here. Do you mean the > 'after' code

Re: rexx cpu intensive

2012-03-22 Thread Dana Mitchell
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 +, Gibney, Dave wrote: >I once greatly improved a Rexx routin

Re: rexx cpu intensive

2012-03-22 Thread Miklos Szigetvari
The CPU usage of the compiled REXX code was here, about 1/10 of the interpreted REXX code. On 3/21/2012 4:38 PM, Tim Brown wrote: What can be done to prevent REXXX programs from being so CPU intensive Thanks, Tim Brown Systems Specialist - Project Leader Central Hudson Gas& Electric 2

Re: rexx cpu intensive

2012-03-22 Thread Paul Gilmartin
On Wed, 21 Mar 2012 17:38:28 -0700, Cris Hernandez #9 wrote: > >-use DROP to free memory for any array that's no longer needed > But be careful. I have an example that shows that DROPping members of a stem can actually increase memory usage. -- gil -

Re: rexx cpu intensive

2012-03-22 Thread Shmuel Metz (Seymour J.)
In <2649511304607384.wa.paulgboulderaim@bama.ua.edu>, on 03/21/2012 at 03:33 PM, Paul Gilmartin said: >Yes, but one must sometimes contend with readers of these lists >who insist that Rexx compound tails _must_ be consecutive positive >integers, and the count _must_ appear in the .0 membe

Re: rexx cpu intensive

2012-03-21 Thread Mark Douglas (CITEC)
:IBM-MAIN@bama.ua.edu] On Behalf Of Jonathan Goossen Sent: Thursday, 22 March 2012 2:13 AM To: IBM-MAIN@bama.ua.edu Subject: Re: rexx cpu intensive Look at your code design and remember that REXX arrays are associative. Every access to an array element is a search for the full variable name with the

Re: rexx cpu intensive

2012-03-21 Thread Cris Hernandez #9
needed All I can think of at the moment.  In general, don't do or use anymore than is necessary. What does your REXX do? --- On Wed, 3/21/12, Tim Brown wrote: From: Tim Brown Subject: rexx cpu intensive To: IBM-MAIN@bama.ua.edu Date: Wednesday, March 21, 2012, 11:38 AM What

Re: rexx cpu intensive

2012-03-21 Thread Paul Gilmartin
On Wed, 21 Mar 2012 16:40:12 -0500, Jonathan Goossen wrote: >A way to simulate this is to accumulate the stem elements to a string and then iterate through them. If jobs is a string of job names... o Sometimes you haven't control over this: the compound may be defined by a host environment co

Re: rexx cpu intensive

2012-03-21 Thread Jonathan Goossen
; To: IBM-MAIN@bama.ua.edu > Date: 03/21/2012 04:06 PM > Subject: Re: rexx cpu intensive > Sent by: IBM Mainframe Discussion List > > Dave Gibney > Information Technology Services > Washington State University > > > > -Original Message- > > Fro

Re: rexx cpu intensive

2012-03-21 Thread Paul Gilmartin
On Wed, 21 Mar 2012 21:04:34 +, Gibney, Dave wrote: > >Much of my growth in this field has been slow and steady. >The Rexx associative array realization is one of the "aha moments" I still >remember. > You can code FORTRAN in any language. You will sometimes be told that if your Rexx, Lisp

Re: rexx cpu intensive

2012-03-21 Thread Gibney, Dave
Dave Gibney Information Technology Services Washington State University > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On > Behalf Of Paul Gilmartin > Sent: Wednesday, March 21, 2012 1:33 PM > To: IBM-MAIN@bama.ua.edu > Sub

Re: rexx cpu intensive

2012-03-21 Thread Paul Gilmartin
On Wed, 21 Mar 2012 19:53:34 +, Gibney, Dave 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

Re: rexx cpu intensive

2012-03-21 Thread David de Jongh
m: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On > Behalf Of Tim Brown > Sent: Wednesday, March 21, 2012 10:38 AM > To: IBM-MAIN@bama.ua.edu > Subject: rexx cpu intensive > > What can be done to prevent REXXX programs from being so CPU intensive > > >

Re: rexx cpu intensive

2012-03-21 Thread Gibney, Dave
h 21, 2012 9:13 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: rexx cpu intensive > > Look at your code design and remember that REXX arrays are associative. > Every access to an array element is a search for the full variable name > with

Re: rexx cpu intensive

2012-03-21 Thread Conlin, Pete
edu] On Behalf Of Tim Brown Sent: Wednesday, March 21, 2012 11:38 AM To: IBM-MAIN@bama.ua.edu Subject: rexx cpu intensive What can be done to prevent REXXX programs from being so CPU intensive Thanks, Tim Brown Systems Specialist - Project Leader Central Hudson Gas & Electric 284

Re: rexx cpu intensive

2012-03-21 Thread Scott Ford
All, According to the documentation from SHARE, arithmetic functions , compiled will see the speed up in execution, not I/O... Sent from my iPad Scott Ford Senior Systems Engineer www.identityforge.com On Mar 21, 2012, at 12:33 PM, Mark Zelden wrote: > On Wed, 21 Mar 2012 11:38:03 -0400, Tim

Re: rexx cpu intensive

2012-03-21 Thread Mark Zelden
On Wed, 21 Mar 2012 11:38:03 -0400, Tim Brown wrote: >What can be done to prevent REXXX programs from being so CPU intensive > 1) License the REXX compiler and run compiled REXX. This may help, but of course YMMV depending on what your execs are doing. A loop in a compiled REXX is just as re

Re: rexx cpu intensive

2012-03-21 Thread Jonathan Goossen
-4541 Department Support Line: 651-361- For help with communication and leadership skills checkout Woodwinds Toastmasters IBM Mainframe Discussion List wrote on 03/21/2012 10:38:03 AM: > From: Tim Brown > To: IBM-MAIN@bama.ua.edu > Date: 03/21/2012 10:39 AM > Subject: rexx cpu in

Re: rexx cpu intensive

2012-03-21 Thread zMan
On Wed, Mar 21, 2012 at 11:38 AM, Tim Brown wrote: > What can be done to prevent REXXX programs from being so CPU intensive > Can you be less specific? Seriously, what are you asking about? What makes you think a Rexx program is CPU-intensive? What is it doing? Your question, as posted, is kind

Re: rexx cpu intensive

2012-03-21 Thread Steve Comstock
On 3/21/2012 9:38 AM, Tim Brown wrote: What can be done to prevent REXXX programs from being so CPU intensive Thanks, Tim Brown Systems Specialist - Project Leader Central Hudson Gas& Electric 284 South Ave Poughkeepsie, NY 12601 Email: tbr...@cenhud.com<> Phone: 845-

Re: rexx cpu intensive

2012-03-21 Thread McKown, John
MEGA Life and Health Insurance Company.SM > -Original Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Tim Brown > Sent: Wednesday, March 21, 2012 10:38 AM > To: IBM-MAIN@bama.ua.edu > Subject: rexx cpu intensive > > Wha

rexx cpu intensive

2012-03-21 Thread Tim Brown
What can be done to prevent REXXX programs from being so CPU intensive Thanks, Tim Brown Systems Specialist - Project Leader Central Hudson Gas & Electric 284 South Ave Poughkeepsie, NY 12601 Email: tbr...@cenhud.com <> Phone: 845-486-5643 Fax: 845-486-5921 Cell: 845