To use XDB Link to access DB2 data on an OS/390 system, have a database administrator (DBA) or the DB2 system administrator configure DB2 to accept DRDA requests as described in the following steps.
To configure DB2 to accept DRDA requests from XDB Link
For DB2 Version 4 and earlier, execute the following statement:
INSERT INTO sysibm.syslunames (luname, sysmodename, usersecurity,encryptpswds, modeselect, usernames) VALUES (' ', ' ', 'C', 'N', 'N', ' ');
For DB2 Version 5 and later, execute the following statement:
INSERT INTO sysibm.lunames (luname, sysmodename, security_in, security_out, encryptpswds, modeselect, usernames) VALUES (' ', ' ', 'A', 'A', 'N', 'N', ' ');
For DB2 Version 4 and earlier, execute the following statement:
INSERT INTO sysibm.syslocations (location, loctype, linkname, linkattr) VALUES ('your-location-id', ' ', ' ', ' ');
For DB2 Version 5 and later, execute the following statement:
INSERT INTO sysibm.locations (location, loctype, linkname, linkattr) VALUES ('your-location-id', ' ', ' ', ' ');
Do not discard the DB2 worksheet when you are finished configuring DB2. It contains information that you will use to configure other parts of XDB Link.