DBCLOSE - Database Close at Session End

This Natural profile parameter determines whether or not Natural closes all databases that it has accessed during a session at the end of this session.

Possible settings ON Natural closes all databases.

Natural closes only those databases which had been opened by an explicit open command.

An explicit open command will be issued in the following cases:

  • profile parameter ETID is not set to ' ' (blank),

  • profile parameter DBOPEN=ON,

  • the open is forced by the OPEN option of macro NTDB or profile parameter DB.


Natural closes only the database specified with the profile parameter ETDB.

Default setting OFF  
Dynamic specification yes  
Specification within session no  

Other transaction processing related parameters: ADAMODE | DBOPEN | ENDBT | ET | ETDB | ETEOP | ETIO | ETSYNC