Previous Topic: Customize CA-GSS for CA View

Next Topic: Customize CA-GSS for IDCAMS

Customize CA-GSS for DB2

If you are running the IBM DB2 database software, an IMOD can retrieve data by executing dynamic SQL statements.

Make sure that the DSNALI and DSNHLI2 communication modules of DB2 are available. These modules must reside in an APF‑authorized LINKLIB data set.

To configure CA-GSS for DB2

  1. Modify your GSSA system PROCLIB member.

    If the DB2 DSNALI and DSNHLI2 load modules are not in a LINKLIST Library, include their library as a STEPLIB in the GSSA system PROCLIB member.

  2. Modify CA‑GSS parameters. As needed, modify the CA‑GSS initialization parameters that affect CA‑GSS' DB2 support. Examples of these parameters are contained in the DB2 member of the CAW0OPTN data set.
  3. Create the SRVDB2P load module.

    Since dynamic SQL programs are highly dependent upon DB2 release level, program name, and date and time of program assembly, CA-GSS distributes the SRVDB2P program in source format. This program, along with sample JCL, can be found in the CAW0JCL member BYSDB2P.

  4. Bind the plan.

    Before you execute dynamic SQL using the DB2() function, you must bind the plan (created in step 2 and specified in the DB2PLAN initialization parameter) to the target DB2 address space.