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 objectivesThe 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.
- Lesson 1: Preparing your environment
- Lesson 2: Configuring the Rational Build Agent shell script
- Lesson 3: Configuring the Rational Build Agent
- Lesson 4: Creating data set definitions
- Lesson 5: Creating translators
- Lesson 6: Creating language definitions
- Lesson 7: Creating a shared zComponent Project
- Lesson 8: Adding zFolders and associating them with data set definitions
- Lesson 9: Adding build artifacts and associating them with language definitions
- Lesson 10: Configuring a build definition
- Lesson 11: Requesting a build