If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Urgent : How to execute Sample SDK programs using Cognos8?

Started by parijoshi, 19 Jan 2009 04:13:53 AM

Previous topic - Next topic

parijoshi

Hello All,
I am brand new entry to SDK and had done installation as per the user guide.But i am not finding a way to execute the sample programs given in VB or JAVA.
Can anyone please let me know how we can execute the sample programs on Cognos 8 BI.Like what are the steps involved or is there any special commands or settings we need to do for executing these programs?
Also is there any way we can execute in the same manner a macro from Cognos 7.3?

Please treat this as urgent.
Thank you all in Advance for your quick help.

Regards,
Parikshit

cogcom

Hi,
Once you have your installation in place.  Say you want to execute the sample 'runreport' located at
C:\Program Files\cognos\c8\sdk\java.  Get in to the directory 'runreport' edit build.bat by entering your right path for JAVA_HOME and CRN_HOME eg: JAVA_HOME=c:/j2sdk1.4.2_17 and CRN_HOME=C:/Program Files/cognos/c8.

Once you do that save it. Similarly edit run.bat file with correct JAVA_HOME and CRN_HOME and save it.

Execute build.bat (by double clicking on it) this will compile your runreport.java then execute run.bat.

Good Luck.