IBM Dependency Based Build (DBB) provides the capabilities to build traditional z/OS applications such as COBOL and PL/I. The goal of DBB is to provide some automation capabilities based on a modern scripting language that can be used on z/OS. DBB is built as a stand-alone product that does not require a specific source code manager or pipeline automation tool.
IBM Dependency Based Build is included in IBM Developer for z Systems Enterprise Edition and IBM z Open Development and is also available as a standalone product.
The toolkit provides a set of Java APIs that can be used to define an intelligent build script. The toolkit contains a Groovy configured to use with the APIs to simplify the process of creating the intelligent build script. The APIs can be used with any other language, the samples provided will use Groovy. The APIs include capability such as:
- Run MVS commands
- Run TSO/ISPF commands
- Store and retrieve dependency information
- Utility capabilities such as copying to PDSE from z/OS
- zImport capability for migration to git
- Ability to create and store the build report
The toolkit is included in IBM Developer for z Systems Enterprise Edition and IBM z Open Development and is also available as a standalone product. Please refer to the "Downloads" tab on this page for more details.
The web application is used to store and retrieve the dependency information and to store build reports. The web application is to be used by provided REST APIs and the toolkit APIs to create the intelligent build scripts.
Click here to download.
The next step is to follow the server setup guide found in the IBM Knowledge Center.
The samples provide a set of Groovy scripts along with example programs to demonstrate how intelligent build scripts can be created. The samples are built such that they can be used as a starting point for a build process. The samples will be maintained in https://github.com/IBM/dbb.
A Dependency Based Build trial is available in the IBM Z Trial Program at zero cost, and with no installation required. The trial environment includes hands-on tutorials. You can access the trial from the IBM Z Trial Program page.