Using Db2 Log Analysis Tool, Classic Menu, option 5 "Execute dynamic SQL in batch", we are able to map from Source Table to Target Table. But table owner and table name of source and target name must be specified at full. If we have 50 tables, where all 50 tables have owner "JOHN" and we want to convert table owner "JOHN" to table owner "BILL", we must specify all 50 tables.
A workaround is possible. We only specify 1 table, and then manually edit the "FILTER DD" job Card, where we paste the remaining 49 tables into the JCL deck.
This could be done with a REXX, reading the reports from Db2 Log Analysis Tool and creating input to the "FILTER DD" Card, by using our mapping rules.
But we generally do not want to use this kind of "exit" coding, if we are able to avoid this.
|Who would benefit from this IDEA?||Any user for Db2 Log Analysis Tool, who want to apply UNDO or REDO records into new tables. We have converted customer from CA Log Analyzer and with this tool we are able to use wildcards when mapping source tables to target tables.|
How should it work?
The conversion from source table to target table, should be done with the same principles as DB2 Administration Tool uses MASKING.
We would like to set "Table owner" for source table to "JOHN" and "Table owner" for target table to "BILL". Table name for both source and target is specified as "*". In this way, we will be able to convert table owner "JOHN" to table owner "BILL" for all 50 tables, and we do not need to specify any table name.
|Priority Justification||Every installation using IBM Log Analysis Tool|
|IBM's success depends on gathering feedback from customers like yourself. Aha Ideas Portal is the third party tool through which IBM Offering Managers gather feedback from customers such as yourself.|
|IBM is a global organization with business processes, management structures, technical systems and service provider networks that cross borders. As such, the information collected through Aha Ideas Portal (Customer Name, Customer Email Address) will be stored by them in the United States, and handled only as per IBM's instructions and policies. Your data (Name and Email Address) will NOT be shared with other IBM customers.|
|In order to safeguard your information in Aha, do not leave your workstation unattended while using this application, log off after using it, and print only if necessary. If you need to make a hardcopy, remember to pick up the print-out immediately, keep it under lock, and destroy it immediately when no longer needed.|
|NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "firstname.lastname@example.org" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions|