You can use the CICS command-level interface to write C/C++ application programs. The CICS command-level interface provides data, job, and task management facilities that are normally provided by the operating system.
DB2® programs manage data that is stored in relational databases. You can access the data by using a structured set of queries that are written in Structured Query Language (SQL).
A DB2 program uses SQL statements that are embedded in the application program. The SQL translator (DB2 preprocessor) translates the embedded SQL into host language statements, which are then compiled by the z/OS XL C/C++ compilers. Alternatively, use the SQL compiler option to compile a DB2 program with embedded SQL without using the DB2 preprocessor. The DB2 program processes requests, then returns control to the application program.
You can record the debug session in a log file, and replay the session. You can also use Debug Tool to help capture test cases for future program validation, or to further isolate a problem within an application.
You can specify either data sets or z/OS UNIX files as source files.
For further information, see www.ibm.com/software/products/us/en/debugtool.
z/OS V1R7 XL C/C++ and later releases enable you to use Rational Developer for System z® to improve the efficiency of application development. For information about Rational Developer for System z, see www.ibm.com/software/products/us/en/developerforsystemz.
Use the Performance Analyzer on your workstation to graphically display and analyze a profile of the execution of your host z/OS XL C or C++ application. Use this information to time and tune your code so that you can increase the performance of your application.
Use the Distributed Debugger to debug your z/OS XL C or C++ application remotely from your workstation. Set a breakpoint with the simple click of the mouse. Use the windowing capabilities of your workstation to view multiple segments of your source and your storage, while monitoring a variable at the same time.
Use the workstation-based editor to quickly develop C and C++ application code that runs on z/OS. Context-sensitive help information is available to you when you need it.
The IBM Fault Analyzer helps developers analyze and fix application and system failures. It gathers information about an application and the surrounding environment at the time of the abend, providing the developer with valuable information needed for developing and testing new and existing applications. For more information, refer to www.ibm.com/software/products/us/en/faultanalyzer.
The ISPF Software Configuration and Library Manager facility (SCLM) maintains information about the source code, objects and load modules. It also keeps track of other relationships in your application, such as test cases, JCL, and publications. The SCLM Build function translates input to output, managing not only compilation and linking, but all associating processes required to build an application. This facility helps to ensure that your production load modules match the source in your production source libraries. For more information, refer to: www.ibm.com/software/awdtools/ispf/features/sclm-ov.html.
z/OS XL C supports the Query Management Facility (QMF), a query and report writing facility, which allows you to write applications through a callable interface. You can create applications to perform a variety of tasks, such as data entry, query building, administration aids, and report analysis. For more information, refer to: www.ibm.com/software/data/qmf/.
The Java language supports the Java Native Interface (JNI) for making calls to and from C/C++. These calls do not use ILC support but rather the Java-defined JNI, which is supported by both compiled and interpreted Java code. Calls to C or C++ do not distinguish between these two.