IBM GC09-2830-00 Conguring DB2 for MVS/ESA, Updating SYSIBM.LUNAMES, Updating SYSIBM.IPNAMES

Models: GC09-2830-00

1 196
Download 196 pages 29.94 Kb
Page 57
Image 57

The sections that follow contain examples of commands to update these tables for DB2 Universal Database for OS/390. Work with your DB2 Administrator to determine the updates required for your DB2 Universal Database for OS/390 system. For more information on the DB2 Universal Database for OS/390 Communications Database tables, refer to the DB2 Universal Database for OS/390 SQL Reference.

Updating SYSIBM.LUNAMES

To permit database connection requests to be accepted from any incoming DB2 Connect LU, just insert a blank row. Use an SQL similar to the following:

INSERT INTO SYSIBM.LUNAMES (LUNAME) VALUES (©

©)

Alternatively, if you want to restrict access by LU name, you can use an SQL command similar to the following to update this table:

INSERT INTO SYSIBM.LUNAMES (LUNAME,

SECURITY_OUT,

ENCRYPTPSWDS,

USERNAMES)

VALUES(©NYX1GW01©,©P©,©N©,©O©);

Result:

COLUMN

EXAMPLE

REMARK

======

=======

======

LUNAME

NYX1GW01

Name of the DB2 Connect LU

SECURITY_OUT

P

 

ENCRYPTPSWDS

N

 

USERNAMES

O

 

Updating SYSIBM.IPNAMES

If you want to permit inbound database connection requests for TCP/IP nodes, you can use an SQL command such as the following to update this table:

INSERT INTO SYSIBM.IPNAMES (LINKNAME) VALUES(©

©)

Con®guring DB2 for MVS/ESA

Before you can use the DB2 Connect connection, your DB2 for MVS/ESA Administrator must con®gure DB2 for MVS/ESA to permit connections from the DB2 Connect workstation. To con®gure DB2 for MVS/ESA, the following tables need to be updated:

vSYSIBM.SYSUSERNAMES

vSYSIBM.SYSLUNAMES

vSYSIBM.SYSLUMODES

Chapter 5. Con®guring Host and AS/400 Databases for DB2 Connect 45

Page 57
Image 57
IBM GC09-2830-00 manual Conguring DB2 for MVS/ESA, Updating SYSIBM.LUNAMES, Updating SYSIBM.IPNAMES