Accelerator Manual (G06.24+, H06.03+)

Using the Accelerator
Accelerator Manual527303-002
4-8
Specifying the Code Space
3. Debug the TNS version of your complete program.
4. Run the Accelerator. If the Accelerator issues an error message, it will not produce
an output file. Correct the error and run the Accelerator again.
5. Examine the Accelerator listing. If there are any warning messages, investigate
each warning, and fix if necessary. The Accelerator issues warning messages to
call your attention to possible problems. Refer to Section 9, Error, Warning, and
Note Messages for cause, effect, and recovery information about warning
messages.
6. Perform final testing on the accelerated program.
This is a quick and simple strategy for using the Accelerator; it is not exhaustive. The
following table guides you to the appropriate sections to learn how to perform more
advanced Accelerator tasks.
Specifying the Code Space
A code space is a part of virtual memory reserved for user code, user library code,
system code, and system library code. For each code space, a compiler generates
different code and places different restrictions on the run-time library and language
features that can be used. Refer to the appropriate language manuals for details.
You must specify to the Accelerator whether an object file is to be run as user code
(UC), user library (UL), system code (SC), or system library (SL). These four cases are
specified with the options UC, UL, SC, and SL, respectively. The default setting is UC,
Task: Refer to:
To improve the performance of
an accelerated program
Section 5, Setting Accelerator Options
Section 6, Accelerator Performance Issues
To make it more convenient to
accelerate a program
Using Obey Files on page 4-11
Controlling Accelerator Messages on page 4-14
To improve the ability to debug
an accelerated manual
Specifying the Debugging Mode
on page 4-9
To accelerate a program with
embedded SQL statements
Accelerating Programs With Embedded SQL
on
page 4-11
To accelerate a program that
uses an ulcerated user library or
a shared run-time library
Specifying Accelerated Libraries
on page 4-10
To accelerate a program that
runs in user library, system
code, or system library space
Specifying the Code Space
on page 4-8
To accelerate a user library or a
shared run-time library
Specifying the Code Space
on page 4-8