DBFILE
PLBCMP GUI or PLBLinux Only
The DBFILE instruction associates a database connection with the PL/B program. It uses one of the following formats:
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
*
Optional. Denotes the item or file as being COMMON.
%
Optional. Denotes the item as being GLOBAL.
^
Optional. Denotes the item as being a POINTER.
Flags Affected: none
Note the following:
The DBFILE instruction reserves memory in the User Data Area.
The DBFILE instruction may be placed in common or the Global Data Area.
The DBFILE instruction may be defined as a pointer to another DBFILE instruction.
All DBSTATEMENT variables that have been opened using this DBFILE are closed.
See Also: Example Code, SQL Instructions
![]() |