>Since you are working on performance, have you tried compiling with the >Enterprise COBOL V4.2 compiler? New compilers will generate code that >uses instruction sets on new CPUs. You may get some benefit that way.
Enterprise COBOL V4.2 code can run on old hardware such as the 9672, we did not start exploiting newer hardware until COBOL V5.1. And this is a good thing and a bad thing, for the first time ever you could have a supported z/OS on old hardware and not be able to run COBOL programs that you just compiled with COBOL V5. Earlier releases had the same hardware requirements as the z/OS level we required. In particular, if you have z/OS V1R13 running on 9672, there is no way to compile with COBOL V5 to get a program that will run on that system. On the topic of evaluation of conditions, in z/OS COBOL our generated code will leave a condition evaluation as soon as we know it is true or false. We do not keep evaluating other operands if the final result is clear from earlier ones. Cheers, TomR >> COBOL is the Language of the Future! << ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
