Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

hdbReOpenNewConfig

hdbReOpenNewConfig(
h_configID
)
=> t / nil

Description

Increments the reference count of an in-memory only configuration (that is, a new configuration that has not yet been written to disk) and returns t. If the configuration does not exist in memory or if it already exists on disk, this function returns nil and the reference count is not incremented.

The reference count of a configuration keeps track of the number of times the configuration has been opened. hdbOpen and this function increment the reference count, while hdbClose decrements it.

Arguments

h_configId

A configuration ID, returned by hdbOpen.

Value Returned

t

The reference count is incremented.

nil

The reference count is not incremented because the configuration does not exist in memory or it already exists on disk.

Example

New in-memory configuration:

myConfig=hdbOpen("" "" "" "w")
hdbReOpenNewConfig(myConfig)
=> t

Configuration that exists on disk:

config=hdbOpen("mylib" "mycell" "myview" "config" "w")
hdbReOpenNewConfig(config)
=> nil

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X