Can we trace the values in  a cursor if we debug the package?

Can we trace the values in a cursor if we debug the package having a cursor?
Does it shows cursor attributes like %rowcount,%notfound,%found etc?
Because i am debugging a pachage , and I am getting the exception.
And its after the fetching of a cursor I am hitting on the exception.
If I click the profilier after I debug, its showing the error ora 1775::looping chain of synonyms.
The scenario is after the fetching of cursor, i am hitting the exception and after debug If i see the profilier I am getting the error 1775::looping chain of synonyms.

Firslty, thanks for your time.
I am using the PLSQL developer.
The select command in the cursor picks tha value but when it fetches, it is showing the error.
Any idea what could be the reason.?
FETCH get_notices ----would show ( rowcount =0,%open,first iteration), does that mean cursor is not picking any value?
Because i have checked the select statement and it picks the value.

Similar Messages

  • Set the value of a CWNumEdit Control from within the code

    I am trying to update a CWNumEdit Control with data created during program execution.  I am using the set_Text function but it does not seem to be working.  I was wondering if there is something that I am missing to get this functionality to work.  Please help.
    I am developing a VS .NET 2003 WinForm GUI and am Using Measurement Studio 8.1.1.

    Hello mtd32610,
    I noticed this question was already posted on this forum.  We like to
    keep all questions related to a single issue confined to one forum, so
    please direct all future replies to one post or the other.
    As Jervin_J mentioned in the previous post, the standard method for
    updating a CWNumEdit control is to set the Value property of the
    CNiNumEdit object that is associated with this control.  You do not
    need to call the set_Text function, in fact I am not familiar with any
    set_Text function, so I think you may be calling this method on the
    wrong class altogether.
    You should have an object associated with your CWNumEdit control that
    you can set the Value property for.  As mentioned in the reply from
    Jervin_J, the normal way to populate the control is to use:
    <control>.Value = <numeric_value>;
    Regards,
    Marty H.
    National Instruments

  • The "Normal Brush Tip" cursor is appearing as the "Full Brush Tip" cursor in Photoshop CC.

    In spite of resetting all presets, restarting, etc., the Normal Brush Tip cursor is appearing as the Full Brush Tip cursor in Photoshop CC. The Full Brush Tip cursor is working as it should.
    Photoshop CC 14.1.2 x64
    OS X 10.9

    Maybe in your system preferences you have the Cursor Size set to something other than Normal.

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • What is the Value of SY-UCOMM when we copy the SC?

    SRM Experts,
    What is the Value of SY-UCOMM(Function code) when we copy, create, delete and change the SC in SRM 5.0?
    Thanks!
    MP

    Hi,
    Just put a break point in the BADI and create a SC.At runtime,you can see the value of the field "SY-UCOMM".Also as Dean suggested ,you can look in the std program for the OK-codes  for the various buttons on the screens.
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • How do I get the value of a resource property stored in the user object?

    I need a way to get to the myflag property on the resources in an object
    I have been trying to get to it by first getting the user object...
    but how can I get to the properties them self?
    If the following is the user object and I need to refer to the different myflag properties in a form?
    What I want to do is to make the system NOT change password on accounts where the myflag is set to true
    Anyone that could point me right here?
    I use the following code to get the userObj in the form...
          <Field name='userObj'>
            <Derivation>
              <invoke name='getObject'>
                <ref>:display.session</ref>
                <s>User</s>
                <ref>resourceAccounts.id</ref>
              </invoke>
            </Derivation>
            <Disable>
              <isnull>
                <ref>resourceAccounts.id</ref>
              </isnull>
            </Disable>
          </Field>And the resulting userObj looks like this
    <!--  MemberObjectGroups="#ID#Top" hasCapabilities="true" id="#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD" name="43725"-->
    <User id='#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD' name='43725' creator='Nnnnn' createDate='1328101309098' lastModifier='Nnnnn' lastModDate='1352128262380' lastMod='71' repoMod='1352128262383' primaryObjectClass='User' password='xxx' lastPasswordUpdate='1352128195038'>
      <Services>
        <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
      </Services>
      <PasswordExpiration>2012-11-04T15:09:55.038Z</PasswordExpiration>
      <ResourceInfoList>
        <ResourceInfo accountId='cn=S43725,ou=Xolid Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=3c020b6e1c253d45808fc47889201c4a&gt;' tempId='dc98a0e2b99ae627:-3984a159:139b34ea14f:-4c10' created='true' lastPasswordUpdate='1352128262115'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='false'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
        <ResourceInfo accountId='cn=S43725A,ou=Administrative Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=fc4ca613bf40b644948cf216e1ec50bd&gt;' tempId='dc98a0e2b99ae627:-4ce08fd6:13a5c68dd38:4fc4' created='true' lastPasswordUpdate='1352128262285'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='true'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
      </ResourceInfoList>
      <Attribute name='closest_manager' type='string' value='77774'/>
      <Attribute name='firstname' type='string' value='Test'/>
      <Attribute name='fullname' type='string' value='Testersson, Test'/>
      <Attribute name='xr_attr_flag' type='string' value='N -------- MA20120201 MB20120201 MC20120201 MD20120201 ME20120201 MF20120201 MG20120201 MH20120201 MI20120201 MJ20120201 MK20120201'/>
      <Attribute name='xr_date_flag' type='string' value='N 20120914 MS20120201 MT20120914'/>
      <Attribute name='lastname' type='string' value='Testersson'/>
      <Attribute name='local_id' type='string' value='S43725'/>
      <Attribute name='position_end_date' type='string' value='2012-08-10 01:08:18.0'/>
      <AdminRoles>
        <ObjectRef type='AdminRole' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FF7' name='XXX - Manager'/>
      </AdminRoles>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='AD_HomeDir_Xolid_S43725' value='\\XXX5014A\UserFolders$\S43725'/>
        <Property name='AD_ProfileDir_Xolid_S43725' value='\\XXX5014A\UserProfiles$\S43725'/>
        <Property name='idm_lastLoginLocale' value='sv'/>
        <Property name='myflag' value='false'/>
      </Properties>
    </User>

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • How to Print the Value of a variable inside a PL/SQL package

    Hi Friends,
    Here is my Scenario
    I have a PL/SQL Package. Let us call it Baseline Package.
    This Package includes a dynamically built merge Statement.
    Execute Immediate v_merge_query.
    I have a procedure which replaces which few Keywords from the Package Text and Creates a new one depending on Inputs I provide. (This is something like a Code generator)
    Now while Creating the new package, I need to print the Value of v_merge_query.... I Need s Static Query to be Printed inside the new package and not a dynamic query.
    My Question is "Is there a way to print the value of the variable inside a different PL/SQL package?
    Thanks in Advance,
    Mohit

    Print where?
    That PL/SQL code is server-side code. It runs in an Oracle server process.
    That server process does not have a keyboard. Or a screen/monitor. Or display canvas. Or an attached printer.
    That server process is incapable of "printing" as that is not its job or responsibility and not part of its environment.
    What is can do is record data for the client to look at afterwards. This can be done using static PL/SQL session variables. Or a SQL table.
    The former is done by DBMS_OUTPUT - a very primitive interface for writing text into a static PL/SQL string array. That btw resides in expensive private process server memory. The client can query the array after a database call and render the contents.
    PS. Also keep in mind that bind variables are critical for performance and server robustness - especially when (ab)using dynamic SQL.

  • How to set the value of something in a component from the main application?

    Hi,
    Maybe I've been working on this too long, but I can't figure
    out how to set the value of the text property of a text input field
    in a component from my main application in an mx:Script block. I
    have a component called Login in the components folder, and I need
    to set the text value of empNum. In my mxml declaration at that the
    top, I've declared these components as xmlns:c="components.*" So
    logically, the property I'm trying to set is c.Login.empNum.text. I
    can't figure out the correct syntax to get this to work, and I've
    tried everything I can think of. Does anyone have any suggestions?
    I'm thinking this should be an easy one, and I'm just missing
    something.
    Thanks!
    Holli

    Did you try giving it an id ?
    <c:MyLogin id="loginScreen" /c>
    So later you can do loginScreen .empNum.text = "my text"
    Laurent,

  • Why the value of 24bit bmp file read by the labview different from the original

    when i use labview to read a bmp file,it looks just fine,but the the pixel value is dfferent from the original,how it changed,can i change it back

    right... Your "result" indicator is an I16, it goes from -32768 to 32767... so that's not enough, before the 2 for loops, just after the Integer to colour value VI  you should place a convertion node to convert to i64 and also change you result display representation to i64.
    See attached VI.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    lll.vi ‏42 KB

  • Which method is better, the SELECT .. CURSOR(.. , or the Queries in loop

    I have a table t1, this table has 1 to many relation with
    tables t2,t3. t2,t3 do not have any direct relation with eachother.
    I have to read all data in all tables, what do you prefer
    from the following. I am using 10g release 2 but if there
    is some better way in 11g I can go for it also.
    Also generalize this for t2,t3,t4,t5,... etc.
    Method 1.
    FOR i in (SELECT * FROM T1) LOOP
    FOR j in (SELECT * FROM t2 WHERE t2.x=t1.x)LOOP
    ...process data...
    END LOOP
    FOR k in (SELECT * FROM t3 WHERE t3.x=t1.x)LOOP
    ...process data...
    END LOOP
    END LOOP;
    Method 2
    FOR i in
    (SELECT t1.*,
    CURSOR(select * from t2 where t2.x=t1.x),
    CURSOR(select * from t3 where t3.x=t1.x)
    FROM t1) LOOP
    ... process data...
    END LOOP
    Which one will be the faster and why.
    Thanks

    Your question is meaningless.
    Why? Because...
    > There is no way to join all these 3 tables correctly, because joining will
    produce reduandant rows.
    and...
    > its impossible to join all three tables here
    and then you show Method 1 and 2 as options.
    Guess what.
    You have coded a nested loop join in both!
    So just what makes your hack of a join in PL/SQL so much superior than an "impossible" nested loop join in SQL?
    Your problem is not joining.. it is conceptual and design fundamentals. Your approach says that the problem should be approached by discarding the fundamental concept of joining data in a RDBMS.. and thinking of row-by-row slow-by-slow serialised processing.
    Join. Use parallel processing. Either PQ or self-rolled via PL/SQL. There are loads of tools in the Oracle toolbox to address this type of problem.
    Message was edited by:
    Billy Verreynne

  • SSIS problem - Script Component - The value is too large to fit in the column data area of the buffer

    I am trying to run a task in a package, however there is a problem come out, see any one meet this before ?

    /* Microsoft SQL Server Integration Services Script Component
    *  Write scripts using Microsoft Visual C# 2008.
    *  ScriptMain is the entry point class of the script.*/
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    using System.IO;
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
        public override void PreExecute()
            base.PreExecute();
              Add your code here for preprocessing or remove if not needed
        public override void PostExecute()
            base.PostExecute();
              Add your code here for postprocessing or remove if not needed
              You can set read/write variables here, for example:
              Variables.MyIntVar = 100
        public override void Input0_ProcessInputRow(Input0Buffer Row)
            string temp = GetString(Row.FlatFileSourceErrorOutputColumn.GetBlobData(0, (int)(Row.FlatFileSourceErrorOutputColumn.Length - 2)));
            string[] cols = temp.ToString().Split(';');
            var r = Row;
            //try {
                r.Column1 = cols[0].ToString();
                r.Column2 = cols[1].ToString();
                r.Column3 = cols[2].ToString();
                r.Column4 = cols[3].ToString();
                r.Column5 = cols[4].ToString();
                r.Column6 = cols[5].ToString();
                r.Column7 = cols[6].ToString();
                r.Column8 = cols[7].ToString();
                r.Column9 = cols[8].ToString();
                r.Column10 = cols[9].ToString();
                r.Column11 = cols[10].ToString().Substring(0, 2);
                r.Column12 = cols[11].ToString();
                r.Column13 = cols[12].ToString();
                r.Column14 = cols[13].ToString();
                r.Column15 = cols[14].ToString();
                r.Column16 = cols[15].ToString();
                r.Column17 = cols[16].ToString();
                r.Column18 = cols[17].ToString();
                r.Column19 = cols[18].ToString();
                r.Column20 = cols[19].ToString();
                r.Column21 = cols[20].ToString();
                r.Column22 = cols[21].ToString();
                r.Column23 = decimal.Parse(String.IsNullOrEmpty(cols[22].ToString()) ? "0.00" : cols[22].ToString());
                r.Column24 = decimal.Parse(String.IsNullOrEmpty(cols[23].ToString()) ? "0.00" : cols[23].ToString());
                r.Column25 = cols[24].ToString();
                r.Column26 = cols[25].ToString();
                r.Column27 = cols[26].ToString();
                r.Column28 = decimal.Parse(String.IsNullOrEmpty(cols[27].ToString()) ? "0.00" : cols[27].ToString());
                r.Column29 = cols[28].ToString();
                r.Column30 = cols[29].ToString();
                r.Column31 = cols[30].ToString();
                r.Column32 = cols[31].ToString();
                r.Column33 = cols[32].ToString();
                r.Column34 = cols[33].ToString();
                r.Column35 = decimal.Parse(String.IsNullOrEmpty(cols[34].ToString()) ? "0.00" : cols[34].ToString());
                r.Column36 = cols[35].ToString();
                r.Column37 = cols[36].ToString();
                r.Column38 = cols[37].ToString();
                r.Column39 = decimal.Parse(String.IsNullOrEmpty(cols[38].ToString()) ? "0.00" : cols[38].ToString());
                r.Column40 = decimal.Parse(String.IsNullOrEmpty(cols[39].ToString()) ? "0.00" : cols[39].ToString());
                r.Column41 = decimal.Parse(String.IsNullOrEmpty(cols[40].ToString()) ? "0.00" : cols[40].ToString());
                r.Column43 = decimal.Parse(String.IsNullOrEmpty(cols[42].ToString()) ? "0.00" : cols[42].ToString());
                r.Column44 = cols[43].ToString();
                r.Column45 = decimal.Parse(String.IsNullOrEmpty(cols[44].ToString()) ? "0.00" : cols[44].ToString());
                r.Column46 = decimal.Parse(String.IsNullOrEmpty(cols[45].ToString()) ? "0.00" : cols[45].ToString());
                r.Column47 = decimal.Parse(String.IsNullOrEmpty(cols[46].ToString()) ? "0.00" : cols[46].ToString());
                r.Column56 = decimal.Parse(String.IsNullOrEmpty(cols[55].ToString()) ? "0.00" : cols[55].ToString());
                r.Column57 = cols[56].ToString();
                r.Column58 = cols[57].ToString();
                r.Column59 = cols[58].ToString();
                r.DirectRowToOutput0();
            //}catch(Exception ex)
            //    //using (StreamWriter sw = new StreamWriter("C:\\Users\\i290\\Documents\\temp_err.txt", (File.Exists("C:\\Users\\i290\\Documents\\temp_err.txt") ? true : false)))
            //        sw.Write(temp.ToString() + ex.Message.ToString() + "\r\n");
            //IDTSComponentMetaData100 mdt;
        static string GetString(byte[] bytes)
            System.Text.Encoding enc = System.Text.Encoding.ASCII;
            return enc.GetString(bytes);

  • How do I create a URL to filter a view when the value I have from list one is the ID that was used by list 2 to pull in the list 1 title?

    My list "Tasks" has an record with Title = "Build SSIS for Duke Energy" and its ID is 1. Then I have a list "Journal" where I have tracked entries related to the progress of the task. When I create the Journal entries I passed
    in the ID of the task 1 which then pulled the title into the Journal's Associated task lookup column. Now I'd like to have a column in the Tasks list that would have a URL to take me to all journal entries related to the Task. But passing in the ID 1 of the
    task does not work. 
    If the lookup column has the actual Title from the task in all the time and it is not dynamically pulled every time the list is queried shouldn't I be able to filter on the Title e.g. "Build
    SSIS for Duke Energy"  

    I ended up going with a workflow to build the URL and sending the title to the look-up column. 
    I tried the script at that site and ran into several problems. It didn't work with views that were grouped, the calculated links did not show on the edit and view forms. I assume those forms would have to be changed to run the script also.
    In addition to, I have to add a CEWP to each view and I was also losing the "Items" and "List" options (next to "Browse") from the ribbon until I clicked around in the list. 
    What are the downfalls of a workflow? I ask because many people default to using a similar TextToHTML script like you mentioned.

  • Sorting an ArrayList based on the value of a field in one of the objects.

    Hi,
    I have the following problem:
    A server app returns an array list of simple objects with a bunch of fields.
    One of these fields is an int.
    How do I go about sorting the list based on the size of the int?
    Thanks in advance!

    Thanks a lot.
    The Comparator solution is actually ridiculously simple.....
    public class MyComparator implements Comparator {
    public int compare(Object o1, Object o2) {
         if (Integer.parseInt(((ZMData)o1).getAantalposts())>Integer.parseInt(((ZMData)o2).getAantalposts())) {
              return 1;     
         if (Integer.parseInt(((ZMData)o1).getAantalposts())<Integer.parseInt(((ZMData)o2).getAantalposts())) {
              return -1;     
         return 0;
    }Thanks again.

  • Do I need close a Cursor Variable after FETCH the value?

    I have this following code and I don't have OPEN or For LOOP before fetch
    All I need is to get the value from ref cursor (if it exist and it should only have one value in it) ; if there is no record, then send to error.
    What I'm not sure is if I need the closing statement at the end of FETCH.
    -- x_cursor is a ref cursor
    oracle_form.lov(p_lov_rec => v_lov_rec, x_cursor => x_cursor);
    FETCH x_cursor INTO MyValue_hold;
    IF x_cursor%NOTFOUND THEN
    x_return_status := 'INVALID';
    ELSE
    x_return_status := 'VALID';
    END IF;
    CLOSE x_cursor; --- Do I need this close statement ??
    Thank you

    It is good practice to always explicitly close cursors that have been explicitly opened.
    Whilst oracle does implicitly close cursors, this is not necessarily done immediately i.e. there may be a delay in oracle sorting out the garbage. Leaving cursors open can result in the "TOO MANY OPEN CURSORS" error if you're not careful.

  • Can I use the value returned from a Text Function in another Formula?

    I'm writing a report in Hyperion System 9 BI + Financial Reporting Studio version 9.2. I have 2 grids in my report.
    Grid1 Column A is set up as a text function using the function type - <<GetCell("Grid2", 1, a, 1)>>. I would like to use the values returned from this text function in Column A (Grid 1) in a formula in Column B (Grid 1).
    Is it possible to use the values returned in Column A of the text function in another formula? My report does not seem to recognize Column A as numerical values, even though the values to be returned are numerical.
    If so, how do I recognize the values in Column A Grid 1 as numerical values and not text?
    Thanks for any help you can offer!

    Hi Edson,
    Yes you need to use the CALC_ERROR macro function to be able to test whether the last macro function returned an error. CALC_ERROR will return an 'X' if there an error occured during the execution of the last macro function.
    You can use a macro similar to the following:
    IF
      CALC_ERROR( )
      = 'X'
          DO SOMETHING HERE
    ENDIF
    Let me explain how this works internally. The SAP system maintains a global variable g_flg_calc_error during the execution of macros in the planning book. The g_flg_calc_error variable will contain the value of f_calc_error that was set by the last macro function which executed. The ABAP coding of a planning book is something like this:
    data: g_flg_calc_error type /SAPAPO/FLAG.
    * SAP will pass g_flg_calc_error variable to all macro
    * functions. When SAP calls a macro function, it does
    * something like this.
    call function '/SAPAPO/MACRO_FUNCTION_HERE'
            exporting
              plob_values      = i_s_adv_plob_values
              sdp_book         = g_c_advf_sdp_book
              sdp_view         = g_c_advf_sdp_view
            tables
              cols_index       = i_t_cols
              value_tab        = l_t_value_tab
            changing
              f_calc_error     = g_flg_calc_error
    As you can see, the g_flg_calc_error variable
    is passed in the "changing" part of the call. The macro  function being called can then use the f_calc_error
    variable to change the value of the global
    g_flg_calc_error variable. In fact, the macro function being called can also check (by looking at the f_calc_error variable) if the last macro function reported an error.  The CALC_ERROR macro function just checks the value of f_calc_error parameter (w/c in fact is the value of the g_flg_calc_error variable) and returns "true/X" if the f_calc_error was set to true by the last macro function.
    Hope this helps in clearing things out

Maybe you are looking for

  • Regarding Creation of Custom IDOC

    Hi, This is Abdullah Shaik. I want to create an IDOC from the existing IDOC. Some times I need to add some segments to the existing IDOC. Can anybody plz let me know the process how to create the Customized IDOC from the Standard IDOC? Thanks & Regar

  • Problem with JCA-DB in Business Service character

    Hi, I'm calling to database with JCA in Business Service, but when output contains the character "*&*" the business show "*&amp*"; Example OUTPUT FROM BD:_ AMERICA NT & SAN FRANCISCO OUTPUT FROM BS_ <Envelope xmlns="http://schemas.xmlsoap.org/soap/en

  • Windows 7 assigns a "2" to my network name - why?

    So it's like this, I run an Airport Extreme at home and recently received a Dell Inspiron as a work unit. The first couple of hours it connected effortlessly to the base station with the network name: Airport Extreme. The weird thing is, after some t

  • Hiding the header of a group using dynamic programming

    Hi, I had a requirement where we needed to place a border around the UI elements. For this purpose i had used a group UI element. But the group UI element by default has an attached header (Setting the visible property of header to "None" only disabl

  • Printing (not) from Photoshop CC to Epson Stylus Pro 7800

    I have a brand new iMac on OS X 10.9.2 and a brand new install of Photoshop CC and printer driver. When I try to print an image from PS, the file is briefly seen in the print queue and then it disappears, but no printing happens. It gets as far as sa