Building COBOL applications with ClearCase parameterized build scripts

You can use the parameterized build sample scripts that are provided with ClearCase® to compile, link, or upload resources under control of ClearCase to a remote z/OS® system.

ClearCase z/OS Extensions includes a set of sample scripts referred to as parameterized build, which automate specific build commands for compiling, linking, or uploading resources under ClearCase control using the rccbuild command of ClearCase z/OS Extensions. Parameterized build for Rational® Developer for System z® makes the parameterized build scripts available to projects that have been enabled for ClearCase. The topics in this section provide some background on ClearCase z/OS Extensions and parameterized build, explain how to set up Rational Developer for System z for use with parameterized build, and explain how to use parameterized build with Rational Developer for System z projects.

Note: The parameterized build sample scripts represent one approach to automating Remote Build operations. The scripts need to be customized to suit the needs of your environment. If your administrator has altered the scripts, the instructions for using them might need to be altered as well.

ClearCase z/OS Extensions

ClearCase z/OS Extensions is a set of tools that mainframe users can employ to perform select ClearCase operations. ClearCase z/OS Extensions include Remote Build, TSO Client, and ClearCase RAM (CCRAM) features. For parameterized build functions, Rational Developer for System z takes advantage of the Remote Build feature of z/OS Extensions.

The Remote Build feature submits build requests from ClearCase client platforms running on the Windows®, Linux®, and UNIX® systems to the Remote Build server running on z/OS (MVS™ or z/OS UNIX System Services).

Parameterized build automates the creation and submission of Remote Build scripts. Parameterized build for Rational Developer for System z provides a set of menu items that execute Remote Build scripts from a project. The topics in this section explain how to use parameterized build in Rational Developer for System z and Eclipse platforms.

Before you start

Before you can use parameterized build, the following tasks must have been completed. This table lists each Task that needs to be completed, the product Environment in which it needs to be completed, the User who needs to complete it, and where to find Instructions for completing it.

Table 1. Parameterized build prerequisite tasks
Task Environment User Instructions
Install ClearCase z/OS Extensions ClearCase server and z/OS ClearCase administrator and z/OS administrator Installing and using z/OS Extensions
Configure z/OS Extensions parameterized build ClearCase server ClearCase administrator Configuring parameterized build
Note: The build scripts for Rational Developer for System z and instructions for configuring them are documented in the Guide to Parameterized Build for Rational Developer for System z and Impact Analysis. You need to refer to both the help for the product on IBM Knowledge Center and this guide to set up parameterized build.
Gather ClearCase and parameterized build information Rational Developer for System z or Eclipse Rational Developer for System z or Eclipse user You need to ask your ClearCase administrator for the following information:
  • The installation path for the parameterized build scripts.
  • The name of any VOBs (test or production) that have been enabled for parameterized build. If your ClearCase administrator set up the parameterized build sample programs in a test environment, you need the name of the VOB where these sample programs are stored.

After these tasks have been completed, you can do the following tasks: