Batch Script design help - need advice
Posted: 12 Oct 2017 01:42
Good Morning Everyone -
I just wanted to pop in to get your opinion on a batch script design and what you think would be best.
I'm not sure how familiar you are with Oracle products, but there is a utility (FR batch) that comes with the product that allows Financial Report bursting based on parameters set in the application. However, this particular client also receives a Financial Report from another non-Oracle system. Therefore, I need to create a batch script that search for a particular report, and then emails that report to a person or persons.
Reports are in *.pdf.
For instance : GL_Report_001.pdf needs to be picked up and emailed to StoreManager001@client.com and so on and so forth.
Does anyone have an recommendation on how to set up a batch script efficiently for this? It seems as though I'll need to set up many if statements. Or perhaps I can manage the Store and email specifics in a text file and then read that into the batch via loop?
I'm not sure, so I was hoping to get some advice from you guys.
Thank you!
I just wanted to pop in to get your opinion on a batch script design and what you think would be best.
I'm not sure how familiar you are with Oracle products, but there is a utility (FR batch) that comes with the product that allows Financial Report bursting based on parameters set in the application. However, this particular client also receives a Financial Report from another non-Oracle system. Therefore, I need to create a batch script that search for a particular report, and then emails that report to a person or persons.
Reports are in *.pdf.
For instance : GL_Report_001.pdf needs to be picked up and emailed to StoreManager001@client.com and so on and so forth.
Does anyone have an recommendation on how to set up a batch script efficiently for this? It seems as though I'll need to set up many if statements. Or perhaps I can manage the Store and email specifics in a text file and then read that into the batch via loop?
I'm not sure, so I was hoping to get some advice from you guys.
Thank you!