IBM Class Author book content - IBM Learner Portal
IBM Class Author book content - IBM Learner Portal
IBM Class Author book content - IBM Learner Portal
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Student Note<strong>book</strong><br />
Library lists: Step one<br />
• Select “One-part name” during metadata creation process<br />
(DB2 CLI Only)<br />
Figure 1-100. Library lists: Step one AT911.0<br />
Notes:<br />
– Removes hard coding of library<br />
© Copyright <strong>IBM</strong> Corporation 2010<br />
To obtain the library list behavior and avoid creating a separate report for each data library,<br />
you must select the One part name synonym setting as shown.<br />
Specifying one part name for the synonym prevents DB2 Web Query from hard coding the<br />
library name in the metadata. When the report (based on a one part name synonym) is run,<br />
the requesting user’s library list is searched for the table or view names on which the<br />
synonym is based. This means that you must either log in as a different user profile in order<br />
to have the report access data in a different library, or use an easier technique to change<br />
the library list of the job description that is defined to the user profile.<br />
As long as the formats of the files in the different libraries are the same, this method is<br />
possible to carry out.<br />
Note: From a DB2 Web Query perspective, the user’s library list is determined and<br />
controlled by the system values QSYSLIBL and QUSRLIBL as well as the job description<br />
that is defined for the user profile. Any other method of setting the library list is not<br />
recognized by DB2 Web Query. For example, if you are using the initial program (specified<br />
1-106 DB2 Web Query for <strong>IBM</strong> i © Copyright <strong>IBM</strong> Corp. 2010<br />
Course materials may not be reproduced in whole or in part<br />
without the prior written permission of <strong>IBM</strong>.