Or else you can Create program object to delete the files.
Created a file based event A which is triggered up on the existence of the text file.
Created a program object which runs the batch file located on local Drive
(This batch file deletes the file placed by ETL)
Scheduled the report with event wait as “A” and Event to be triggered on completion as B (B is a scheduled event created for success or failure)
Scheduled the program object to wait for the Scheduled Event “B”
This way whenever the text file appears in the said location, Event A is fired and report schedule starts and up on completion of the report schedule(Success or failure) it fires a scheduled event B which will Schedule Program object which deletes the text file.
I have one question regarding this Event scheduling. Is Event server works for only text file or Any file in network drive, later kicks the File Event.
Hi, The file type can be anything.
Event Server just monitors the file in directory (Can be Network Drive) that you specified. When the appropriate file appears in the monitored directory, the Event Server triggers your file-based event. Sometimes the events will not trigger when the monitored file appears on a network drive.
This may be because the server is running as the default Local System ccount. To resolve this change the logon information to a domain account that has read access to the designated file share.
Hi,
No, i haven’t seen any feature to trigger based on table read.
But i have come across an third party article which does talk about this. Document Link
I have few questions regarding Event file scheduling.
Suppose i schedule a report with recurrence as every week on Tue and Sun with Events.
Start from Aug 28 2009 to Aug 27 2019.
So my event schedule look for a trigger file on Tue or Sun like 00:01 AM to 11:59PM. Am i right?
If it is wrong how long will my schedule monitor for file? what is the time frame.
How can i control the report run only once.
Suppose if informatica push a file twice on the same day Tue or Sun between 00:01AM to 11:59PM. In this case my report runs twice, am i correct?
If it is the case, how could i stop second run from BO side?
From Informatica we can ask them create only once.
Yes, if you schedule time actually starts at 00:01AM. But the file needs to be created after this time. So if the file is already in place and the schedule starts then it doesnt see the file as a new file and will therefore ignore it. Not just overwrite it - it has to be gone for the timeinterval as specified in the CMC for the Event Server.
Not if you schedule the report to run daily on Tue and Sun. Because what you are really saying is to run the report on Tue and Sun whenever the file event is set for the first time. It will ignore subsequent file creations on those days.
I have implemented my solution in exact same way. However, my bat file does not run when triggered by scheduled event.
Moreso, when I try to run the batch file (which is a Program object) in CMC → Objects > filename → Schedule → Run now, it gives an error “The Program Object reported an error while running, but no error code was provided.”