C and C++ programming examples
You can write Db2 programs in C and C++. These programs can access a local or remote Db2 subsystem and can execute static or dynamic SQL statements. This information contains several such programming examples.
To prepare and run these applications, start with the JCL the member for your language in prefix.SDSNSAMP as a model for your JCL:

- For C, use job DSNTEJ2D.
- For C++, use job DSNTEJ2E.
