This Natural profile parameter specifies the DBID to be used for a database access at
runtime. This database ID specified with the UDB parameter replaces
DBID 0 when Natural objects are executed.
| Possible settings | 0 or 1 - 65535, except 255 |
Valid database ID.
Note: |
|---|---|---|
| Default setting | 1 | |
| Dynamic specification | yes | |
| Specification within session | no | |
| Application programming interface | USR1005N |
See SYSEXT - Natural Application Programming
Interfaces in the Utilities
documentation.
* Recommended. |
USR1040N *
|
Notes:
UDB parameter must be the same: ADA/ADA, ADA2/ADA2, SQL/SQL or
XML/XML. As an exception, the combination ADA/ADA2 is possible. The first type is the
database type of DBID 0 and the second type is the database type of the DBID specified
with the UDB parameter.
DBID=0 at compilation time, whereas the
database type of the DBID specified with the UDB parameter is used
only at runtime.
ADA.
UDB profile parameter determines which database is accessed. If
so, the UDB profile parameter must be set to a valid DB
number.
UDB is also used to specify the DBID for
stowing transaction data if the profile parameter ETDB is not specified.