Configuring zBuilder Languages task

The zBuilder Languages task provides ready-to-use language compiler samples, but can be easily configured to add new ones. In this tutorial, you modify which language compilers are available for the default Languages task.

Prerequisites

Estimated time

This tutorial takes about 7 minutes to complete.

Steps

  1. Open your zBuilder configuration directory (default /usr/lpp/IBM/dbb/build).
  2. The Languages.yaml file declares the default language compilers and dataset names to be used with zBuilder. This file is included in your build configuration. Edit this file or create a copy of it.
    • NOTE: If you create a copy, you need to include that new file in your build configuration. Reference the YAML include: reference for more details.
  3. Some language compilers are already included in this task. To add another language compiler, add an include statement that points to the languages configuration file.
include: 
 - file: MyCompiler.yaml
 - file: BMS.yaml
 ...
  1. Add an entry for the compiler under the Languages stage definition.
tasks: 
  - stage: Languages
    tasks:
     - MyCompiler     # Defined in MyCompiler.yaml
     - BMS            # Defined in BMS.yaml
     ...

Summary

Any lifecycle that uses the Languages stage now includes the new language compiler.

configure_build_languages