IBM support team.
The main idea is that when we send backups using ET (UNLOAD) of our databases (DASHDB Cloud) to be able to obtain the generated log of how many records have been exported and this log will be stored in a local directory.
We made reference to this issue in a service ticket with the IBM support team and their response was that currently this option is not possible.
CS1869102 ( For IDB Client)
We tried the following option to save the log but it did not work.
db2 "CREATE EXTERNAL TABLE '/PATH_LOCAL/file_exported.csv' USING (DELIMITER ',' REMOTESOURCE YES CRINSTRING YES ESCAPECHAR '\' LOGDIR '/PATH_LOCAL/') AS SELECT * FROM SCHEMA.TABLE;"
|Who would benefit from this IDEA?||As a client we want to have a record of how many records are exported by each table using ET, in this way we can have more control over our backups.|
How should it work?
We believe that using the following parameter and after what is required on your side to be able to use this parameter to obtain the log in a local directory
Option : LOGDIR / ERROR_LOG
|Priority Justification||It is required to have evidence of how many records are being exported, because periodically we perform random backup restore tests and we need to know how many records were exported and in this way validate the imported records.|
|Client Name||Interamerican Development Bank|
|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|