C and C++
C is an extremely flexible and very common mainframe programming language that is currently utilized for a variety of business and scientific applications. C can be used in either online or batch programs. C programs can run in any OS/390 address space, can execute under a variety of transaction managers such as CICS, and can be used as DB2 stored procedures or external user-defined functions.
C API
DB2 provides a C API that allows you to embed static or dynamic SQL into a C program. You can code SQL statements in a C program anywhere in which you can code an executable statement.
Embedding SQL in a C Program
Each SQL statement in a C program must begin with EXEC SQL and end with a semicolon (;). The EXEC and SQL keywords must appear ...
Get DB2® Universal Database™ for OS/390™ v7.1 Application Certification Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.