Difference between revisions of "SET MAXDBO"

From Recital Documentation Wiki
Jump to: navigation, search
(Description)
Line 18: Line 18:
 
The SET MAXDBO set command is used to specify the maximum compiled program size.  The expression <expN> should be set to 4x the required maximum compiled file size in kilobytes.  The default value is 256 , giving a maximum compiled file size of 65536 bytes.  If the MAXDBO setting is not sufficiently high, then an error will occur when a program is compiled manually or automatically.  Automatic compilation takes place if SET COMPILE and SET DEVELOPMENT are ON when a program is run.
 
The SET MAXDBO set command is used to specify the maximum compiled program size.  The expression <expN> should be set to 4x the required maximum compiled file size in kilobytes.  The default value is 256 , giving a maximum compiled file size of 65536 bytes.  If the MAXDBO setting is not sufficiently high, then an error will occur when a program is compiled manually or automatically.  Automatic compilation takes place if SET COMPILE and SET DEVELOPMENT are ON when a program is run.
  
 +
NOTE: Since version 9.6 the SET MAXDBO command is deprecated as compile time memory is extended dynamically as needed.
  
 
==Example==
 
==Example==

Revision as of 00:48, 17 July 2009

Class

Environment


Purpose

Specify maximum compiled program size


Syntax

SET MAXDBO TO (<expN>)


See Also

COMPILE, DO, SET COMPILE, SET DEVELOPMENT


Description

The SET MAXDBO set command is used to specify the maximum compiled program size. The expression <expN> should be set to 4x the required maximum compiled file size in kilobytes. The default value is 256 , giving a maximum compiled file size of 65536 bytes. If the MAXDBO setting is not sufficiently high, then an error will occur when a program is compiled manually or automatically. Automatic compilation takes place if SET COMPILE and SET DEVELOPMENT are ON when a program is run.

NOTE: Since version 9.6 the SET MAXDBO command is deprecated as compile time memory is extended dynamically as needed.

Example

set maxdbo to 512
set compile on
do main_prog


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer