COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: erjorgea on 11 Jun 2019 04:37:19 AM

Title: Execute queries in order
Post by: erjorgea on 11 Jun 2019 04:37:19 AM
Hi,

I would like to execute in order same queries that I used in a reports. First of all I would like to execute an stored procedure that change my date in the database,  after the stored procedured is executed correctly I want rest of queries run, and finally when all of these queries run with the data changed, I would like to execute another procedure to change the data to actual date.

Has anyone any idea how I can do that?

Title: Re: Execute queries in order
Post by: MFGF on 11 Jun 2019 07:42:58 AM
Quote from: erjorgea on 11 Jun 2019 04:37:19 AM
Hi,

I would like to execute in order same queries that I used in a reports. First of all I would like to execute an stored procedure that change my date in the database,  after the stored procedured is executed correctly I want rest of queries run, and finally when all of these queries run with the data changed, I would like to execute another procedure to change the data to actual date.

Has anyone any idea how I can do that?

This sounds to me like something you'd need to use Event Studio for?

Cheers!

MF.
Title: Re: Execute queries in order
Post by: erjorgea on 11 Jun 2019 09:51:21 AM
Thanx, I did not know Event Studio exists, after trying multiple attemps, finally I can change the date before running the report, and then after send the report in email I change again the date to actual date.

Thx for your support