COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: sunny bachan prasad on 09 Mar 2017 05:44:43 AM

Title: Cognos.ini file
Post by: sunny bachan prasad on 09 Mar 2017 05:44:43 AM
Hi,
Can anyone share his/her experience on cognos.ini file. I just installed cognos 10.2.2 on window 2012 R2 with default content store but didnot able to find this file.Thanks in advance.
Title: Re: Cognos.ini file
Post by: MFGF on 09 Mar 2017 06:26:34 AM
Quote from: sunny bachan prasad on 09 Mar 2017 05:44:43 AM
Hi,
Can anyone share his/her experience on cognos.ini file. I just installed cognos 10.2.2 on window 2012 R2 with default content store but didnot able to find this file.Thanks in advance.

Hi,

Cognos.ini is (was) part of Cognos 7 (Impromptu, PowerPlay etc) and doesn't exist at all in Cognos 8/10/11. If you (for example) want to continue to use IQDs in Cognos 10, instead of the data source connections being defined in cognos.ini, they are now contained in cs7g.ini...

Cheers!

MF.
Title: Re: Cognos.ini file
Post by: AnalyticsWithJay on 09 Mar 2017 06:28:13 AM
This sounds like series 7 to me... What are you trying to accomplish?
Title: Re: Cognos.ini file
Post by: sunny bachan prasad on 12 Apr 2017 07:56:01 AM
Quote from: MFGF on 09 Mar 2017 06:26:34 AM
Hi,

Cognos.ini is (was) part of Cognos 7 (Impromptu, PowerPlay etc) and doesn't exist at all in Cognos 8/10/11. If you (for example) want to continue to use IQDs in Cognos 10, instead of the data source connections being defined in cognos.ini, they are now contained in cs7g.ini...

Cheers!

MF.

Thanks for your time MFGF.
Yes you are correct and now i am able to connect to IQD file which i migrated from V7. But some how i forget to do the same in Production environment and i can see that i am able to connect to the same IQD file without defining the connection information in cs7g.ini file.So just want to confirm is it not compulsory to define the data source information in this file?

Thanks in Advance.
Title: Re: Cognos.ini file
Post by: sunny bachan prasad on 12 Apr 2017 07:59:44 AM
Quote from: CognoidJay on 09 Mar 2017 06:28:13 AM
This sounds like series 7 to me... What are you trying to accomplish?

Hi Jay,
I am migrating the IQD file from v7 to 10.2.2 and i come to know that i have to define data source information in cognos.ini file to connect to IQD in v10. I tried to search it in 10 but is not available so i posted this question.

Any way thanks for your time. 
Title: Re: Cognos.ini file
Post by: MFGF on 12 Apr 2017 09:41:47 AM
Quote from: sunny bachan prasad on 12 Apr 2017 07:56:01 AM
Thanks for your time MFGF.
Yes you are correct and now i am able to connect to IQD file which i migrated from V7. But some how i forget to do the same in Production environment and i can see that i am able to connect to the same IQD file without defining the connection information in cs7g.ini file.So just want to confirm is it not compulsory to define the data source information in this file?

Thanks in Advance.

If you are using IQDs, the data source connection needs to be defined in cs7g.ini, otherwise there would be no way to reference the queries back to a data source.

MF.
Title: Re: Cognos.ini file
Post by: sunny bachan prasad on 13 Apr 2017 02:46:32 AM
Quote from: MFGF on 12 Apr 2017 09:41:47 AM
If you are using IQDs, the data source connection needs to be defined in cs7g.ini, otherwise there would be no way to reference the queries back to a data source.

MF.

Once again thanks for the time MFGF and yes you are correct it will not work if we will not define datasource connection in cg7.ini file.I found one new thing that if we are opening PYJ file which we migrated from development environment in production then cube is building without defining the same but in case i am trying to the MDL file it is asking to define the data source information in same . Dont know the exact reason but may be PYJ file is the compiled version but MDL is not. Can you please share your experience on this?

Thanks,
Sunny



Thanks,
Sunny
Title: Re: Cognos.ini file
Post by: MFGF on 13 Apr 2017 02:52:49 AM
Quote from: sunny bachan prasad on 13 Apr 2017 02:46:32 AM
Once again thanks for the time MFGF and yes you are correct it will not work if we will not define datasource connection in cg7.ini file.I found one new thing that if we are opening PYJ file which we migrated from development environment in production then cube is building without defining the same but in case i am trying to the MDL file it is asking to define the data source information in same . Dont know the exact reason but may be PYJ file is the compiled version but MDL is not. Can you please share your experience on this?

Thanks,
Sunny



Thanks,
Sunny

Yep - pyj versions are compiled models, and mdl versions are not - you can open an mdl file with a text editor.

Cheers!

MF.
Title: Re: Cognos.ini file
Post by: sunny bachan prasad on 13 Apr 2017 05:55:48 AM
Quote from: MFGF on 13 Apr 2017 02:52:49 AM
Yep - pyj versions are compiled models, and mdl versions are not - you can open an mdl file with a text editor.

Cheers!

MF.

Thanks MFGF.