I am getting error in below code  ERROR ORA-06530 Please help

function get_master_client3(i_gid                    IN VARCHAR2
                                   , i_status IN VARCHAR2
                                   , i_legal_name               IN     VARCHAR2
                                   , i_conformed_name IN VARCHAR2
                                   , i_alias_name               IN VARCHAR2
                                   , i_former_name           IN VARCHAR2
                                   , i_address                    IN     VARCHAR2
                                   , i_city                    IN     VARCHAR2
                                   , i_postal                    IN     VARCHAR2
                                   , i_state                    IN VARCHAR2
                                   , i_country_code          IN      VARCHAR2
                                   , i_incorporation          IN     VARCHAR2
                                   , i_reg_type               IN     VARCHAR2
                                   , i_reg_code               IN     VARCHAR2
                                   , i_industry_code          IN     VARCHAR2
                                   , i_source_system          IN     VARCHAR2
                                   , i_client_type               IN     VARCHAR2
                                   , i_include_branches IN VARCHAR2 )
return types.ref_cursor AS
gcr_cursor types.ref_cursor;
o_gcr_cursor types.ref_cursor;
Type gcr_cursor_record_t is record (UICON varchar2(1000),COMPANYGID varchar2(1000),COMPANYNAME varchar2(1000),
DOMICILE varchar2(1000), ULTIMATENAME varchar2(1000) ,ULTIMATEGID varchar2(1000) , ISO2CODE varchar2(1000), ENTITY varchar2(1000) ,
SHORTNAME varchar2(1000));
Type gcrtableType_t is table of gcr_cursor_record_t INDEX BY PLS_INTEGER;
GCRTABLE_t gcrtableType_t;
GCRTABLE gcrtableType := gcrtableType(gcr_cursor_record(null,null,null,null,null,null,null,null,null));
-- i integer;
begin
gcr_cursor := GCR.get_master_client( i_gid, i_status , i_legal_name, i_conformed_name, i_alias_name, i_former_name
                                             , i_address     , i_city, i_postal, i_state     , i_country_code, i_incorporation, i_reg_type, i_reg_code
                                                  , i_industry_code, i_source_system, i_client_type     , i_include_branches );
fetch gcr_cursor bulk collect into GCRTABLE_t;
for i in 1..GCRTABLE_t.COUNT LOOP
GCRTABLE.EXTEND;
dbms_output.put_line(GCRTABLE_t(i).UICON);
GCRTABLE(i).UICON := 0 ;
GCRTABLE(i).UICON := GCRTABLE_t(i).UICON;
GCRTABLE(i).COMPANYGID := GCRTABLE_t(i).COMPANYGID; ******************************** ERROR at this LIne ORA-06530
-- GCRTABLE(i).COMPANYNAME := GCRTABLE_t(i).COMPANYNAME;
-- GCRTABLE(i).DOMICILE := GCRTABLE_t(i).DOMICILE;
-- GCRTABLE(i).ULTIMATENAME := GCRTABLE_t(i).ULTIMATENAME;
-- GCRTABLE(i).ULTIMATEGID := GCRTABLE_t(i).ULTIMATEGID;
-- GCRTABLE(i).ISO2CODE := GCRTABLE_t(i).ISO2CODE;
-- GCRTABLE(i).ENTITY := GCRTABLE_t(i).ENTITY;
-- GCRTABLE(i).SHORTNAME := GCRTABLE_t(i).SHORTNAME;
-- GCRTABLE(i) := gcrtableType(GCRTABLE_t(i).UICON,GCRTABLE_t(i).COMPANYGID,GCRTABLE_t(i).COMPANYNAME,GCRTABLE_t(i).DOMICILE,GCRTABLE_t(i).ULTIMATENAME,GCRTABLE_t(i).ULTIMATEGID,GCRTABLE_t(i).ISO2CODE,GCRTABLE_t(i).ENTITY,GCRTABLE_t(i).SHORTNAME);
-- GCRTABLE(i) := gcrtableType(gcr_cursor_record(null,null,null,null,null,null,null,null,null));
END LOOP;

