IBM C/C++ for z/OS

Develop high-performing C/C++ applications and system programs on z/OS while maximizing hardware use and improving application performance

Software developers discussing programming code and planning how to create innovative software

Overview

The IBM® C/C++ for z/OS® compilers, including the classic z/OS XL C/C++ compiler and the newly introduced Open XL C/C++ for z/OS compiler, are advanced optimizing C and C++ compilers on z/OS that use IBM Z® features to produce high-performing business applications.

IBM C/C++ for z/OS Overview (2:20 min) Migrating to new LLVM
Increase return on investments

Use leading-edge compiler optimization technology with modern IBM Z to enhance the performance of C/C++ applications on the highly secure and resilient z/OS platform. This initiative helps expedite return on investments and mitigate both business and IT risks.

Reduce migration efforts

Open XL C/C++ is fully based on the open-source Clang and LLVM technology framework, adhering to the C17/C18 and C++17 language standards. This approach aims to reduce migration efforts when transitioning C/C++ applications from distributed platforms to z/OS.

Enhance emerging technologies

Open XL C/C++ helps extend modern z/OS languages and utilities such as Python, Node.js, Go, Java and IBM Z Open Automation Utilities (ZOAU) to enhance their functionality and build application packages to advance technology adoption.

Simplify the operation

The z/OS XL C/C++ compiler supports embedded CICS and SQL statements in C/C++ source, simplifying the operation of C/C++ within CICS and Db2 environments.

Features

IBM z17 test center
New hardware capabilities without code change

Specify the architectural level for which the executable program's instructions will be generated. This allows for delivering hardware-level capabilities directly through compiler options without modifying source codes.

Learn more about using IBM z16 features
Portrait of a Multiethnic QA Engineer Working on Finding and Fixing Bugs in a Product or Program Software Code Before the Launch. Female Usi
Supports z/OS UNIX System Services and z/OS batch

Get support for z/OS UNIX System Services and z/OS batch under 32-bit non-XPLINK, 32-bit XPLINK and 64-bit XPLINK compilation modes, which are ideal for existing z/OS applications and porting applications from distributed platforms.

Discover more supported features
Top View Of Robotic Arms Working On Conveyor Belt In Automatic Warehouse
Integration with a core set of tools

Use this compiler to integrate IBM Developer for z/OS Enterprise Edition tools, a robust toolset for developing and maintaining IBM z/OS applications through the implementation of DevOps practices. This suite also encompasses IBM Debug for z/OS, offering debugging capabilities and code coverage for applications written in C/C++.

Explore IBM Developer for z/OS
Side view shot of thoughtful female African American VR programmer in glasses writing code on computer with multiple screens finding and fixing bugs in code at IT company office, copy space
Support for program diagnosis and debug

Increase programmer productivity and code generation with a cost-effective way of diagnosing potential language semantics adherence, including support for IBM z/OS Debugger.

Explore IBM z/OS Debugger Explore debug support
Data analyst working on business analytics dashboard with charts, with KPI and metrics connected to the database for technology finance, operations, sales, marketing
High-performance libraries

Use the Mathematical Acceleration Subsystem (MASS) and Open Basic Linear Algebra Subroutines (OpenBLAS) libraries for accelerated execution of math and algebra functions used in business analytics.

Explore libraries with Open XL C/C++ Explore libraries with z/OS XL C/C++
Young confident IT engineer explaining graphic data on computer screens to his colleague while looking at him during working meeting
Advanced optimization technology

Use advanced compilation and optimization technology to improve application performance.

Explore compiler options
IBM z17 test center
New hardware capabilities without code change

Specify the architectural level for which the executable program's instructions will be generated. This allows for delivering hardware-level capabilities directly through compiler options without modifying source codes.

Learn more about using IBM z16 features
Portrait of a Multiethnic QA Engineer Working on Finding and Fixing Bugs in a Product or Program Software Code Before the Launch. Female Usi
Supports z/OS UNIX System Services and z/OS batch

