SQLIO Getting Started
9.5
The following steps outline the process required to implement a simple test of the SQLIO functions.
Add a PLB_SQLIO_HOST, PLB_SQLIO_DRIVER, and PLB_SQLIO_SQLTYPE keyword to the PLBWIN INI file. These keywords specify the database source, driver type, and SQL language syntax type used to make a connection to a SQL database engine that contains the SQLIO system tables used to define the SQLIO schema record layouts. See SQLIO Runtime Keywords for additional information.
Define the record layout and create a SQLIO XML schema file. See Schema File Format for more information.
Modify a PLB program as follows:
A. Load a SQLIO schema using the SCHEMA instruction. The SQLIO schema only needs to loaded once or as needed when SQLIO schema updates are required.
Example:
or
B. Modify the OPEN and/or PREP instructions to include the <SQL> tag with or without attributes keywords. The <SQL> tag identifies that a database table is being accessed and is included in the file name fields of the instructions.
Example:
or
or
or
C. Compile and execute the PLB program.
See Also: SQLIO Overview, SQLIO Runtime Keywords
![]() |