I'm sure you understand that "line 1236" doesn't mean much to any of us?
For starters, I think you are missing an "END;" to it all, aren't you?
Here is your code auto-formatted, at least:
/* Formatted on 15.04.2009 10:38:41 (QP5 v5.114.809.3010) */
FUNCTION get_master_client3 (i_gid                IN VARCHAR2,
                             i_status             IN VARCHAR2,
                             i_legal_name         IN VARCHAR2,
                             i_conformed_name     IN VARCHAR2,
                             i_alias_name         IN VARCHAR2,
                             i_former_name        IN VARCHAR2,
                             i_address            IN VARCHAR2,
                             i_city               IN VARCHAR2,
                             i_postal             IN VARCHAR2,
                             i_state              IN VARCHAR2,
                             i_country_code       IN VARCHAR2,
                             i_incorporation      IN VARCHAR2,
                             i_reg_type           IN VARCHAR2,
                             i_reg_code           IN VARCHAR2,
                             i_industry_code      IN VARCHAR2,
                             i_source_system      IN VARCHAR2,
                             i_client_type        IN VARCHAR2,
                             i_include_branches   IN VARCHAR2)
   RETURN types.ref_cursor
AS
   gcr_cursor     types.ref_cursor;
   o_gcr_cursor   types.ref_cursor;
   TYPE gcr_cursor_record_t
   IS
      RECORD (
         UICON          varchar2 (1000),
         COMPANYGID     varchar2 (1000),
         COMPANYNAME    varchar2 (1000),
         DOMICILE       varchar2 (1000),
         ULTIMATENAME   varchar2 (1000),
         ULTIMATEGID    varchar2 (1000),
         ISO2CODE       varchar2 (1000),
         ENTITY         varchar2 (1000),
         SHORTNAME      varchar2 (1000)
   TYPE gcrtableType_t
   IS
      TABLE OF gcr_cursor_record_t
         INDEX BY PLS_INTEGER;
   GCRTABLE_t     gcrtableType_t;
   GCRTABLE gcrtableType
         := gcrtableType (gcr_cursor_record (NULL,
                                             NULL,
                                             NULL,
                                             NULL,
                                             NULL,
                                             NULL,
                                             NULL,
                                             NULL,
                                             NULL)) ;
    -- i integer;
BEGIN
   gcr_cursor :=
      GCR.get_master_client (i_gid,
                             i_status,
                             i_legal_name,
                             i_conformed_name,
                             i_alias_name,
                             i_former_name,
                             i_address,
                             i_city,
                             i_postal,
                             i_state,
                             i_country_code,
                             i_incorporation,
                             i_reg_type,
                             i_reg_code,
                             i_industry_code,
                             i_source_system,
                             i_client_type,
                             i_include_branches);
   FETCH gcr_cursor BULK COLLECT INTO   GCRTABLE_t;
   FOR i IN 1 .. GCRTABLE_t.COUNT
   LOOP
      GCRTABLE.EXTEND;
      DBMS_OUTPUT.put_line (GCRTABLE_t (i).UICON);
      GCRTABLE (i).UICON := 0;
      GCRTABLE (i).UICON := GCRTABLE_t (i).UICON;
      GCRTABLE (i).COMPANYGID := GCRTABLE_t (i).COMPANYGID;
   -- GCRTABLE(i).COMPANYNAME := GCRTABLE_t(i).COMPANYNAME;
   -- GCRTABLE(i).DOMICILE := GCRTABLE_t(i).DOMICILE;
   -- GCRTABLE(i).ULTIMATENAME := GCRTABLE_t(i).ULTIMATENAME;
   -- GCRTABLE(i).ULTIMATEGID := GCRTABLE_t(i).ULTIMATEGID;
   -- GCRTABLE(i).ISO2CODE := GCRTABLE_t(i).ISO2CODE;
   -- GCRTABLE(i).ENTITY := GCRTABLE_t(i).ENTITY;
   -- GCRTABLE(i).SHORTNAME := GCRTABLE_t(i).SHORTNAME;
   -- GCRTABLE(i) := gcrtableType(GCRTABLE_t(i).UICON,GCRTABLE_t(i).COMPANYGID,GCRTABLE_t(i).COMPANYNAME,GCRTABLE_t(i).DOMICILE,GCRTABLE_t(i).ULTIMATENAME,GCRTABLE_t(i).ULTIMATEGID,GCRTABLE_t(i).ISO2CODE,GCRTABLE_t(i).ENTITY,GCRTABLE_t(i).SHORTNAME);
   -- GCRTABLE(i) := gcrtableType(gcr_cursor_record(null,null,null,null,null,null,null,null,null));
   END LOOP;
END;

Similar Messages

  • Trying to update photoshop and repeatedly get error code U44M1P7, can anyone please help resolve this?

    Trying to update photoshop and repeatedly get error code U44M1P7, can you please help resolve this?

    JJMack, Thanks for the info. Let this old man digest it and see if I can put the info into action. I'll give you a feedback. Thanks for your help in this matter. I am not a tech savvy person. 
    Rueben Rueben D. Olivas Home Ph:  1-671-969-2452
    Cell Ph:  1-671-747-2453La Luz Photography
    Email: [email protected]/Guam Firehouse Cook: http://guamfirehousecook.blogspot.com/BBQGuam: http://bbqguam.blogspot.com/My Photostream: http://ruebenolivas.megashot.net/photostream

  • I have a ipod 1st gen, its frozen and wont back up. comes up with error code 1 can someone please help.

    I have a ipod 1st gen. its frozen and wont back up. comes up with error code 1. can someone please help.

    Hi billewen690,
    The resource below may help troubleshoot the issue you are having with your iPod touch being unresponsive.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    https://support.apple.com/en-us/HT201412
    Try these steps:
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    Get more help
    If you still need help after trying the steps above, contact Apple Support. 
    Last Modified: Jan 14, 2015
    Hope that helps ...
    - Judy

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

  • Everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • HT201413 error 1602 keep show what to do please help!!!

    error 1602 keep show what to do please help!!!

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • TS3694 Each time i try to restore my iPhone, an error keeps popping up(*error 1015*). Why is that? Please help me.

    Each time i try to restore my iPhone, an error keeps popping up(*error 1015*). Why is that? Please help me?

    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.

  • I updated my itunes and now every time i try to play a song 'internal error' shows up and itunes quits. Please help me....

    I updated my itunes and now every time i try to play a song 'internal error' shows up and itunes quits. Please help me....

    Hi Dance4Life85!
    I have a couple of troubleshooting suggestions for you regarding this issue. First, I would suggest that you reinstall iTunes, according to the instructions in this article:
    OS X Mountain Lion: Reinstall apps that came with your Mac
    http://support.apple.com/kb/PH11201
    To reinstall iTunes, download it from the Apple Downloads website.
    Apple Downloads website
    Note that all you will need to do is download iTunes and install it again, it will install over the version that is on your computer right now without issue. If your issue persists, you may want to see this article about troubleshooting third-party plugins for iTunes:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/TS3430
    Lastly, if neither of these resolve the issue, then you may need to recreate your iTunes library. More information on this can be found here:
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/HT1451
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Hello there! I have updated iPhone 3GS software but once the update got completed the phone is not getting just restarting it again n again. Please help.

    Hello there! I have updated iPhone 3GS software but once the update got completed the phone is not getting just restarting it again n again. Please help.

    Hello Amarchand Sharma,
    Are you working with a Windows computer?  If so, the resource below may help you troubleshoot the issue you are having restoring your iPhone.
    iOS: Unknown error containing '0xE' when connecting to a Windows PC - Apple Support
    http://support.apple.com/en-us/TS3221
    Regards,
    Judy

  • Unable to locate the Printer Code for Desktjet 3070A, please help?

    Unable to locate the Printer Code for Desktjet 3070A, please help?

    You can follow this link for steps on getting started with ePrint on the Deskjet 3070A: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02728147&cc=us&dlc=en&lc=en&product=5068754&too...=
    I am an HP employee

  • HT201272 I purchased an audiobook in Nov 2012 using iPhone 4S and then upgraded to iPhone 5 in Dec. Now I am not seeing the audio book in purchase history in iTunes. This means I am not able to get the book in my new iPhone. Please help

    I purchased an audiobook in Nov 2012 using iPhone 4S and then upgraded to iPhone 5 in Dec. Now I am not seeing the audio book in purchase history in iTunes. This means I am not able to get the book in my new iPhone. Please help.

    Audiobooks are currently a one-time only download from the store. If you don't have it on your computer (audiobooks go into the Books part of your iTunes library) nor on a backup, then if it's still in the store you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I'm trying to setup a printer go wireless through my airport extreme, but every time I try to print the printing file gets paused. I'm in loop. PLEASE HELP! (The printer is a Brother 7020  monochrome)

    I'm trying to setup a printer go wireless through my airport extreme, but every time I try to print the printing file gets paused. I'm in loop. PLEASE HELP! (The printer is a Brother 7020  monochrome)

    I had the exact same problem
    It turns out I was using a 20 foot USB cable between the printer and the Airport Extreme and the signal had become to weak to work. Try using nothing more than a 6 foot cable or try a new cable

  • HT5675 i need java 1.6 to get ,m,inecraft but it wont ever work please help?

    i need java 1.6 to get minecraft but it wont ever work someone please help me!

    Hello,
    What version of Mac OS X are you running on your iBook?
    Also check what version of java is currently installed by doing the following,
    Open Terminal, type in java -version then press Enter.  Then retrieve the current java version, in this example being 1.6.0_24

  • I dropped my iPhone and i tried to turn it on but it only comes on at curtain times. And it turns back off when I drop it just a little bit. Sometimes it takes like three days to turn back on. How do I get it to work regularly again?? Please help!!!

    I dropped my iPhone and i tried to turn it on but it only comes on at curtain times. And it turns back off when I drop it just a little bit. Sometimes it takes like three days to turn back on. How do I get it to work regularly again?? Please help!!!

    Seems like there is some physical damage causing an intermittent issue of the iPhone being unable to power on.
    You could try a reset:
    - hold the home button and sleep/wake button down at the same time
    - the iphone will turn off(keep holding) then when the Apple logo appears release both buttons
    If the reset fails I would suggest next time it powers on to try and back it up to either iTunes/iCloud then you can try a restore to factory settings or just back up and book an appointment at an Apple Store to have the iPhone evaluated.
    All the best

  • Why are songs/albums deleted off of the iTunes store? How can I get them back on the iTunes store? PLEASE help. Thank you.

    Why are songs/albums deleted off of the iTunes store? How can I get them back on the iTunes store? PLEASE help. Thank you.

    Perhaps the copyright holders chose to remove them. What album were you after?
    tt2

Maybe you are looking for

  • Need Urgent Help Please!

    HI There, I have been struggling with JavaScript code for days now, and this is my last resort! Please help...send replies or futher information to [email protected] I am trying to create a JavaScript slide show with links for Next Slide, Previous Sl

  • Why is my computer doesn't recognize my Ipod Touch?

    My computer doesn't recognize my Ipod Touch. Any suggestion?

  • Servlet Download File (XLS, PDF, DOC)

    When the user clicks the link to download a file, the Open/Save/Cancel dialog box pops up twice. Here are the headers I am setting: response.setContentType(getContentType(sFiletype)); response.setContentLength((int) file.length()); response.setHeader

  • Issues regarding workitem text

    HI All, I see the Workitem text mismatches when compared to Workitem lying in SBWP and the email send to ms outlook and also surprisingly when compared to SBWP and SOST I see the same mismatch.Can some one help me in finding the issue and also the fi

  • Premiere pro cs6 changes frame rate and changes audio pitch! Video in description! PLEASE HELP

    Im having awful issues with premiere and I cant figure it out! Please help! i have a video of my issues here! http://youtu.be/MaDj8fo6meE