Solved

multi-select for stored procs in cognos8

Posted on 2008-10-31
4
1,291 Views
Last Modified: 2013-12-07
A stored procedure with input parameters linked to prompts has been succesfully created in Framework Manager and Report Studio.
In Report Studio however I'd like to use for some prompts a multi-select option.
I have changed the preference of the prompt to multi-select but it is not possible to select more than 1 in the LOV.
Is this possible or is the delimiter default ; (semicolon) and causing a problem in the stored procedure? The IN list should use , (comma).
Is there a workaround?
0
Comment
Question by:fiersken
  • 3
4 Comments
 

Author Comment

by:fiersken
ID: 22865094
This is very important for me to be able to use the Stored Procedures in cognos 8, reportstudio, so I'd appreciate the attention to this issue.
0
 
LVL 12

Accepted Solution

by:
RWrigley earned 375 total points
ID: 22869054
Product limitation...Cognos can only pass single values to a stored procedure.  However, there are some workarounds.  Check the following KB for an example:

http://support.cognos.com/knowledgebase/googlesearch?load_kb_document=1&dr=kb1&uniqueid=140460
0
 

Author Comment

by:fiersken
ID: 22884441
Thanks for the link to the KB, this solution for cognos v8.3 works. I tried it with 1 multi-select prompt and the InList is sent back.
Additional questions:
1/ the code uses now node.getAttribute('type') == 'checkbox'. How to change the java script for a List Box?
2/ My report has many input parameters that need to have the multi-select. How to change the java script in the html item to embed many variables? Can I use only one function assignParamValue() where many var prompt1, var prompt2,... are being declared and called?


Multi-select-and-stored-procedur.doc
0
 

Author Closing Comment

by:fiersken
ID: 31512094
Links to the KB are useful, but I still need to contact someone to open them as I don't have any account on the cognos DB. Is it possible to add a file in the future?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to recover a database from a user managed backup

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question