How to remove trailing space-sqlldr failed OCI-30951-exceeds max length

sqlldr failed to load the xml into xdb ( table created through schema registration) because of the padded space in element 'Country' whose maximum length is defined as '3'…Is there any way to remove the extra trailing space using the control file or xdb annotation in the xsd? Thanks!
<Address>
<StreetAddress1>1 BRKSTONE SQ </StreetAddress1>
<StreetAddress2>SUITE 5 </StreetAddress2>
<City>ANDOVER </City>
<State>MA</State>
<Country>USA </Country>
<ZipCode>01810</ZipCode>
</Address>
Here is the errors I got:
kgepop: no error frame to pop to for error 30951
OCI-30951: Element or attribute at Xpath /BranchRegulatoryFiling/Branches/Branch[1]/Address/Country exceeds maximum length
Errors in file :
OCI-30951: Element or attribute at Xpath /BranchRegulatoryFiling/Branches/Branch[1]/Address/Country exceeds maximum length
----- Call Stack Trace -----
Bus Error (core dumped)
Here is my ctl file:
load data
infile *
into table xml_stg_tbl
append
reenable disabled_constraints exceptions cnstr_xcptn_tbl
xmltype(XMLDATA)(
lobfn filler char terminated by ',',
XMLDATA lobfile(lobfn) terminated by EOF
BEGINDATA
/tmp/1025552.xml
Edited by: user10954036 on Jul 27, 2009 8:12 AM

Hi,
Its good that u pasted the complete log file. In your environment you have to run this upgrade tool only once from any of the middle tier.
And with respect to your error that u got in precheck is quite simple. All u have to do is just run this script from by connecting to portal schema using sqlplus.
Run dropupg.sql
Location-------- /raid/product/OraHome_1/upgrade/temp/portal/prechktmp/dropupg.sql
Later you re-run the upgrade tool and let me know the status.
Good luck
Tanmai

Similar Messages

  • How to remove trailing spaces in SQL PLUS spool

    Hi,
    I've requirement to pull data from tables and I'm using sqlplus spool to automate data fetch from various tables:
    I'm using the following script for the same :
    set echo off
    set feedback off
    set pagesize 0
    set linesize 2000
    set heading on
    set trimspool on
    Spool table1.TXT;
    prompt col1|col2|col3|col4|col5
    select
    LTRIM(RTRIM(col1))||'|'||
    LTRIM(RTRIM(col2)) ||'|'||
    LTRIM(RTRIM(col3)) ||'|'||
    LTRIM(RTRIM(col4)) ||'|'||
    LTRIM(RTRIM(col5)) ||'|'||
    from TABLE1 ;
    spool off
    After using trimspool on option also I'm having trailing spaces issue how to fix it?
    Thanks,
    Mahender.
    Edited by: user518071 on Oct 11, 2010 1:05 PM

    Hi,
    do you need LTRIM/RTRIM? This is namely your problem. By using a function around your column Oracle reserves the maximum lenght for the column. So what do you get without those functions? Furthermore you are concatenating all the columns. This is also a function. For getting '|' in between columns you can also set a seperator by using
    set colsep '|'Herald ten Dam
    http://htendam.wordpress.com

  • How to remove trailing space at the end of a song.

    This is related to this thread: Shorten song length (remove trailing bars) in Garageband 10.0.1
    I have also done some Googling and have found some links related to selecting and exporting regions, which I have tried, but this is what I noticed.
    It does not work when I select certain instruments, eg Synthesizer - Soundscape - Subtle Shiftscape or Synthesizer - Lead - Screamlead. I believe that what is happening is that those sounds tend to have some additional length to it. No matter where I cut my region, the additional length still get added. I don't have that problem if I don't select those instruments.
    Anybody has any ideas?

    Are you using GB 10.0.2 as well?
    I am using both - GarageBand 10.0.2 and GarageBand '11.
    And if I deselect all regions, File - Add Region to loop library is of course greyed out. Is it possible to save multiple tracks as a loop?
    No.
    Yep, I've deselected all regions. Still no luck.
    My answer above was in answer to your "This time GB felt I only needed the first 4 measures of the song, even though I defined an entire Region over the length of the song and selected everything with Ctrl-A..."
    You should be able to export the complete song, if you deselect all regions, and select all of the song using the cycle region with "Export Cycle region only" enabled, or with "Export Cycle region only" disabled, nothing selected, and the end-of-song marker correctly set.
    However, this will not get rid of the trailing empty bars.
    Reimport the bounced song to a new Ringtone project and trim it and save it as a tone, or to a regular project and add it to the Loop Library.
    Find the AIFF file of the loop in the Loop library - it will be installed in your User Library in your Home folder
    ~/Library/Audio/Apple Loops/User Loops/SingleFiles/

  • Export to text removes trailing spaces in XI R2

    I've found an article that talks about the problem of the export to text removing trailing spaces, but the article mentions that this is fixed in Crystal Reports XI with a newer version of u2ftext.dll to version 11.0.0.941.
    [1218375 - Trailing spaces ignored when exporting to Text format|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373335%7D.do]
    I'm using Crystal Reports XI R2 and my u2ftext.dll version is already 11.5.11.1470.
    I'm I missing something or is there another solution to the issue in XI R2?
    Thanks,
    Jeff

    2 Years, multiple people are asking this question.......Does anyone in support have a response for keeping the trailing spaces intact during export?

  • How to remove white space between two answer reports

    How to remove white space between two answer reports
    In Dashboard section I have 2 rqeuest. Each request renders Table View. When I display dashboard, it show white space separating the 2 table views. How do I get rid of the white space/white band ?

    See this link
    Re: Eliminating the space between two reports in OBIEE dashboard page Section
    Regards,
    Sandeep

  • How to remove trailing zeros from a fraction part.

    How to remove trailing zeros from fraction part, need standard API rather then some java code.

    user8726363 wrote:
    How to remove trailing zeros from fraction part, need standard API rather then some java code.I'm pretty sure we have all gathered that English is not your first language, but your question is not a good question in any language.
    Back up. Take a deep breath.
    Now - what's your problem ?
    Please illustrate with results, and the code (just the class/method; not your entire application) that is causing them.
    Winston

  • How to remove ghost space on Camera Roll under Usage. No photos on camera. 545MB shown on Camera Roll and 1.8MB on Photo Stream

    How to remove ghost space on Camera Roll under Usage. No photos on camera. 545MB shown on Camera Roll and 1.8MB on Photo Stream?
    Trying to clean up space to download updated iOS. Thanks!
    Have tried unsuccessfully the left swipe and pressing the red delete. No change.

    The only problem is I have only 1.6GB available and need 3.7 to update to the iOS7.  I also have 2.6GB in the "Other" catagory.  How do I access the "Others" area in iTunes in order to see what is there and what I might be able to delete in order to create the amount of space needed.  Thanks for your help!

  • How to remove remnants of a failed iTunes movie download?

    Hi, please let me summarize my recent experience with an iTunes movie rental. At this point, I mainly want to know how to regain the space on my iPad. The whole disgrace of why the download was slow, why iTunes on my mac did not know about the rental initiated on my iPad (so I had to buy it again), or the fact that after the failed download iOS seems to have left a huge blob on my iPad "forever" stands here to flag this issue for fellow users and Apple.
    Let's start with the issue that would help me solve the situation as things stand now: Now I have the movie downloaded to my mac's iTunes, finally, but now I cannot sync it to the iPad, as the latter has no free space --- as the failed download of the movie there left there a large "file", which I cannot remove. The file is not seen by the iPad's iTunes Store or Movies apps (there I deleted what I could), I closed both apps specifically, I restarted and synced the iPad multiple times, but the free space is not recovered.
    The background is that our Friday movie night ended up being a 4-hour ordeal attempting to have a fraction of the movie downloaded to start watching, and even worse, the download did not finish (or even continue!) while we started watching, but failed, and failed miserably, losing me even more time now. I started renting the movie one more time, then on my mac, hoping that the download will be faster there, but it wasn't, and now that I have the movie, I still cannot play it on my $500 "resolutionary display"...
    Not even to mention that iTunes on my mac did not know about my rental on the iPad. So instead of the promised "seamless" continuiation of the movie on the MacBook (which I hoped will have a[n even] better connection to the iTunes Store, partly because of its better antenna --- it did not), I had to pay up again, restart the download, and still see it only trickling down.
    The whole problem started with the download speed being unacceptable. I checked my downstream bandwidth, which was 16 MB/s. Then offering me to download the movie in 5 hours or so is more than disappointing.
    Funnily enough, in the end now my mac's iTunes realized that there were a purchase on my iPad, and restarted the "original" download. So now I have two 4.5 GB copies of Tinker, Tailor, Soldier, Spy on my mac! What a waste of space and bandwidth. But of course, iTunes keep track of me having started "watching" one of them, so that will soon expire. Pfff.
    What a disgrace this is. Google Play, Amazon Instant, Netflix must be gleaming. I only tried iTunes for the 1080p experience on my expensive new iPad.

    And there was more. I had to re-rent the movie on Google Play and finish it there, because the iPad won't play its downloaded fragment, nor did my mac's iTunes, which already downloaded two copies of "Happy" and three copies of the twice-rented Tinker, Tailor..., would show ANY of that under Rentals nor allow copying ANY to the iPad during syncing (though the movies at least showed up there, see the note three steps above this).
    And iTunes would still start downloading another copy of both movies whenever it checks for "unfinished downloads". I think my HDD will be fully of copies of the same movies soon.
    And the iPad still have a huge chunk of "Tinker, Tailor..." lingering on somewhere in the non-transparent file system...
    At least the iTunes support guys ("Express" Lane after 24 hours, though over a weekend) were nice in their email, and I got my money back. Now I only need my time, sanity and storage space back.

  • How to remove footer space in Table

    I have created a table in main window. after creating main area section, the footer section is appearing as an empty at the bottom. I tried to remove this space by giving zero height to the footer height, but the value is not accepted by the system. How can I remove the space created by the footer?
    rajan

    Hi Rajan,
    Can you please tell me how did you solve this problem ?
    I am facing the same issue in smartforms.
    Regards,
    Nitin.

  • How to remove empty space from a file

    Hi all,
    Can any one help on how to remove the blank spaces from a file.
    I used trim function but unable to remove the spaces.
    I have a file in which there is a name like 'JAIRAM' and am storing this file in a variable FILE_CONTENTS.
    Now am unable to compare FILE_CONTENTS with another value as it is storing empty spaces also from the file.
    Please help on this
    Thanks,
    Srini

    Trim only trim at the beginning or at the end. Can you try using the replace sql function.. see below..
    SQL> select replace('abc def',' ','') from dual ;
    REPLAC
    abcdef
    cheers

  • How to remove empty space in CSS table and move spry menu bar?

    Hello! I created www.stonecreekha.com about a year ago basically by watching youtube tutorials and haven't done much with it since so I've forgotten everything! In IE7, everything appears as it should; but in Firefox and IE8, the spry menu bar is positioned slightly higher than it should be (it slightly cuts off the foot of the golfer) and there is an empty space between the navigation bar and the photo. The source code can be viewed from the website. Here are some pics:
    IE7 - how it is supposed to look:
    IE8:
    Firefox:
    Dreamweaver:
    So basically, I need to know how to remove that empty space between the navigation bar and the picture, and how to move the spry menu bar down a few pixels, in a way that it looks correct in IE8 and Firefox, and preferably IE7 as well.
    P.S. I'm a noob so if you could be as specific as possible on what to do in Dreamweaver I'd really appreciate it. Thanks

    I belive it's because of the -minus margin being used on the navbar, that you will need to use a negative margin to bring up both the left and right bodyArea divs.
    Try :       margin-top: -18px;  on both divs.  You may need to play around with that to get it more precise.
    Again, not sure what effect that has on IE as I can't test it.
    If it affects IE, then you may need to feed IE a conditional comment for the placement of those divs.

  • How to delete trailing spaces or invalid characters

    Hi experts,
    I am loading data into a DSO. But in the activation it is showin error. Data is coming upto New data table. After that it is showing error as:
    =============================================
    Value 'Eversafe ' (hex. '204576657273616665 ') of characteristic 0CUSTOMER contains invalid characte .
    Diagnosis
        Only the following standard characters are valid in characteristic
        values by default:
        !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.
        Furthermore, characteristic values that only consist of the character #
        or that begin with ! are not valid.
        You are trying to load the invalid characteristic value Eversafe &
        (hexidecimal representation 204576657273616665 ).
    System Response
    Procedure
    Procedure for System Administration
        Try to change the invalid characters to valid characters.
        If you want values that contain invalid characters to be admitted into
        the system, make the appropriate setting in BW Customizing . Refer to
        the documentation describing the requirements for special characters and
        the possible consequences.
    ===========================================
    After i edit this in psa it is showing another record as error.
    I think we have to delete the trailing spaces. If this is the case anyone please provide me how to write routine in the transfer rules to delete the trailing space.
    Full points will be assigned.
    Thanks & Regards,
    V N.

    Hi Venkat,
    Thanks for your reply.
    How can i know what are the extra invalid characters to be permitted.
    And also i am getting a message while activating the DSO as follows:
    ============================================
    Activation of M records from DataStore object ZDSO_OO3 terminated
    Process 000033 returned with errors
    =============================================
    Please help me to solve this issue.
    Thanks & Regards,
    V N.

  • How to remove the space in the info object level?

    Hi,
    I created a Master Data info Object and gave the data type as <b>Char</b> and length as <b>30</b>.
    From the source system I am getting the data of length 9. But at PSA level I am getting some erroneous records.
    Example: Data from the source system  'a12345678'
                   Data in PSA 'a12345678b'     -
    ***  where b  - Blank
    With out changing the length how can I remove the spaces (Blank)?
    Can any one suggest me how to remove, where and what to apply ?
    I need to do any settings at the info object level or at the Transfer Rule?
    Please provide the each and every step to resolve my problem.
    Thank you

    Hey  you can allow space in RSKC tcode and execute it... .that's it .
    and below is the routine for invalid chars and you can have this in update rules ..
    data: w_fielda(x) type c.
    data: w_result(x) type c.
    data: w_temp_field(1) type c.
    data: w_count type i.
    w_fielda = COMM_STRUCTURE-/BIC/Zxxxxxx.
    w_count = 0.
    do x times.
    clear w_temp_field.
    w_temp_field = w_fielda+w_count(1).
    if w_temp_field CA
    '!"%&''()*+,-./:;<=>? _0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
    w_result+w_count(1) = w_temp_field.
    endif.
    w_count = w_count + 1.
    enddo.

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • How to remove Name space and Software Component in XI??

    Hi Frnds,
    How to delete Software Component and Name spaces.
    Please share me any documents.
    Regards,
    Raj

    Hi Raja,
    Check the sap help
    http://help.sap.com/saphelp_nw04s/helpdata/en/e8/c5fe4e336c4fdd89eb5fe5abc02865/frameset.htm
    Re: How to Remove Components
    Thanks!

Maybe you are looking for

  • Add a hyperlink to SSPR success page

    Is it possible to add a hyperlink to the FIM 2010 R2 sspr success page after a password reset? I know you can customize text by modifying the strings.resource file, but I can't seem to add a hyperlink. If I type out the HTML tag it doesn't work. Chee

  • Unable to overclock GeForce 670

    NVIDIA driver: 310.19 This card is factory clocked at 1000Mhz. In linux, it is stuck at 705Mhz (under load, max performance). I am unable to overclock this. Is there a work around here? Any input is appriciated.

  • Applying a Text Template -  - Case#0184993449

    This bug was dicovered with PRE12 and reported to Adobe began on Dec 13, 2013: When I want to apply a "Style" to a title, it will only work if I have closed the PRE 12 program and re-start again. It will not work if selected the 2nd time for another

  • EWM - set up Slotting / best practice guide

    Hi EWM-experts, who is aware of any best practice guide on how to set up and customize slotting for SAP EWM? I'm just preparing a conference room pilot for EWM. Following SAP's [integration guide|http://help.sap.com/SCENARIOS_BUS2007/helpdata/EN/45/1

  • CIO-API: Configuration beeing used when updating rules

    Hi, We're currently facing some issues when using the CIO-API to open an exisiting configuration, modify it and then save it again: Since we had some minor issues in one of our configurator-extension-rules I changed that rule, updated it in configura