[z/OS]

Unit testing with DB2

These steps describe how to setup a unit test environment that would allow you to develop and unit test code with DB2® z/OS® to support Container Managed Persistence (CMP) development and access DB2 test data that resides on z/OS.

About this task

When using DB2 z/OS to support Container Managed Persistence (CMP) development and access DB2 test data that resides on z/OS, you should establish a testing environment to develop and unit test the code. Perform the following steps to setup a test environment:

Procedure

  1. Configure DB2 Distributed Data Facility (DDF) on z/OS to allow remote TCP/IP connections from your WebSphere® Studio Application Developer workstation. See the DB2 Information Center for information on DDF.
  2. Install the DB2 Client Configuration Assistant on the workstation where WebSphere Studio Application Developer is installed. The DB2 Client Configuration Assistant is shipped with DB2.
  3. Use the DB2 Client Configuration Assistant to define a DB2 alias.
  4. Use the DB2 alias you defined to access the DB2 subsystem on z/OS using the DB2 Distributed Data Facility (DDF).

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:17
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=ttrb_unitDB2
檔名:ttrb_unitDB2.html