Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Aug 1, 2023 4:03:49 AM
May 18, 2023 9:10:59 AM
When using a File as a target in a Qlik Replicate task, the Full Load data are written to CSV or JSON files (depending on the endpoint settings). The Full Load Files are named using incremental counters e.g. LOAD00000001.csv, LOAD00000002.csv. This is the default behavior.
In some scenarios, you may want to use the table name as the file name rather than LOAD########.
This article describes how to rename the output files from LOAD######## to <tableName>######## format while Qlik Replicate running on a Windows platform.
For Qlik Replicate running on a Linux platform, see Qlik Replicate and File target: How to rename output files LOAD######## to table name format on Linu....
The detailed steps:
off
for %%a in (%1) do set "fn=%%~na"
set sn=%fn:~4,8%
rename %1 %2_%3__%sn%.csv
General
Target folder: C:\temp\FileTarget
Maximum file size(KB): 10240 (default 1000000)
Advanced
Post-process files
Command name: myrename2.bat
Working directory: leave blank
Parameters: ${FILENAME} ${TABLE_OWNER} ${TABLE_NAME}
Qlik Replicate
File target
Qlik Replicate and File target: How to rename output files LOAD######## to table name format on Linu...
Qlik Replicate and ADSL target: How to rename output files LOAD######## to table name format (Replic...
Support cases #00080300
@john_wang , thanks for this! I am going to give it a shot today.