Get support for z/OS UNIX System Services and z/OS batch under 32-bit non-XPLINK, 32-bit XPLINK and 64-bit XPLINK compilation modes, which are ideal for existing z/OS applications and porting applications from distributed platforms.

Discover more supported features
Top View Of Robotic Arms Working On Conveyor Belt In Automatic Warehouse
Integration with a core set of tools

Use this compiler to integrate IBM Developer for z/OS Enterprise Edition tools, a robust toolset for developing and maintaining IBM z/OS applications through the implementation of DevOps practices. This suite also encompasses IBM Debug for z/OS, offering debugging capabilities and code coverage for applications written in C/C++.

Explore IBM Developer for z/OS
Side view shot of thoughtful female African American VR programmer in glasses writing code on computer with multiple screens finding and fixing bugs in code at IT company office, copy space
Support for program diagnosis and debug

Increase programmer productivity and code generation with a cost-effective way of diagnosing potential language semantics adherence, including support for IBM z/OS Debugger.

Explore IBM z/OS Debugger Explore debug support
Data analyst working on business analytics dashboard with charts, with KPI and metrics connected to the database for technology finance, operations, sales, marketing
High-performance libraries

Use the Mathematical Acceleration Subsystem (MASS) and Open Basic Linear Algebra Subroutines (OpenBLAS) libraries for accelerated execution of math and algebra functions used in business analytics.

Explore libraries with Open XL C/C++ Explore libraries with z/OS XL C/C++
Young confident IT engineer explaining graphic data on computer screens to his colleague while looking at him during working meeting
Advanced optimization technology

Use advanced compilation and optimization technology to improve application performance.

Explore compiler options

Product comparison

Products Open XL C/C++ for z/OS

The latest advanced optimizing C and C++ compiler on z/OS supports the current C/C++ language standards with the open-source Clang interface for improved compatibility with distributed platforms.

Download now
z/OS XL C/C++

An advanced optimizing C and C++ compiler on z/OS that supports Metal C and z/OS subsystems, such as CICS, Db2 and IMS.

World-class IBM support

Licensing

Clients licensed to z/OS XL C/C++ are entitled to Open XL C/C++ Monthly License Charge (MLC), optional priced feature of z/OS

Distribution channel

Web deliverable

Part of z/OS optional features

METAL C for system programming capabilities

Programming with Metal C

Support for embedded CICS and SQL statements

Programming with other products

Improves compatibility with distributed platforms

Explore supported Clang options

Supports current C/C++ language standards

Enhanced language standard support

*Prices shown are indicative, may vary by country, exclude any applicable taxes and duties, and are subject to product offering availability in a locale.

Integrate with other products

When you use z/OS XL C/C++, you can write programs that use the power of other IBM products and subsystems.

Explore interaction with other IBM products
IBM CICS Transaction Server for z/OS

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.

Explore CICS documentation
Information Management System (IMS)

IMS and z/OS XL C/C++ together can coordinate error handling.

Explore IMS documentation
IBM Db2 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.

Explore Db2 documentation

Related products

IBM XL C/C++ for z/VM

Use a high-performance compiler for developing complex C/C++ programs on z/VM.

IBM XL C/C++ for Linux

Learn how you can take advantage of a high-performance compiler for developing complex C/C++ programs on Linux on Power Systems.

IBM XL C/C++ for AIX

Take advantage of a high-performance compiler for developing complex C/C++ programs on AIX.

IBM Compilers

Explore the IBM Compiler family of products.

Take the next step

Download IBM Open XL C/C++ now or discover z/OS XL C/C++ by scheduling a no-cost 30-minute meeting with an IBM Z representative.

Download now
More ways to explore Documentation: z/OS XL C/C++ Documentation: Open XL C/C++ for z/OS Support IBM Redbooks Flexible pricing Mainframe application modernization