Rewrite them into COBOL? <grin> The REXX compiler would likely be helpful. But if, like me, you're stuck with using normal, intepreted, REXX, then about the only thing you can do is try to do as few operations as possible. Likewise, try to use powerful functions instead of simplier ones. They'll be less intepretive overhead. Lastly, and likely most important, review your code design. Many years ago, on a pre-IBM personal computer (z-80 based), I wrote two sort routines. One in assembler and one in intepreted BASIC. The assembler was a "bubble sort". The BASIC was a Heap Sort. Believe it or not, the BASIC program outperformed the assembler one. Due entirely to the fact that a HeapSort is much more efficient than a bubble sort. So, using an efficient algorithm can really help.
-- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 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 > > 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 <<mailto:tbr...@cenhud.com>> > Phone: 845-486-5643 > Fax: 845-486-5921 > Cell: 845-235-4255 > > > > > This message contains confidential information and is only > for the intended recipient. If the reader of this message is > not the intended recipient, or an employee or agent > responsible for delivering this message to the intended > recipient, please notify the sender immediately by replying > to this note and deleting all copies and attachments. > > > > > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN