Cfprocparam type="OUT" brings back empty value

ISSUE OBJECTIVE:
After conversion from CF 5 to CFMX 7, <cfprocparam
type="OUT" brings back empty value
OUR STORED PROC:
<cfstoredproc procedure="sp_rass_user_guidance"
datasource="#rass_data_source#" returncode="YES">
<cfprocparam type="IN" dbvarname="@status" value="2"
cfsqltype="CF_SQL_INTEGER">
<cfprocparam type="IN" dbvarname="@addname"
value="#form.newVersionName#" cfsqltype="CF_SQL_CHAR">
<cfprocparam type="IN" dbvarname="@userid"
value="#client.userid#" cfsqltype="CF_SQL_CHAR">
<cfprocparam type="OUT" dbvarname="@rc" variable="rc"
cfsqltype="CF_SQL_SMALLINT">
<cfprocparam type="OUT" dbvarname="@reason"
variable="reason" cfsqltype="CF_SQL_VARCHAR">
<cfprocresult name="retrieveVersions">
</cfstoredproc>
In SQL query anylizer this stored proc brings back some
values for variables rc and reason, but empty values on CF pages.
Cf gurus please help

Something sounds fishy. I'm not sure what more you could do
at the database, since PL/SQL VARCHAR2 variables have a max length
of 32,767 (as opposed to the VARCHAR2 data type limit of 4000
bytes). Should let you return more than 900 bytes! Perhaps you may
need to look into your kernal parameters, or Oracle parameters like
sga_max_size, etc.
You say that "Long Buffer Varchar is checked and set to
max"... what value? Also, what version of ColdFusion are you using,
as I can not "check" Long Text Buffer (chr) but only supply a
value, or I can check CLOB (or BLOB), where checking CLOB will
override the Long Text Buffer (chr) value.
Phil

