Accelerator Manual (G06.24+, H06.03+)
Using the Accelerator
Accelerator Manual—527303-002
4-7
A Strategy for Using the Accelerator
A Strategy for Using the Accelerator
This basic strategy shows you how to accelerate a program that runs in user code 
space, does not contain embedded SQL statements, and does not contain TAL CODE 
statements. This strategy uses the default Accelerator option settings. The option 
settings provide the Accelerator with additional information about the program to be 
accelerated. For the vast majority of programs, the default settings for these options 
result in a correctly accelerated program. Either the options are concerned only with 
performance, or they can be set to the “wrong” value safely; that is, their misuse is 
detected and reported by the Accelerator, and can be corrected by setting the option 
and running the Accelerator again. You can use this strategy working in either the 
Guardian or Open System Services (OSS) environment.
1. Make sure that your program does not contain any of the variances described in 
Section 2, Preparing Your Program for TNS/R Systems
 or Section , Misalignment 
Handling of this manual.
2. Compile and bind your TNS object program. For optimum results, retain both the 
Binder and Inspect symbols regions.
Additional help is available on these topics:
Accelerator   Elementary-Options   Error   Inheritsr
Linkable    Note        Notes   Notlinkable
Obey      Procdebug      Returnsr  Returnvalsize
SC       Scoping-Directives   SL    Stmtdebug
Super-Options   Suppressmsg     UC    UL
Userlib     Warning
Topic? Super-Options
For ease of use, the Accelerator elementary option settings have been
packaged into three sets called the Accelerator super options. The
super options are Common, Fast, and Safe. You can set super options
for an entire program only. The following table shows the settings of
the elementary options for each super option:
Super options    Common   Fast   Safe
---------------------------------------------
Atomic      OFF    OFF   ON
InheritsCC     OFF    OFF   ON
OvTrap      ON     OFF   ON
SafeAliasingRules  ON     OFF   ON
TruncateIndexing   ON     OFF   ON
Additional help is available on these SUPER-OPTIONS subtopics:
Common    Fast      Safe
SUPER-OPTIONS subtopic? Common
Select Common unless you know that your program contains TAL
procedures that rely on the atomic execution of certain TNS
operations or on the inheritance of conditions codes. Common is
correct for all other programs. Common corresponds to the default
setting for each of the elementary options; however, you should set
this option explicitly to make sure that you and other programmers
know the acceleration strategy that has been chosen.
Figure 4-1. Accelerator Online Help Example 










