Batch Job - File Reading
Posted: February 10th, 2022, 10:27 am
1. I have a batch job that use a file reading service.
2. I have the file stored on the app server.
ISSUE - When I run the batch job, it looks for the file on the batch job server instead of the app server so it doesn't actually find the file. When I run the batch job in step on the canvas of the batch job, it does find the file because it's looking to the app server correctly.
I have tried this with ReadCSV and ReadDelimitedFile.
ANSWER - The fix for this is that I just store the file on the web server and it always looks to the web sever for the file.
QUESTION - Should these services be able to use files from the app server when run in a batch job like this?
2. I have the file stored on the app server.
ISSUE - When I run the batch job, it looks for the file on the batch job server instead of the app server so it doesn't actually find the file. When I run the batch job in step on the canvas of the batch job, it does find the file because it's looking to the app server correctly.
I have tried this with ReadCSV and ReadDelimitedFile.
ANSWER - The fix for this is that I just store the file on the web server and it always looks to the web sever for the file.
QUESTION - Should these services be able to use files from the app server when run in a batch job like this?