DBUPD - Database Updating

#### Search Results

Search

# DBUPD - Database Updating

This Natural profile parameter indicates whether database updating is to be permitted during the Natural session.

Possible settings | `ON` | Database update is permitted.
`OFF` | Database update is not permitted. When compiling a program (`CHECK`, `CATALOG` or `STOW` command), a NAT0105 error message (`Database updating not permitted`) is issued if the program contains one of the following statements: `UPDATE`, `STORE`, `DELETE`, `INSERT` or `MERGE`. A database update is not performed when a program with an `UPDATE`, `STORE` or `DELETE` statement executes. Instead, a NAT1010 warning message is issued during the next screen I/O. In addition, a database loop that contains an `UPDATE` or `DELETE` statement does not place the records in hold status (no `read with hold`).
Default setting | `ON` |
Dynamic specification | yes |
Specification within session | no |
Application programming interface | `USR1005N` | See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation. * Recommended.
`USR1042N` *

Note
The `DBUPD` setting has no effect on the execution of Natural system commands.