on 12-15-2014 2:12 PM
Hi All,
I am creating a very basic job which reads excel as an input and produces flat fle as output.
The excel is on my local machine.
but when I execute the job, I get below error.
12448 1620 FIL-080101 15/12/2014 14:05:15 Cannot open file <//Client/C$/311649/work/MLE - Demand Forecasting/sample data files/ProductService - ProductGroup.xls>. Check
Please can someone help what is wrong with my job.
Regards
Swati
As you say, the Excel file is on your local machine. DS runs on a server. If the server has no access to your local drive, and it normally hasn't, you'll have to copy your file.
Assuming you run DS on Windows, you basically have 2 options:
1/. Copy the file to a disk on the DS server
2/. Move your file to a share
When running DS on Linux, you will only have option 1.
You'll have to change the access path of the Excel in the data flow(s) where it is used to make sure DS can find it the new location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kavya,
You need to provide the path in your file format relative to the job server and not the path being referred to from your local machine. If your file is being placed on a shared drive that the job server has access to, you can provide the IP address followed by the actual folder path.
E.g: 192.XX.XX.XX\SharedDrive\
-Chaitanya
Hi all,
with help of Dirk Venken orginal solution, I could create a file on job server successfully. Thanks Dirk. Now I am facing another problem
I want to create a file without any delimiters but in file format , default delimiter is comma.
how can I create a file with no delimiters
Swati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Dirk,
I doubt if we are truncating couple of fields if we go with fixed width , when the length of total record is different, which would be a data loss. and we cannot make changes to the file format structure every time when there is a change in the length of the source data. Please advice.
Santhosh
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.