IBM FileNet: Bulk Processing using JavaScript The IBM FileNet Content Platform Engine server uses the Mozilla Rhino scripting engine to execute the JavaScript. Prerequisites for running the JavaScript examples: Content Platform Engine 5.2.0 or later Downloading document content This JavaScript example downloads the document content to a specified directory. Because the JavaScript code is executed on a Content Platform Engine server, the content download directory that you specify in the code must exists on the CPE server and should have write permissions Procedure Open an object store and create an object store search. On the SQL view tab, enter the following query: SELECT TOP 100 This FROM Document Select Enable bulk action on the bulk action tab. In the Script section, click Run script . Copy the following JavaScript code and paste it into the Script field: im...
https://www.ibm.com/developerworks/data/library/techarticle/0211yip/0211yip3.html One of the most important database design decisions you will make – for DB2 or any relational DBMS – is to use the proper data types for your columns when building tables. The data type that you choose for each column should be the one that most closely matches the domain of values that the column can be used to store. Indeed, perhaps the most important design choice is to actually use the date/time data types that are available to you; for DB2 this is DATE, TIME, and TIMESTAMP. The ability to store dates as a native DB2 data type is a great advantage. If you need to store date information in your DB2 tables you should favor using the DATE data type instead of forcing a date into some other data type (such as CHAR or DECIMAL). Many a database design has been ruined (in my opinion) because somebody decided to store date data in a CHAR column. When DB2 knows that the data should be a DATE or a TIM...
Comments