nld and noft Manual

Sample nld and noft Session
nld and noft Manual520384-003
A-21
LISTOPTIMIZE
LISTOPTIMIZE
The LISTOPTIMIZE option in Example A-27 shows that the functions linked in from
CRTLMAIN have optimization level 2 and the functions from the example program
have optimization level 0. The output of the LISTOPTIMIZE option in Example A-27 is
affected by the SET SORT ALPHA option done in Example A-24 on page A-19.
Example A-28 shows the effect of the SET SCOPESOURCE option on the
LISTOPTIMIZE option. The SET SCOPESOURCE option in Example A-28 uses the
ordinal number of the source file for MODULE2C rather than the fully qualified source
file name.
XREFPROC
The XREFPROC option in Example A-29 is under the influence of the SET
SCOPESOURCE option done in Example A-28.
Example A-27. LISTOPTIMIZE Option (Loadfile)
noft> LISTOPTIMIZE *
******** Optimization of Procedures ********
Procedure Name : # Opt
T8432G09_30APR20031CRTLMAIN : 7 2
__INIT__1_C : 5 2
_MAIN : 6 2
main : 4 0
initialize : 0 0
delete_passengers : 3 0
add_passengers : 2 0
wrapup : 1 0
Example A-28. Effect of SET SCOPESOURCE on LISTOPTIMIZE Option
noft> SET SCOPESOURCE 5
Scope : (source) \DLLQA.$D0117.CRGMAN.MODULE2C
noft> listoptimize *
****** Optimization of Procedures ********
Procedure Name : # Opt
add_passengers : 2 0
delete_passengers : 3 0
Example A-29. Effect of SET SCOPESOURCE on XREFPROC Option
noft> XREFPROC * BRIEF
Called Procedure
Calling Procedures
-----------------------------------------------------------------------------
*** WARNING *** [2008]:
No cross reference information available in this category for procedure *.