Using a Cognos Script (Cognos EP Series 7), is there a way to retrieve information about the schedule that invoked the script?
The script I am using, is being invoked by a schedule in Cognos Scheduler. I would like the script to be able to retrieve the path and filename that the report has been exported to.
I see where I can search through the schedule collection, but that would reqiure the script to know the name of the schedule that invoked the script.
The goal of my script is be able to be run by multiple scheduled reports and to email the exported file. To do that I need to be able to capture the exported file name from the schedule that invoked the script. I have all the dynamic look ups working on the exported file name and the email portion working. I just need to be able to capture the export file name from the schedule that invoked the script.
Any help would be appreciated. Note, I just started working with Cognos Scripts 2 days ago, so I am far from being an exert.
Thank you in advance,
Pat B
The script I am using, is being invoked by a schedule in Cognos Scheduler. I would like the script to be able to retrieve the path and filename that the report has been exported to.
I see where I can search through the schedule collection, but that would reqiure the script to know the name of the schedule that invoked the script.
The goal of my script is be able to be run by multiple scheduled reports and to email the exported file. To do that I need to be able to capture the exported file name from the schedule that invoked the script. I have all the dynamic look ups working on the exported file name and the email portion working. I just need to be able to capture the export file name from the schedule that invoked the script.
Any help would be appreciated. Note, I just started working with Cognos Scripts 2 days ago, so I am far from being an exert.
Thank you in advance,
Pat B