Hello Team,
We are able to call the stored procedure using TI process and it will return the value.
It's possible to load the return value into TM1 cube using TI process.
If 'Yes' can you please let me know process for loading.
Regards
Sreenivas.
Stored Procedure in TM1 10.2.0
-
- Posts: 8
- Joined: Thu Sep 16, 2010 9:02 am
- OLAP Product: IBM Cognos TM1
- Version: 9.5
- Excel Version: 2003
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Stored Procedure in TM1 10.2.0
If you are using the TI wizard and your stored procedure call is the "Data Source" then the wizard will guide you through it. If you are writing custom code then use the CellPutS or CellPutN functions in TI. If you don't know how to do that I suggest you take some training or, at a minimum, read the TM1 documentation about TI's.Chittemreddy wrote:Hello Team,
We are able to call the stored procedure using TI process and it will return the value.
It's possible to load the return value into TM1 cube using TI process.
If 'Yes' can you please let me know process for loading.
Regards
Sreenivas.
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: Stored Procedure in TM1 10.2.0
Is it oracle stored procedure you are talking about?
-
- Posts: 8
- Joined: Thu Sep 16, 2010 9:02 am
- OLAP Product: IBM Cognos TM1
- Version: 9.5
- Excel Version: 2003
Re: Stored Procedure in TM1 10.2.0
Hello.
Thanks for reply.
We are using the teradata stored procedure.
Regards,
Sreenivas
Thanks for reply.
We are using the teradata stored procedure.
Regards,
Sreenivas
-
- Posts: 8
- Joined: Thu Sep 16, 2010 9:02 am
- OLAP Product: IBM Cognos TM1
- Version: 9.5
- Excel Version: 2003
Re: Stored Procedure in TM1 10.2.0
Hello Tomok,
If I use the data source as Flat File or ODBC or TM1 Cube View and we will load the data using CellPutS or CellPutN functions.
We are using the below code in Prolog to call the stored procedure and get the return value based on stored procedure.
ODBCOpen('Accounting', 'Jdoe', 'Bstone');
ODBCOutput('Accounting', '{call StoredProcedureName}');
ODBCClose('Accounting');
We need to load the return value in TM1 cube. How to use the CellPutS or CellPutN functions here.
If have some sample code for same it will be very helpful.
Regards
Sreenivas.
If I use the data source as Flat File or ODBC or TM1 Cube View and we will load the data using CellPutS or CellPutN functions.
We are using the below code in Prolog to call the stored procedure and get the return value based on stored procedure.
ODBCOpen('Accounting', 'Jdoe', 'Bstone');
ODBCOutput('Accounting', '{call StoredProcedureName}');
ODBCClose('Accounting');
We need to load the return value in TM1 cube. How to use the CellPutS or CellPutN functions here.
If have some sample code for same it will be very helpful.
Regards
Sreenivas.
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Stored Procedure in TM1 10.2.0
That won't work.
Put the call to the SP into the query box. You will then get the output in columnar format into TI variables.
Put the call to the SP into the query box. You will then get the output in columnar format into TI variables.