Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
abhi90
Creator II
Creator II

Archive FileName with Sysdate

Hi All,

 

I have a directory where n number of File is present. Now I want to to archive all of them in a Single Archive Zip File in format like this Sysdate_SomethingName.zip. I am trying with below in Archive FileName Path but getting compilation Error:

 

context.ROOT_SRCFILEDIR+"J3/DIGITAL/SPEND"+"/"+J3_DIGITAL_ACTUAL_SPEND_routines.TalendDate.getDate("yyyyMMddHHmmss").zip. Can anyone please help

@rhall@TRF@vboppudi@manodwhb

Labels (2)
13 Replies
abhi90
Creator II
Creator II
Author

FileName is

context.ROOT_SRCFILEDIR+"+"J3/DIGITAL/SPEND"+"/"+TalendDate.formatDate("yyyyMMdd_HHmmss",TalendDate.getCurrentDate())+"_J3_DIGITAL_SPEND.zip" @TRF

abhi90
Creator II
Creator II
Author

Sorry this One

context.ROOT_SRCFILEDIR+"J3/DIGITAL/SPEND"+"/"+TalendDate.formatDate("yyyyMMdd_HHmmss",TalendDate.getCurrentDate())+"_J3_DIGITAL_SPEND.zip" @TRF

TRF
Champion II
Champion II

Should work as soon as context.ROOT_SRCFILEDIR is known.

TRF
Champion II
Champion II

Which compilation error?