Hi,
is it possible to write a code like this,
write a java code that calls Cognos and from there using a template we have to run a report.
if it is possible tell me how to do it.
I think it is possible using the Java SDK for Cognos. Please refer the SDK section for more details.
EDIT: Oh sorry, you have already posted there it seems...