Using DB2 Universal Database

Both z/OS® Language Environment® and z/OS XL C/C++ provide an interface to the IBM DB2 Universal Database Licensed Program.

An XL C/C++ program requests DB2® services by using SQL statements embedded in the program. This source code is translated into host language statements that perform assignments and call a database language interface module. After DB2 processes each request, it returns processing control to the XL C/C++ program.

Any errors that occur during database processing are handled by the database product. If a program is terminated during DB2 processing, DB2 takes appropriate action, depending on the nature of termination.