Optimizing Your Compaq COBOL Program
15.1 Specifying Optimization on the Compiler Command Line
On OpenVMS Alpha systems, in general, specify /NOOPTIMIZE if you specify
/DEBUG when you compile a program. If you specify /DEBUG but omit any
form of the /OPTIMIZE qualifier on the command line, the compiler issues the
following informational message:
%COBOL-I-DEBUGOPT, /NOOPTIMIZE is recommended with /DEBUG
Unlike other informational messages, which are turned off by default, this
message is issued even if /WARNINGS=NOINFORMATION is in effect. You can
turn it off by specifying any form of the /OPTIMIZE qualifier.
If you need to debug optimized code, see the OpenVMS Debugger Manual.
♦
Other Effects of Optimization
An effect of optimization is larger object modules and longer compile times. These
potential disadvantages are typically outweighed by faster run times.
To speed compilations during program development, you may want to compile
with the noobject option when you want to check syntax.
When checking for correct execution, you may want to compile initially with
no optimization, and later with optimization when the program is executing
-382(yo)-3ations during
mayyou
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......