COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: SGD on 16 Dec 2011 12:20:36 AM

Title: Schedule report attachment should appended with execution date
Post by: SGD on 16 Dec 2011 12:20:36 AM
Hi,

I have scheduled a Report studio report which goes to recipients in an Excel 2007 format. This is weekly schedule report which executes every Monday and it works as expected.

Now, my client wants to see execution date appended after report attachment name. e.g. 'Train Consist AoA Weekly Report_19122011'

I have found one solution in IBM site (https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14459475&#14459475) which appends execution date for 'Mail Subject' & 'Mail Body' part but not for 'mail attachment'.

Could anyone suggest how should I achieve this requirement?
Title: Re: Schedule report attachment should appended with execution date
Post by: SGD on 20 Dec 2011 09:35:34 PM

Any solution? I am still struggling to achieve this functionality.  ???
Title: Re: Schedule report attachment should appended with execution date
Post by: SGD on 22 Dec 2011 12:24:34 AM

Just pushing this post on top for Gurus attention...
Title: Re: Schedule report attachment should appended with execution date
Post by: CognosPaul on 22 Dec 2011 01:20:46 AM
From what I've heard, this is possible with the SDK, but I lack the experience to give an example.

Through vanilla Cognos, your options are somewhat limited. You can schedule reports to save to the file system with date appended to the file. You could also use Event Studio to send the report, and put the date in the subject of the email.
Title: Re: Schedule report attachment should appended with execution date
Post by: Pranav on 05 Jan 2012 10:16:47 PM
I am also looking for answer to same question..i need to send report output to a site  ( i know we can get date time stamp by writting report to file location)
Title: Re: Schedule report attachment should appended with execution date
Post by: CognosPaul on 06 Jan 2012 03:21:47 AM
Another possible solution - you can use Event Studio, with the event as 1=1 or something similar, as a scheduling tool to append the date to the subject line of the email. It doesn't alter the file name, but it gets a result closer to what you need.