Similar Messages

  • cfprocparam type="out" cfsqltype="cf_sql_varchar"

    Anyone know what is the MAX characters that an out
    cf_sql_varchar can hold?
    <cfstoredproc procedure="somepackage.upd_something"
    datasource="somedatasource">
    <cfprocparam type="in"....>
    <cfprocparam type="out' cfsqltype="cf_sql_varchar" ...>
    </cfstoredproc>

    Something sounds fishy. I'm not sure what more you could do
    at the database, since PL/SQL VARCHAR2 variables have a max length
    of 32,767 (as opposed to the VARCHAR2 data type limit of 4000
    bytes). Should let you return more than 900 bytes! Perhaps you may
    need to look into your kernal parameters, or Oracle parameters like
    sga_max_size, etc.
    You say that "Long Buffer Varchar is checked and set to
    max"... what value? Also, what version of ColdFusion are you using,
    as I can not "check" Long Text Buffer (chr) but only supply a
    value, or I can check CLOB (or BLOB), where checking CLOB will
    override the Long Text Buffer (chr) value.
    Phil

  • Query against materialized view from stored procedure brings back empty row

    I have a stored procedure that runs a query against a materialized view. When I run the query outside the SP it works just fine. When I change the MV to a table name, the SP works. When I change it back to the MV i get an empty row. Any ideas? The code is below:
    PROCEDURE getAuth     (p_naid        IN  NUMBER,
                             p_scope       IN VARCHAR2,
                             o_xml_data    OUT SYS_REFCURSOR
                             ) IS
      BEGIN
        IF p_scope = 'Approved' THEN
          OPEN o_xml_data FOR
            SELECT naid,
                   p_naid,
                   auth_type,
                   xml_data
            FROM some_mv
            WHERE naid = p_naid;   
          RETURN;
          CLOSE o_xml_data;
    ... the rest of the procedure ...

    does procedure contain EXCEPTION handler?
    if so, then remove, delete & eliminate EXCEPTION handler (at least during testing & debugging)

  • IOS 5.1 audio drop outs - bring back my music!

    I was in the car listening to iTunes via Bluetooth and later via an iPhone dock connector to stereo cable.  On both occasions iTunes also dropped all audio the first time another app made any noise.  For example, I'm listening to music and then my GPS app tells me the next turn, as soon as she finishes talking the music audio drops out. The next time she tells me to turn I hear my music playing in the background, but it drops as soon as she stops speaking again.  If I turn off Bluetooth, then force a connection back to my stereo the music works until another sound happens, even the beep of a new email will cause the audio to be lost.
    As I sit here and type this I could hear the clatter of the keys, until a moment ago when I received an email (and got the email sound), now the keyboard is silent.
    I just got another email (c'mon people, it's 6am on a Saturday!) and the keyboard sounds are now back.
    My wake up alarm just sounded and my keyboard audio is gone again.
    Didn't notice this until the iOS 5.1 update.  It definitely did not occur previously, as I used my iPhone for music driving cross country the week prior to the update.
    Thanks,
    Sean

    Where's the backup of your laptop from before it crashed?
    http://support.apple.com/kb/HT2519

  • Bringing back transform value inputs in Adobe After Effects?

    Last night I opened up After Effects CS4 to rotate and scale an image. But when I click on the layer and twirl down the Transform tab, the yellow numbers that often are on the right side of the values are missing! And I don't know how to get the back.
    So if this has happened to anyone before could you please tell me how to get the yellow value input numbers to come back? I looked through preferences to see if there is a way to reset all of AE's settings but I can't find anything that looks helpful.
    Please help!
    PS. These inputs I think are also known as the X and Y value.  I can still manipulate them if I, for example, right click on "rotation" and select 'edit value' but this is slow and time consuming and disallows me the ability to manipulate values on multiple layers.  I need those yellow numbers back.

    It's likely that you unknowingly hit the "F4" key, and swapped the "Switches" panel, for the "Modes" panel.
    Try hitting F4 again to toggle back to the switches panel.
    If that doesn't work, right-click on the panel title bar area:
    And, in the Columns fly-out, make sure Switches is checked on:

  • Why does SQL bring back all values in a single condition quicker?

    Hi All,
    I've stumbled across an interesting yet frustrating problem with one of our Discoverer Reports. The problem unfortunately is related to performance, which can be a never-ending struggle, as we all know.
    Scenario:
    We have a report that contains multiple outer joins that retrieves information from other sub ledgers. The type of report is tabular and it has a single page item called period name. A parameter has been setup on the period name column, which allows users to specify which period they want to report on. This is a real time report transaction report.
    Problem:
    The report takes various times to run depending on the amount of periods selected via the parameters. Timings are shown below –
    All Periods                         –  2 min 22 sec     (36 Periods selected – 7 have data)
    Apr                              -  0 min 43 sec           (01 Periods)
    Apr + May                         -  1 min 06 sec      (02 Periods)
    Apr + May + Jun                         -  1 min 36 sec      (03 Periods)
    Apr + May + Jun + Jul                     -  2 min 29 sec      (04 Periods)
    Apr + May + Jun + Jul + Aug               -  3 min 15 sec      (05 Periods)
    Question:
    I’m finding it very hard to understand why the time taken to run the report for 5 periods IS NOT quicker than running the report for all periods because the condition/where clause would have been refined?
    I can confirm that the Period column is indexed. I’m not going to post the execution plans, as each are 117 rows long. I’m rather hoping some of you might have experienced something similar, and therefore able to point me in the right direction.
    Thanks,
    Lance

    Hi Rod,
    Looking at the SQL generated in Discoverer this is what I get for All Periods:
    Where ‘…….’
    AND (o227124.i227127 IN ('MAR-07','FEB-07','JAN-07','DEC-06','NOV-06','OCT-06','SEP-06','AUG-06','JUL-06','JUN-06','MAY-06','APR-06','MAR-06','FEB-06','JAN-06','DEC-05','NOV-05','OCT-05','SEP-05','AUG-05','JUL-05','JUN-05','MAY-05','APR-05','MAR-05','FEB-05','JAN-05','DEC-04','NOV-04','OCT-04','SEP-04','AUG-04','JUL-04','JUN-04','MAY-04','APR-04','MAR-04','FEB-04','JAN-04','DEC-03','NOV-03','OCT-03','SEP-03','AUG-03','JUL-03','JUN-03','MAY-03','APR-03','MAR-03','FEB-03','JAN-03','DEC-02','NOV-02','OCT-02','SEP-02','AUG-02','JUL-02','JUN-02','MAY-02','APR-02','MAR-02'))
    Statistics For All Periods
    351 recursive calls
    0 db block gets
         32301 consistent gets
    61 physical reads
    0 redo size
    500 bytes sent via SQL*Net to client
    13147 bytes received via SQL*Net from client
    1 SQL*Net roundtrips to/from client
    6 sorts (memory)
    0 sorts (disk)
    0 rows processed
    And this is what I get for 6 Periods
    AND (o227124.i227127 IN ('AUG-06','SEP-06','JUL-06','JUN-06','MAY-06','APR-06'))
    Statistics For 6 Periods
    351 recursive calls
    0 db block gets
    32301 consistent gets
    7 physical reads
    0 redo size
    509 bytes sent via SQL*Net to client
    11736 bytes received via SQL*Net from client
    1 SQL*Net roundtrips to/from client
    6 sorts (memory)
    0 sorts (disk)
    0 rows processed
    Looking at the statistics the ‘All Periods’ query should take longer than the 6 periods, however this is not the case.
    Thanks,
    Lance
    Message was edited by:
    Lance Botha

  • XQuery Mapper - leave out tags with empty values, how to?

    Hi everybody,
    I am using the XQueryMapper to map 2 XML schemas and get an output for a Webservice but I am unable to get rid off the tag elements that are empty (i.e. there is no content within the tag).
    For example:
    If my output is:
    <customer>
    <first_name>John</first_name>
    <last_name></last_name>
    <title></title>
    <company>1BRN</company>
    <customer>
    What I would like to obtain is:
    <customer>
    <first_name>John</first_name>
    <company>1BRN</company>
    <customer>
    What do you have to do to avoid that? If I do NOT use XQuery then that happens as a default behaviour.
    Unfortunately I have to use it.
    Cheers,
    Manuel Silva

    I found the solution to the problem. To avoid getting tags with no content the way to do it is defining properly your schema. Just adding minOccurs="0" if the element is optional, when it returns with no content, it does not come up in the output.
    <xs:element name="order_type" minOccurs="0" maxOccurs="1" type="xs:string"/>
    XQuery builds different constructs behind the scenes depending how your elements are defined.
    Cheers,
    Manuel
    Message was edited by manuel.silva at Aug 27, 2004 1:58 AM

  • Bringing back results that match a certain character type

    Hi, thank you for any help.
    Below is a few values from a field in a database table. I like to bring back the values that only have ###-####. I do not want to bring back any other values that has any other kind of characters in them unless its a number. Thank you
    I want to bring back only         
    105-1110          
    105-1114          
    105-1121          
    105-1125          
    105-1298          
    105-1300  
    I dont want to bring back the ones below.
    001-10            
    001-2-13          
    002-2-10          
    003-43            
    003-52            
    003-87           
    0820-FR           
    1-0-17            
    1-0-18            
    1-0-19            
    1-0-20            
    1-0-22            
    1-0-29            
    1000-SW           
    1030-SW                 
    105-CIFM          
    Edwin Lopera

    One option
    declare @table table(val varchar(10));
    insert into @table
    values
    ('105-1110'),
    ('105-1114'),
    ('105-1121'),
    ('105-1125'),
    ('105-1298'),
    ('105-1300'),
    ('001-10'),
    ('001-2-13'),
    ('002-2-10'),
    ('003-43'),
    ('003-52'),
    ('003-87'),
    ('0820-FR'),
    ('1-0-17'),
    ('1-0-18'),
    ('1-0-19'),
    ('1-0-20'),
    ('1-0-22'),
    ('1-0-29'),
    ('1000-SW'),
    ('1030-SW'),
    ('105-CIFM')
    select * from @table
    where val like '[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]'
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Hi,This morning I wanted to call, so I took my phone ( Iphone 4 S) ,but my All contacts list was empty! I checked in my computer ( windows 8) I have them in Iclould. How can I bring back my data?

    Hi,This morning I wanted to call, so I took my phone ( Iphone 4 S) ,but my All contacts list was empty! I checked in my computer ( windows 8) I have them in Iclould. How can I bring back my data?

    Hello Noushin,
    It sounds like you are unable to see your contacts in the phone, but have confirmed they are still at http://www.icloud.com. I would next try these troubleshooting steps from the article named:
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/ts3998
    If you're using iOS 7, quit and restart the Contacts app on your iOS device:
    Press the Home button twice to see preview screens of the apps you have open.
    Find the Contacts preview screen and swipe it up and out of preview to quit the application.
    Tap the Home button to return to your Home screen.
    Wait a minute before reopening the Contacts app.
    Turn iCloud Contacts off and back on:
    Tap Settings > iCloud.
    Turn Contacts off. Choose to delete data only if your data exists at icloud.com/contacts and on one or more of your devices. Otherwise, choose Keep Data.
    Wait a few minutes before turning Contacts back on.
    Restart your iOS device by holding down the Sleep/Wake button and then swiping the screen when prompted to power off. Then turn your device back on. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Is there any way to bring back the font type and background of Safari reader from iOS6 in to the iOS7 ? I really miss it, the new design is awful, simple and has now class at all.

    Is there any way to bring back the font type and background of Safari Reader from iOS6 in to the iOS7 ? I really miss it, the new design is awful, simple and has now class at all.

    I agree with you, many things in the ios 6.x were more elegant. The reader was the most one of them. I think the ios7 wants to be the windows 8.

  • Bring back the independent App for the Economist Magazine! Take it out of Newsstand! Audio version no longer downlaods! Their Help desk is incompetent!

    Using the audio version of the Economist magazine is impossible in their new Newsstand version App. It just will not download. The Economist help desk is incredibly unhelpful and incompetent. This used to be so easy when the App was independent. Several other people have given feedback requesting the old App returns and complaining the App inside Newsstand is dis-functional! Who will support me in bringing back the independent Ap? NO NEWSTAND AP TYRANNY!!

    Only the people at The Economist can choose to reprogram the app so it is out of Newstand.

  • Will they bring back camara roll? This is the ownly thing the IOS8 software needs to sort out

    Bring back camara roll!

    Hi lindab63,
    Welcome to the community!
    I'm sorry for the problems you're having with your broadband speed and for the time this is taking to sort out.  I can help you from here.  To get in touch, click on the "about me" section of my profile where you'll see the link to "contact the mods".
    Thanks a million,
    Robbie
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • UDF of type "Lookup" - doesn't accept "space/Empty" value in lookup defn

    Hello there,
    I have created a Combo Box UDF field - but I don't want to put any value in it. If I give only "space" in Encode and Decode - it gives error of providing some value to it. I want to give a default blank value over there along with other values so that the user is free to declare an empty value if he/she doesn't wants to provide one otherwise the user has to mandatorily provide some value to this like "NULL/zzz/NOTHING" as a string.
    Is there anyway we can achieve this - giving blank value in a lookup/combo field ?
    TIA,
    - oidm.

    I don't think you can enter nulll/space in decode.
    For Lookup Field Code as well as Decode can't be null.
    If you want to give blank so it is not possible APMK, in decode you can give ---. You can treat it as Blank.
    Code Key > NULL
    Decode > ---

  • On my daughters iPad mini she can not send messages. She can receive them but the send button stays light gray after you type a message. It worked when we first set it up but now it does not. Tried resetting and logging out and back in. With no change.

    I can not send messages on an iPad mini the send button stays light gray and will not send. I can receive. I reset and logged out and back inn with no results. It worked fine when we first set it up. Any suggestions?

    Hello iMessage issues 1234,
    Thank you for the details of the issue your daughter is experiencing with sending messages on the iPad.  It sounds like you might have the Subject Field turned on. To disable this go to Settings > Messages > Show Subject Field.
    iPhone User Guide - Messages settings
    http://help.apple.com/iphone/7/#/iphf2d853e3
    If the Subject Field is not enabled but messages are still not sending, I recommend continuing with the following article:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Bring back PDF Portfolio option to Acrobat Standard!

    We are refreshing some department computers with newer models through Dell.  These new computers come with Adobe Acrobat X Std on them.  This works fine for most people until today.  Our one department had their older XP computers replaced with new Win 7 machines and Adobe Acrobat X standard.  They were dependant on a feature to right click on a bunch of PDFs and combine them.  They need the portfolio option because a regular combine will overwrite values in forms because "they have the same name".  This worked fine on the OLD machines with Adobe 9.5 Standard.
    So on the new computers with Acrobat X Standard, this portfolio option is gone!  This is needed for their job!
    Now I am scrambling to deactivate and uninstall X standard from the new computers ,and deactivate and uninstall 9.5 from the old ones.  Using Belarc Advisor to obtain the product key, I can reinstall it on the new computers, along with running all the umpteen patches to get 9.0 back up to the latest version.  Not only that but the right click context menu is gone, so I had to research that and find the command to get it back -> regsvr32 "C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat Elements\ContextMenu64.dll"
    After doing some research it seems you have to spend extra money on a X or XI "professional" version, just to get a feature that was included in 9 STANDARD.  Shopping around the best price I could find was over at NewEgg for $120.  Multiple that by the people who need it, were looking at good amount of money to get back a single feature we had before!
    So were going right back to Acrobat 9 standard because it does what we need it to do.  My plea to adobe is to bring back the portfolio feature!  Either that or don't screw up the contents of forms in a standard combine!
    Is this the latest trend that new versions of software are designed to take away features or functionality that people depend on?  I mean even Windows 8 takes away the start menu (I know there's freeware to get it back).  Please don't stoop to Microsoft's level and remove thign's people depend on.

    We are also going through some of the issues with Acrobat standard being gutted. In acrobat 9 standard we have some processes that used a function called "Export Multiple Files.." This allowed you function through a wizard to select as many files of many file types as you wanted and export them to a ton of file formats. I use this on a daily basis and now i am being told it is not available in the standard version. If i buy the PRO version it is available, but what will keep Adobe from from removing this from the Next version of PRO and call that PLATNUM or somthing. This not the way to treat long time customer who pay for and have developed many process using the tool. It is also sad to learn that Portfolio option is no longer available. We will have to go back to 9 until they figure this out. What a massive screw up.

Maybe you are looking for

  • Promotions automatically detected free goods (no changable)

    Hi, We want to restrict our users to do any change in automatically free goods detected due to promotions. if we have promotion of 1 carton on purchase of 10 cartons. when user create order with 10 cartons two lines are comming. one is standard 10 ca

  • Re: Windows Recovery Partition is not working

    Hi All! My brother's Toshiba A500 laptop with Windows 7 32bit got antimalware doctor and after deleting it fully, got problems with the OS (such as programs slowing considerably after randomly minimising during operation) and so we backed up everythi

  • Are equations created with MathMagic in Captivate 7 accessible for screen readers?

    I'm looking for the best way to create accessible math equations in Captivate 7. Also, on a related note, the sample "clips" that should appear in MathMagic are not showing up in the Clips window when I insert an equation in Captivate. Can I download

  • Bad Archive return org.apache.axis2.AxisFault: Deserialisation failed

    We tried to generate stub using Axis2-1.5 tool from SAP WSDL file. We developed the Java client to consume the Web Services with Stub. When we tried to connect and send the required data received the following error. Bad Archive return org.apache.axi

  • How to implement Value Help for Product ID?

    Hi, I have a Z-Component where I want to use the value help of the Product ID. I found several components which use this value help for Products but I can't get it to work in my component properly. Does anybody have a short tutorial how I need to pro