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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sunny3
Contributor
Contributor

call the date specified in tsetglobalmap component

hi,

 i have a job  where i have set the  date in tsetglobalmap component to the current date.

"date"=TalendDate.formatDate("yyyy-MM-dd hh.mm.ss",TalendDate.getCurrentDate())

 

i  want to create a file in the subjob with the filename " file1+date from tsetglobal "

tfileoutputdelimited: "C:/Users/Desktop/folder/"+((String)globalMap.get("date"))+"_file.json"

 

it is creating a file  with name "null_file.json".

 

do i need to  prefix with   todate .((String)globalMap.get("date"))??

 

  can anybody help me with above scenario?

Labels (3)
0 Replies