
Appendix B. Configuring data sources in DB2 Information Integrator 253
Figure B-20 XML - Create nickname - modify properties
Change the Nickname field from REPORT_NN to REPORTS_XML and also
change the length of INCIDENTDESC column from 48 to 250 as shown in
Figure B-20. Click OK to complete the definition of the nickname.
Example B-9 shows the command line version of nickname definitions for three
of the eight tables derived from the PoliceReports.xml file.
Example: B-9 XML - Create nickname statements
CONNECT TO FEDDEMO
CREATE NICKNAME ADMINISTRATOR.REPORT_XML (
VICNAME VARCHAR (48) OPTIONS(XPATH './VicName/text()'),
INCIDENTLOC VARCHAR (48) OP ...