DB2

Open PL/I can be used with the IBM's DB2 database system. Open PL/I has a preprocessor for embedded EXEC SQL statements in your PL/I programs, and a DB2 LUW preprocessor used by COBOL applications that is based on the HCO for DB2 LUW preprocessor.

Note:

Since the HCO for DB2 LUW preprocessor must connect to the DB2 LUW server to convert EXEC SQL statements to API calls, you must use the DB option for PL/I when building applications using SQL. Invoke the DB2 LUW preprocessor with the -db2 option to the mfplx command.

Open PL/I's DB2 support is license managed. You must obtain a special license from Micro Focus to use it.

You must also have IBM's DB2 product, or the IBM DB2 LUW DS Client V9.5 or later, and your system path must be set to the include the install product location.