<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Anonymous Block - Validating Parameters</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6529381" />
  <subtitle>Anonymous Block - Validating Parameters</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6529381</id>
  <updated>2013-05-20T16:07:06Z</updated>
  <dc:date>2013-05-20T16:07:06Z</dc:date>
  <entry>
    <title>RE: Anonymous Block - Validating Parameters</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11885081" />
    <author>
      <name>VARUN Gaur</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11885081</id>
    <updated>2013-02-13T11:52:13Z</updated>
    <published>2013-02-13T11:52:13Z</published>
    <summary type="html">[quote=GREG GREBIN]Is there a guide document (or best practice) example for the syntax used in Anonymous Block reports? I'm trying to declare a couple variables and then call a stored procedure. I can't get passed the "Create Parameters" error message "The parameters creation failed. Please try again".  Is there a log that shows why the parameter creation failied?[/quote]
Hi Just declare like this in Anonymous Block 
CTHH.CallTypeID IN (:Call_Type) 
or 
@sDateRange AS CHAR(1) 
SET @sDateRange = :daterange 
Use either  Anonymous Block in Query Type while designing
or Use Store Proc.
 </summary>
    <dc:creator>VARUN Gaur</dc:creator>
    <dc:date>2013-02-13T11:52:13Z</dc:date>
  </entry>
  <entry>
    <title>Anonymous Block - Validating Parameters</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6529380" />
    <author>
      <name>GREG GREBIN</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6529380</id>
    <updated>2012-09-19T20:30:37Z</updated>
    <published>2012-09-19T20:30:37Z</published>
    <summary type="html">Is there a guide document (or best practice) example for the syntax used in Anonymous Block reports? I'm trying to declare a couple variables and then call a stored procedure. I can't get passed the "Create Parameters" error message "The parameters creation failed. Please try again".  Is there a log that shows why the parameter creation failied?</summary>
    <dc:creator>GREG GREBIN</dc:creator>
    <dc:date>2012-09-19T20:30:37Z</dc:date>
  </entry>
</feed>

