Question & Answer
Question
What does the parameter "withCOMPLETEfile" do in the grdapi command "datamart_update_copy_file_info"? Here is an example: grdapi datamart_update_copy_file_info destinationHost="Machine_Host" destinationPassword="********" destinationPath="/where/to/store/" destinationUser="user" Name="Export:Sytem Info " transferMethod="SCP" withCOMPLETEfile=0. The default is withCOMPLETEfile=1 (true).
Cause
This is not documented in the KnowledgeCenter or in the grdapi help.
Answer
1. When withCOMPLETEfile=1, two files are sent, one with data and another empty file with the word COMPLETE in it. The second file is a marker that the result is complete. The file name is comprised of <global prefix ID>_<appliance name>_<datamart name>_<timestamp>.gz, e.g.: 1234567890123456789_vmappibm_EXP_SYSTEM_INFO_20170508150000.gz
2. When withCOMPLETEfile=0 (or false), the marker file is not sent and the data file is prefixed with "DMv2_". For example: DMv2_vmappibm_EXP_SYSTEM_INFO_20170508150000.gz
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22003881