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
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.
The default value is DSN.
If your DB2 address space uses a different subsystem ID, or you want CA‑GSS to communicate with a different address space, use the SSID parameter to properly identify the address space.
If you want to process dynamic SQL in multiple DB2 address spaces, you can provide secondary ISERVE address spaces, one for each DB2. GoalNet can then be used to direct processing requests to the appropriate ISERVE address space.
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.
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.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |