Solved

Using XSQL; ORA-01008: not all variables bound using <xsql:ref-cursor-function>?

Posted on 2001-07-24
1
341 Views
Last Modified: 2007-12-19
My attempts to run this ref-cursor fail.  Eventially I will add variables passed into this function to narrow search results down based on JSP input form, but for now I'd like to get one of the cursors working first.  I'd like to know how I get around this error/what am I doing wrong.  The stor-procs are created by the Database team.

<?xml version='1.0'?>
<?xml-stylesheet version="1.0" type="text/xsl"?>
<xsql:ref-cursor-function connection="SEVPDatabase" xmlns:xsql="urn:oracle-xsql">

  all_status.get_fm_status(:cv)
<!-- this was used with/without :cv)-->

</xsql:ref-cursor-function>

This is the ref-cursor:

CREATE OR REPLACE PACKAGE ALL_STATUS AS
TYPE GET_STATUS IS REF CURSOR;
PROCEDURE GET_FM_STATUS
(
 V_GET_STATUS                 OUT GET_STATUS);
PROCEDURE GET_J_STATUS
(
 V_GET_STATUS                 OUT GET_STATUS);

END ALL_STATUS;
/
CREATE OR REPLACE PACKAGE BODY ALL_STATUS IS
PROCEDURE GET_FM_STATUS
(
 V_GET_STATUS                 OUT GET_STATUS)
 IS
       
        BEGIN

                OPEN V_GET_STATUS FOR SELECT
          A.VC_CD_COA, A.LNAME, A.FNAME, A.MNAME,
                A.CTC_CD_CITIZEN_OF, B.PROG_BEG_DT,
                B.PROG_END_DT, B.CURRENT_IND
                FROM CIP_NONIMMIGRANTS A, CIP_ELIGIBILITIES B
                WHERE A.ID = B.NI_ID;

END GET_FM_STATUS;
 

END ALL_STATUS;
/
0
Comment
Question by:CZLONG1
1 Comment
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6790024
I have refunded your 50 points to you for this and will move it to the PAQ to close it due to the age and no activity.  If the question is still active for you, please post it again to draw current attention.

Also, check the ALL TOPICS link below for new Topic Areas that were added today.  The HELP DESK link on the left is very helpful for site related questions.

Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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