Using an Ant with Enterprise Extensions build to compile a COBOL application

This tutorial shows you how to build a simple Hello World! COBOL application on a z/OS® build machine using Ant with Enterprise Extensions. With Ant, you can describe the steps required to build an application using an XML-based script. A set of extensions to Apache Ant called Ant with Enterprise Extensions makes it possible to build z/OS-based applications with Ant.

Learning objectives

The product documentation contains concepts, tasks, and reference material about building with System z®. This tutorial enables you to apply that information by running a complete z/OS build from start to finish.

In general, you will learn how to:

  • Use the z/OS data set definition, translator, and language definition components to define your build environment.
  • Create a shared zComponent Project that contains your COBOL source code, and also a build.xml file that defines the Ant with Enterprise Extensions build process.
Attention: This tutorial depends on your successful SMP/E installation of the Build System Toolkit and the Rational Build Agent (see the related link). Apache Ant is a Java-based build tool that is similar to the UNIX make utility.

Time required

You should plan on taking a few hours to complete this tutorial. If you explore other topics related to this tutorial, it might take longer to complete.
Related referenceSMP/E installation process