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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Salesforcedevme
Contributor
Contributor

Not able to open csv file which is exported using Context filename

Hi ,

 

Im new to Talend Integration .When i export template to csv file, im not able to open the csv file .Im using filename as context variables.There is no error while running the job,it shows rows in the diagram.This happens to only few templates.Could anyone help me to resolve this issue? I have added error pics for the reference.

 

0683p000009M2S5.png0683p000009M2SA.png

Labels (3)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

look

 

data/export/xxxx

 

will work from current folder:

- when you build standalone job and run it from CMD/shell - it will Job folder + data/export/xxxx

- when you run it from studio - it will be under workspace

 

try to define path as full - starting from root /something/data/export/xxx

 

 

View solution in original post

15 Replies
manodwhb
Champion II
Champion II

@Salesforcedevme ,can you open that file in some editor like notepad++ and see ?

Salesforcedevme
Contributor
Contributor
Author

Hi Manohar,

Thanks for the quick response.

Yes its opening in notepad++. 

manodwhb
Champion II
Champion II

@Salesforcedevme ,are you able to verify the data,which you have extracted from salesforce?

vapukov
Master II
Master II

Hi,

 

first of all - test same job with a much shorter path, like

c:\temp\out.csv

 

 

Salesforcedevme
Contributor
Contributor
Author

I could see only field name when i opened with notepad.When i rename the file ,it is showing all data.

Salesforcedevme
Contributor
Contributor
Author

Hi,

Yes it is working with shorter path. Im getting issue only when i used context file name

Thanks

manodwhb
Champion II
Champion II

@Salesforcedevme ,now just to hard code path as @vapukov said or you can use context variable also try to reduce the dynamic file name length and execute the job,how was it loading and are you able to open and see the data?

manodwhb
Champion II
Champion II

@Salesforcedevme ,you need to review the context path to limit length.

vapukov
Master II
Master II

as you can see from picture - file in workspace, which is not acceptable at all

so, need to talk not about reduce context length but about using proper path (of course dynamic, but not what on picture)