Recording and virtualizing Db2® activity in COBOL/PL/I on z/OS®

You can record and virtualize Db2® activity in COBOL and PL/I applications on z/OS® systems.

Before you begin

Complete the steps to prepare. For more information, see Preparing to record and virtualize Db2 activity in COBOL and PL/I on z/OS.

About this task

Follow these steps to record:

Procedure

  1. Within Recording Studio, select a monitor corresponding to your Db2® database transport, and start recording.
  2. In the Create Virtual Database Whilst Recording? window, select the Agent for z/OS Filter. I you want to record batch program and you chose to set environment variables in the CEEOPTS DD statement, ensure that the EQA_DBG_RIT_ID associated with the filter matches the EQA_DBG_RIT_ID specified in the CEEOPTS DD statement.

    Create virtual database

  3. Select whether to create a stub and click Start Recording.

    If you choose to create a stub, when you stop recording, you are shown the option to view the stub with the Stub editor. This option closes the Recording Studio and opens the Test Factory.

    It is good practice to return to the Recording Studio to verify that no problems were encountered during stub creation. For more information, see Troubleshooting: Testing with Db2 on z/OS systems.