The following commands set the default plan options for CA Datacom SQL access. DBSQL options control the default values that appear in the program Environment fill‑in when a program that uses CA Datacom SQL access is created or transported in source format.
Sets the default one- to eight‑character authorization ID for the access plan.
Sets the default I/O limit interrupt value for SQL statements that creates a set. Specify a value from 0‑524287.
Sets the default behavior of cursors at a COMMIT/CHECKPOINT. Valid values are:
C Close
D Delete
P Preserve
Sets the default behavior of cursors at a ROLLBACK/BACKOUT. Valid values are:
C Close
D Delete
P Preserve
Sets the default character used as the decimal point when data is displayed. This has no effect on how the data is stored. Valid values are:
Used as the decimal point and comma is used as the digit separator. This is the default.
Used as the decimal point and period (.) is used as the digit separator.
Sets the default display format for SQL date type items.
Sets the default isolation level that separates one unit of recovery from the updating operations of other units of recovery. You can abbreviate the keyword ISOLATION‑LEVEL to ISO. Valid values are as follows:
No locks are acquired
Cursor stability; required for updates, deletes, or inserts
Repeatable read.
Sets the default mode in which CA Datacom/DB processes the program. Allowable values are as follows:
Sets the default mode in which CA Datacom/DB optimizes the plan by ordering joins. Specify one of the following:
Note: For more information about these settings, see the CA Datacom/DB Database SQL User Guide.
Sets the default type of optimization messages CA Datacom/DB produces during bind processing (PREP) or during execution (EXEC). Specify one of the following:
Sets the default priority of the SQL requests. Specify a value from 1 through 15, where the lowest priority is 1 and the highest priority is 15.
Sets the default character that delimits string values in all SQL statements.
Sets the default display format for SQL time type items.
Sets the default for the exclusive control wait limit. Specify a value from 1 to 120, followed by SEC for seconds or MIN for minutes. For example, for a ten‑second wait, enter the following command:
SET DBSQL WAIT 10 SE
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|