Setting up a test environment

Before you begin

About this task

The parameterized build samples include several COBOL applications that you can use to set up a test environment for your configuration and that ClearCase® developers can use to become familiar with the parameterized build scripts.
The following COBOL source programs are provided.
  • pbtest.cbl - source program calls subprogram
  • pbtest1.cbl - hello world
  • pbtest2.cbl - source program uses copybook
  • pbtest3.cbl - subprogram called by pbtest.cbl
  • copyone.cpy - copybook
  • pbmain.link - sample link control file

Procedure

  1. Set the type attribute LANG to the value COBOL2 for each of the COBOL source programs listed above as described in Defining variables for the view elements .
  2. Set the type attribute LNKDECK to the value PBMAIN for the pbtest.cbl source program listed above as described in Defining variables for the view elements.
  3. If you want ClearCase developers to be able to use these sample programs, place them in a shared directory.

Results

After you have set up the test environment, you can run the following test scenarios:

What to do next

For information on next steps, return to the main parameterized build setup topic.