> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Tony Harminc > Sent: Friday, April 13, 2012 11:24 AM > To: [email protected] > Subject: Re: Modernizing the BCP code ? > <snip> > > But it may be that when writing high performance assembler routines it > is now a lot harder to win a battle with a compiler that has advanced > knowledge of the underlying machine internals. > > Tony H.
I agree with you on this. But by causing the C compiler to use the most architecture you have available, you limit your code to running on that level or above. Or putting it a different way, you limit the type of machines upon which it can run. Of course, the same is true of your HLASM code using the equivalent instructions. I think the optimization problem of C vs. HLASM is that there are so many different instructions to do a single operation, it is difficult for an HLASM programmer to be sure of which to use. In any case, for in-house, using a high numbered architecture __may__ be OK. But if you've got a z196 and use ARCHITECTURE(9), for example, then you must have a DR contract which includes this level of hardware. And that is likely to be expensive, if the DR provider even has one. Also, it decreases the number of possible DR sites upon which you can execute. In a major local disaster, this may be a killer if multiple shops declare before you and grab the fewer z196 ma! chines available. Unless you have some sort of SCLM such as CA-Endevor and use it to recompile all your C applicaions with the proper ARCHITECTURE. This may be considered by some to be an "untested" change to a production process. I don't know if this DR situation is a concern or not. I'm just paranoid. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

