Append FOR READ ONLY after the end of a query statement
           Note:  This option is only available for the DB2 database.
          
          Use the steps here to append FOR READ ONLY after the end of a query statement.
           Note: This is a global setting that applies to all DB2 source objects. When an object has a user-defined After End of Query Statement code, DWD will override the global setting and use the object level code instead.
          
         - On the DWD Designer, select the Data Sources tab.
 - Right-click the data source you want to modify and select Properties.
 - On the System Properties window, select the data source connection from the Extract from Data source drop-down field.
 - Click the Edit Properties button in the drop-down field.
 - On the System Connections Properties window, select FOR READ ONLY. This option is only available for DB2.
 - Click Update
 - Click OK to close the System Connections window. to save the changes. When prompted, click to confirm the changes.
 - Click OK to close the System Properties window.
 - Compile the objects under the data source.