Building multiple programs linked into one module from TSO Client

Before you begin

Before performing this sample parameterized build request, you need to ensure that the test programs have been set up as described in Setting up a test environment.

About this task

Use sample programs pbtest.cbl and pbtest3.cbl and the link control file pbmain.link to perform this test case. This test case assumes both pbtest.cbl and pbtest3.cbl have been compiled and located in USERID.XOBJLIB. The link control file is uploaded to the z/OS® system with the name PBMAIN located in USERID.XLOADLIB.

Procedure

  1. Edit the link control file USERID.XLOADLIB(PBMAIN) on the z/OS system if needed.
    The following is the sample link control PBMAIN:
    INCLUDE OBJLIB(PBTEST)
    INCLUDE OBJLIB(PBTEST3)
    ENTRY PBTEST
    NAME PBTEST(R)
  2. Add the type attribute LNKDECK to pbtest.cbl and assign the value PBMAIN to LNKDECK as described in Configuring the view elements.
  3. On the option line of the TSO Client Main Menu, type 4.
  4. On the left side of the Dataset Action panel, under DSLIST, type s beside a data set that is mapped to the CBL file type.
  5. On the left side of the View Files List panel, under the ClearCase® file name, do one of the following actions:
    • Type pbl next to the pbtest file name. The build request is submitted.
    • Type s next to the pbtest file name and press Enter. The Select Action panel displays. Type pbl on the option line, press Enter. The build request is submitted. Press PF3 END to return to the View Files List panel.

Results

The output load module is saved in USERID.CA.PARMBLD.LOAD(PBTEST).