DBDISCONNECT


8.0.4, PLBCMP GUI or PLBLinux Only

 

The DBDISCONNECT instruction (which may be abbreviated as DBDISC) terminates the connection with a database. The instruction uses the following format:

 

 

[label]

DBDISCONNECT

{dbfile}

 

Where:

label

Optional. A Program Execution Label.

dbfile

Required. A DBFILE variable defining the database associated with the connection.

Flags Affected: none

Note the following:

  1. The connection is closed for this variable.

  2. If there is no connection, no action occurs.

 

 

See Also: Example Code, DBCONNECT, SQL Instructions

 



PL/B Language Reference DBCONNECT DBERROR