Getting error which passing a variable to the cursor

hi all,
i am passing pl/sql table value into the sql cursor
DECLARE
  CURSOR cr(i_oList IN tList) IS
    SELECT SOMETHING
      FROM SOMETABLE
     WHERE SOMECOL IN (SELECT COLUMN_VALUE FROM TABLE(CAST(i_oList AS tList));but i am getting following error :invalid variable declaration 'tList' must be type or subtype.
please help me

HI,
i changed my code to
DECLARE
CURSOR cr(i_oList tList) IS
SELECT SOMETHING
FROM SOMETABLE
WHERE SOMECOL IN (SELECT COLUMN_VALUE FROM TABLE(tList));
still getting the same error as i mentioned before
"invalid variable declaration: object tlist must be type or subtype                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Getting error while passing implicit request object from JSP to JavaBean

    Hi,
    I am getting error while passing implicit object ie( request object)
    from within JSP to JavaBean.
    Following is source for JSP, JavaBean and Error message I am getting.
    vaLookup.jsp Source
    <jsp:useBean id="db" class="advisorinsight.javabeans.DisplayPages"
    scope="request">
    <jsp:setProperty name="db" property="request" value="<%= request %>"
    />
    </jsp:useBean>
    <jsp:getProperty name="db" property="totalrecords" />
    JAVABEAN DisplayPages.java source
    package javabeans;
    import java.io.Serializable;
    import javax.servlet.http.HttpServletRequest;
    public final class DisplayPages implements Serializable {
    private String totalrecords;
    private HttpServletRequest request;
    public void setRequest(HttpServletRequest req){
    this.request = req;
    public java.lang.String getTotalrecords()
    this.totalrecords =
    this.request.getParameter("totalrecords");
    return this.totalrecords;
    public DisplayPages(){
    totalrecords = "";
    request = null;
    error after executing vaLookup.jsp
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service JavaExtData successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service LockManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service RLOPManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:7] info: ENGINE-ready: ready: 10819
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:46:0] info: JSPRunnerSticky: init
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:51:7] error: Exception: SERVLET-compile_failed:
    Failed in compiling template: /va/valookup.jsp, javac error:
    c:\iplanet\ias6\ias\APPS\variabl
    S\va\valookup.java:76: Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    Exception Stack Trace:
    java.lang.Exception: javac error:
    c:\iplanet\ias6\ias\APPS\variableannuity\va\WEB-INF\compiled_jsp\jsp\APPS\va\valookup.java:76:
    Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Unknown Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown
    Source)
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown
    Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

    The only thing that I see that looks funny to me is when you pass the request object into the method using <%=request%>, Im not sure whats going to happen here because that is suppose to print the results. Have you tried simply using <%request%>?

  • When connect ipod nano 6th gen i get error message "you need to format the disk in drive G: before you can use it Do you want to format it?"

    when connect ipod nano 6th gen i get error message "you need to format the disk in drive G: before you can use it Do you want to format it?" Any suggestions please

    Hi Michael
    These are the answers
     to your questions
    What is the OS version, Windows Server 2008?   
    Microsoft Windows [Version 6.0.6001]  
    SP1
     On which disk you choose to install it, the C: drive? 
    I have Raid 5
    What
    is the output of the Checkdsk?   It find Nothing
    Could
    you please upload us a screen shot?  I have no 
    Screen shot
    Is
    the C: drive is a external drive?  NO
    Besides,
    have you manually assigned the drive letter? 
    NO
    Thanks

  • Passing two variables in the body of the URL using the go to detail page SB in ASP

    Hi all,
    Would appreciate your assistance with the following, I'm
    trying to set up a go to detail page sb that passes two variable in
    the body of the URL rather than the standard one.
    The code i've tried is -
    <td><A HREF="gggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>&amp;"PCL1ID=" +
    othermenutwo.Fields.Item("PCL2PC1ID").Value
    %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
    Where the PCL1ID and the PCL2ID are the variables
    The normal code generated by the go to detail page sb with
    one variable is -
    <td><a href="ggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
    Unfortunatley my code tweaking isn't working as the second
    variable isn't being sent, any help would be gratefully appreciated
    Thanks

    Instead of using DW's 'go to detail page' option, simply set
    up the link the manual way in DW using the Link browser. Select the
    file you want to link to and then use the parameters button at the
    bottom of the 'Select File' dialogue to set the parameters to be
    passed with the link. You can then manually set the name of the
    parameter to be passed and then select its value from a recordset.
    The key thing is that you can set as many parameters as you like,
    so you can set both the parameters you want.
    On the detail page you then filter by the parameter name you
    chose (or both).
    Personally I always code links this way rather than using the
    go to detail page option as you get much better control of what is
    going on.

  • Getting error , while passing parameters from one page to another page

    Hello friends,
    i am getting error, while passing parameters from one page to another page, below code i wrote.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    ArrayList arl=new ArrayList();
    EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
    ERecordImpl ERecordObj=new ERecordImpl();
    HashMap hMap = new HashMap();
    hMap.put("1",ERecordObj.getTransactionName());
    hMap.put("2",ERecordObj.getTransactionKey());
    hMap.put("3",ERecordObj.getDeferredMode());
    hMap.put("4",ERecordObj.getUserKeyLabel());
    hMap.put("5",ERecordObj.getUserKeyValue());
    hMap.put("6",ERecordObj.getTransactionAuditId());
    hMap.put("7",ERecordObj.getRequester());
    hMap.put("8",ERecordObj.getSourceApplication());
    hMap.put("9",ERecordObj.getPostOpAPI());
    hMap.put("10",ERecordObj.getPayload());
    // hMap.put(EresConstants.ERES_PROCESS_ID,
    if(pageContext.getParameter("item1")!=null)
    pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hMap,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
    Thanks
    krishna.

    Hi,
    You have imported the wrong class for HashMap.
    Import
    com.sun.java.util.collections.HashMap; instead of java.util.HashMap
    Thanks,
    Gaurav

  • When trying to import videos off of a CD I continually get error code -36 on one of the videos. How can I fix this?

    When trying to import videos off of a CD I continually get error code -36 on one of the videos. How can I fix this?

    Contact Apple and request a 10.4 or possibly a 10.5 distribution disk for this system, if you've not obtained that DVD disk from the seller. 
    Boot and use that distribution disk to wipe the hard disk via Disk Utility, and to then reinstall OS X. 
    Best to start with a fresh installation of OS X, as that'll provide the default environment and not something that's been customized and extended by the previous owner.
    The last OS X version that was supported for most PowerMac G5 systems was 10.5.8, and that would be preferable — if your Mac supports that.
    If you're not sure which Mac you have, then use the  > About This Mac from the menu and request more information on the system.  You're looking for a model number listed there, and that'd be something like PowerMac7,3 or PowerMac11,2 for a ~2005-vintage PowerMac system.  Whatever model number you have can then be used to determine the general specs for the configuration, and what the last version of OS X that was supported for the system.

  • I am getting error message while attempting to upgrade the software to iOS 6.1.3

    Hi,
    Need help on this, i am getting error message while attempting to upgrade the software to iOS 6.1.3

    The Current iOS for the iPhone 4s is iOS 7
    How to update your iPhone, iPad, or iPod touch

  • After update, Itunes can't load. I get error message R6034, attempt to load the C runtime library incorrectly. I have repeatedly removed and reinstalled Itunes and still have the same problem!!!

    After update, Itunes can't load. I get error message R6034, attempt to load the C runtime library incorrectly.
    I also get error code 7 (Windows error 1114), saying itunes wasn't installed correctly. It appears that I am not the only one with this issue. what is wrong with the latest update?? I tried removing Itunes and all of its components and installing it again, but get same errors and i have also tried doing a system restore with the same results

    Doublechecking. Have you also tried the following user tip?
    Troubleshooting issues with iTunes for Windows updates

  • Itunes can't load. I get error message R6034, attempt to load the C runtime library incorrectly

    After update, Itunes can't load. I get error message R6034, attempt to load the C runtime library incorrectly.
    I also get error code 7 (Windows error 1114), saying itunes wasn't installed correctly.
    Tried removing Itunes and installing again, but get same errors

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • When I try to authorize home sharing in iTunes, I get error message 5506. What is the problem?

    When I try to authorize home sharing in iTunes, I get error message 5506.
    What is the problem?

    Home Sharing
    Setting up Home Sharing on your Computer
    http://support.apple.com/kb/HT4620?viewlocale=en_US&locale=en_US
    Understanding  >  http://support.apple.com/kb/HT3819
    How to  >  http://support.apple.com/kb/HT2688
    Troubleshooting  >  http://support.apple.com/kb/TS2972

  • How can I pass environment variables to the child process?

    How can I pass environment variables to the child process? This is what I tried and it didn't work.
         static public void main (String[] args) throws Exception {
              ProcessBuilder b = new ProcessBuilder("java", "-cp", ".", "Child");
              Map<String, String> map = b.environment();
              map.put("custom.property", "my value");
                 b.redirectErrorStream(true);
              Process p = b.start();
              BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
              String line = null;
              while (null != (line = reader.readLine())) {
                   System.out.println(line);
         public static void main(String[] args) {
              System.out.println("The value of custom.property is : " + System.getProperty("custom.property"));
         }and the result is:
    The value of custom.property is : null

    Complete test:
         static public void main (String[] args) throws Exception {
              ProcessBuilder b = new ProcessBuilder("java", "-Dcustom.property=my property value", "-cp", ".", "Child");
              Map<String, String> map = b.environment();
              map.put("custom.property", "my environment value");
                 b.redirectErrorStream(true);
              Process p = b.start();
              BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
              String line = null;
              while (null != (line = reader.readLine())) {
                   System.out.println(line);
         public static void main(String[] args) {
              System.out.println("Property value of custom.property is : " + System.getProperty("custom.property"));
              System.out.println("Environment value of custom.property is : " + System.getenv("custom.property"));          
         }

  • New MacPro 10.9.4 included Keynote. Worked fine. An update was released August 21. Just downloaded the 6.2.2 update and now get error message "You can't open the application because PowerPC applications are no longer supported". Any ideas?

    New MacPro 10.9.4 purchased three weeks ago included Keynote. App worked fine. New update for Keynote was released August 21. Just downloaded the 6.2.2 update. Tried to launch app and now get error message "You can’t open the application “Keynote.app” because PowerPC applications are no longer supported." Confused as to why it worked prior to update. Nothing else has changed. No issues with recent iMovie, Pages or Numbers updates. Any ideas?

    I tested this:
    Reinstalled Aperture 3.1 from the Trial Installer.
    In some way it seems to be working. But the whole thing is a scary Chimera.
    It can create an Aperture library. I can import and edit images, even in Graphic Converter ias an external editor.
    But the Media Browser does not show the aperture Library that I created.
    The versioning is inconsistent. The library appears as an Aperture 3.4 library in the Finder.  Aperture 3.5 seems to be able to read this library and to upgrade it to 3.5
    The Applications folder is showing the application as version 3.4 and as compatible. Spotlight is showing it as illegal.
    When opening the chimera Aperture, I see plenty of warnings in the Console window:
    An Aperture "Hang" report
    xpcproxy assertion failed
    com.apple.IconServiceAgent: main failed to composite image
    quicklookd: Warning
    and more ... the hang was critical. I had to force quit Aperture more than once.
    So be careful. I would not trust any important Aperture library to this patched application, without testing thoroughly. Be careful with your  precious photos.

  • Tried to access programs and get Error: 16 message. What's the problem? Please help!

    Tried to access programs and get Error: 16 message. What's the problem? Please help! Photoshop, photoshop elements, Dreamweaver - none of my Creative Cloud apps will start-up, since my last update. I need to access these programs for jobs I'm working on.

    Hi wdriver,
    It seems like due to some unknown reason permission from the Licensing folder is removed. Please try launching any of the apps by right clicking and select Run as an Administrator, it should fix the issue by doing that.
    Please let us know if it helps.
    Regards,
    Abhijit

  • TS1424 Why am I getting error 11222 when trying to access the store?

    Why am I getting error 11222 when trying to access the store?

    The 11222s can sometimes be associated with LSP issues.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • HT1212 IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."

    IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

Maybe you are looking for

  • How to loop through a collection of records which is return value of func.

    Hi all. Have this situation: - Stored function (member of pkg procedure) that returns a collection of records. Package Spec: ========= type tipo_pvt is table of s08_plan_venta_totalizado_r % rowtype; rc_pvt tipo_pvt; (s08_plan_venta_totalizado_r is a

  • What to do in this scenerio!

    Dear All, We have been developing our forms and reports in Oracle developer 6i. They are running in client server environment at the moment. Operating system we are using is mostly windows 2000, in some cases windows XP. Now we want to shift our appl

  • Quicktime window spills to second monitor

    Hi -- I have QT Pro 7.6.5 running on a Windows XP Pro SP3 PC with dual monitors. Whenever QT opens, it creates its window about 1 to 1.5 inches down and 1 to 1.5 incles to the right of the main (left) display's upper left corner. When it plays widesc

  • Does Mountain Lion support trim for SSDs? ...

    I've been reading various forum posts and I find conflicting info. I did se several references to a tool called 'trim enabler.' I have a late 2012 Mac Mini with Mountain Lion and installed a Samsung 830 SSD. System Report shows that trim is not enabl

  • App Store prompts me to login to download updates when I am logged in

    All of a sudden today, when I attempt to update apps on my system, the App Store prompts me with this dialog: I've checked both the App Store and iTunes and I am logged in to the required account. What must I reset to clear this so that I can move on