DayTimeDuration operation results and fn:implicit-timezone()

This should be simple, but I don't know if it's an issue with xquila, bdbxml or if it's something I am doing wrong in my xquery.
Problem is I need the classic unix/posix representation of seconds since ... you know, so while running in windows and issuing:
(current-dateTime() - xs:dateTime('1970-01-01T00:00:00')) div xs:dayTimeDuration('PT1S')
gives me a value 3 hours different from what system is giving me and when I issue
fn:implicit-timezone()
I get what I should -PT3H which is righ for my machine.
is this right? for the time being I am forcing it by adding (fn:implicit-timezone() div xdt:dayTimeDuration('PT1S')) * -1 to the result.
Is this the correct behavior?

Oh yes, Thank you, first happy and now sad that I have to go back to XQuery classroom :( :))
Lexical format:
-?[1-9]*[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]*)?(Z|([\+\-][0-9]{2}:[0-9]{2}))?
...The time zone part is optional; when not specified, it is the empty sequence. It can also be specified using Z (meaning UTC) or a positive or negative number of hours and minutes subject to the same constraints as above (meaning that offset from UTC)
My bad.
Thanks again.
Edited by: MauricioSC on Jun 23, 2009 9:36 AM

Similar Messages

  • Avoid procedure or function calls between a SQL operation and an implicit cursor test

    when i analyse this code with code expert

    atpidgeon wrote:
    when i analyse this code with code expert
                            UPDATE P_PM_CONTROL_COUNT
                            SET AVAIL_SEG = AVAIL_SEG -1,
                                ALLOCATION = ALLOCATION -1
                            WHERE PM_UNIT_TYPE_ID = vrectab(1)
                            AND USAGE_DATE = vrectab(2)
                            AND SEGMENT_CODE = vrectab(5)
                            AND ALLOCATION - UNITS_RESERVED > 0;
                            IF sql%rowcount = 0 then --Added block and exception to prevent invetory going negative when placing multi units in same unit type out of service.
                                vErrMsg := 'Could not process your out of service request because your selection for unit '|| vrectab(3) || ' at ' || pvPropertyId || ' for ' || vrectab(2) || ' would cause segment ' || vrectab(5) || ' to be over allocated.';
                                RAISE SegOverAllocated;
                            END IF;
    i get "Avoid procedure or function calls between a SQL operation and an implicit cursor test.",as far has i know
    iff you're doing a sql%rowcount    after an update.. trying to see how many rows were updated...  you dont want procedure or function calls between the update and the sql% line
    correct me if im wrong and how would i fix it?or maybe i shouldnt
    You correct it by NOT executing function calls as part of the UPDATE statement.
    1. Issue the function calls BEFORE the update statement
    2. save the function results into variables
    3. use those variables in the UPDATE statement.
    v_rectab1 := vrectab(1);
    v_rectab2 := vrectab(21);
    v_rectab5 := vrectab(5);
    UPDATE P_PM_CONTROL_COUNT 
                            SET AVAIL_SEG = AVAIL_SEG -1,
                                ALLOCATION = ALLOCATION -1
                            WHERE PM_UNIT_TYPE_ID = v_rectab1
                            AND USAGE_DATE = v_rectab2
                            AND SEGMENT_CODE = v_rectab5
                            AND ALLOCATION - UNITS_RESERVED > 0;

  • MySQL connection and Arithmetic operation resulted in an overflow

    Hi
    I installed MySQL connector and created a user DSN. In SSIS, a data source connection using ADO Net Source created and I was able to run a simple select statement in preview. But when I run a test transferring data from MYSQL to SQL, I got the following
    error.
    Error: 0xC0047062 at Data Flow Task, ADO NET Source [59]: System.OverflowException: Arithmetic operation resulted in an overflow.
       at System.Data.Odbc.SQLLEN.op_Implicit(SQLLEN value)
       at System.Data.Odbc.OdbcDataReader.BuildMetaDataInfo()
       at System.Data.Odbc.OdbcDataReader.GetSchemaTable()
       at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.PreExecute()
    I tested by limiting only 100 records of a single column and it worked. when I changed it to 1000 limits, I get an error.
    I am wondering if this has to do with the size of the records. What is going on here?

    This means you chose a too limiting datatype.
    You need to enlarge the one in question, or use a different one that can accommodate greater values.
    Arthur My Blog

  • Drag and drop operation resulted in files gone missing

    I would really appreciate some help as I have lost about 80 files. Here's what happened: I had a big folder of several hundred files and I was moving those files– photographs – into subfolders.I selected the photo in bridge and then used a drag and drop method to move it. It all went well except in two instances. One group of photos I dragged it to the wrong folder but when I searched I found them. Another group has gone missing. I have searched the whole computer for names of some of the photos in the missing group.it is as if they vanished into thin air. What could have possibly happened?
    Thanks in advance!

    I selected the photo in bridge and then used a drag and drop method to move it. It all went well except in two instances.
    I always use the drag and drop method and if it goes wrong I usually are to fast and don't wait for Bridge to have completed or I did not point to the correct folder.
    Without knowing what system you are on and what version of bridge you are using I agree with Curt that the files must be somewhere on your system (also check the Bin) and you better use a dedicated system search for it.
    And what is "group.it"? If I do a google search it stops without result and group.it also has not understandable  or related results?

  • ODBC BI Server Bug - arithmetic operation resulted in an overflow

    I am trying to write some really simple .NET code access the Oracle BI Server ODBC driver and it's not working at all.  I've connected fine, however it seems like anything I try to do related to getting database information spits up an error "arithmetic operation resulted in an overflow".
    Here is the code:
    Dim ConnectString As String
    Dim FactoryType As String
    Dim Factory As System.Data.Common.DbProviderFactory
    Dim Connection As System.Data.Common.DbConnection = Nothing
    Dim TablesData As System.Data.DataTable = Nothing
    Dim err As String = ""
    Dim nl As String = Chr(13) + Chr(10)
    Try
        ' Connect to the database via ODBC
        ConnectString = "DSN=BSODBC_7;uid=TheUser10;pwd=************"
        FactoryType = "System.Data.Odbc"
        Factory = System.Data.Common.DbProviderFactories.GetFactory(FactoryType)
        Connection = Factory.CreateConnection
        Connection.ConnectionString = ConnectString
        Connection.Open()
        ' Request a list of tables from the database
        ' ** Tried both with restrictions and without
        ' ERROR on this line:
        ' “Arithmetic operation resulted in an overflow.”
        TablesData = Connection.GetSchema("Tables")
        ' Show the list of tables on the screen in a grid
        ' If it was successful.
        OnScreenGrid.AutoGenerateColumns = True
        OnScreenGrid.DataSource = TablesData
    Catch ex As Exception
        ' Report the error
        err = ex.Message
        If Not (ex.InnerException Is Nothing) Then
            If Not (ex.InnerException.Message Is Nothing) Then
                err = err + nl + nl + ex.InnerException.Message
            End If
        End If
        MsgBox(err, MsgBoxStyle.OkOnly + MsgBoxStyle.Exclamation, "Error")
    Finally
        ' Clean up and Close the DB Connection
        If Not (Connection Is Nothing) Then
            Connection.Close()
            Connection.Dispose()
            Connection = Nothing
        End If
    End Try
    Any Thoughts?  Is this a known bug?  Is there a fix?

    I doubt on line
    OnScreenGrid.DataSource = TablesData
    instead of array as TablesData try to take List object and assign it to OnScreenGrid.DataSource
    just in case check this
    DataGridView.AutoGenerateColumns Property (System.Windows.Forms)
    I might be wrong but just check it

  • Power query from ODBC :"DataSource.Error: Arithmetic operation resulted in an overflow"

    Good day
    Everytime I want to pull data into a query from our servers it gives the error "DataSource.Error: Arithmetic operation resulted in an overflow". What is the reason for this error, and how do I get past this bump.
    Thanks in advance
    Arnoux

    Hey Tristan. Thanks I did that yes.
    For some reason my direct MySQL connection does not want to work.
    I get the following error
    DataSource.Error: MySQL: Unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.
    This error may have been the result of provider-specific client software being required but missing on this computer.  To download client software for this provider, visit the following site and choose at minimum 'MySQL Connector/Net':

  • Premiere CS5 - Project Monitor playback is jerky after resintall of operating system and CS5

    PROBLEM: Premiere CS5 - Project Monitor playback is jerky
    This had NOT been an issue prior to reinstalling the operating system and all software.  I have read numerous articles on the forums and have tried everything I can find...with no results.
    STEPS TAKEN TO RESOLVE THE PROBLEM:
    I have scoured the articles here http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=choppy%20video&cat=support&pr oduct=premierepro and others at Cretive Cow
    I have installed all updates for CS5 Master Collection, immediately following a fresh install of the operating system and SC5 Master Collection.
    I have ensured that sequence settings match resolution and frame rates of footage - the problem persists.
    I have tested by importing both standard def AVI files created from tape and high def SONY MP4 files - the problem persists.
    I have ensured the latest Video drivers are installed (clean installation selected, so that the Windows default would be removed) - the problem persists.
    I have tried the 3D settings in NVIDIA control panel | Program Settings tab... selected Adobe Premiere Pro from the drop down menu | and chaged 'Multi-display/mixed-GPU acceleration from the value of 'Multiple Display performance' to the value of 'single display performance'; although, I ran two monitors before using this latest NVIDIA video driver and I didn't experience this jerky footage issue - the problem persisted after affecting that change; so, I switched it back. 
    Since I have 96 GB of RAM, I don't use a pagefile.  A zero MB page file is the same setting I had prior to rebuilding the C:  Regardless of whether I have a pagefile or not, the problem persists.
    I have tried creating a fresh user profile, where the user profile is created on the C: drive by default; and, where I left it there on C: to test for the jerky playback in a new PrPR project  - the problem persists.
    Regarding the C: (system drive) and why I reinstalled everything, it had become unstable and was locking up.  I ran DISK ERROR CHECKING with the FIX parameter and the system was still locking up on me.  Keep in mind that the System drive is a solid state drive.  Anyhow, I had no choice but to dive in and reinstall everything.  I wiped the system partition of the SSD using quick format and started installing the operating system.  Now, I've read the CLAIM that this cuases performance issues; but, the only place I see issues is in the video monitor playback in PrPr.  Everything else - Office applications...printing...browsing the Internet...works just fine, everything is responsive, whereas, I couldn't do ANYTHING with it before.
    SYSTEM CONFIGURATION:
    The Operating system and all software is installed on C:
    All data files and most profile related folders are stored on D:
    C:\ (one Intel Solid State Drive - SYSTEM DRIVE)  Used Space: 57.5 GB  Free Space: 388 GB
    D:\ (four Western Digital 2TB drives in an on-board INTEL hardware RAID5 array & hotswapable backplane) used space: 1.28 TB Free space: 4.16TB
    Adobe Premiere Pro CS5 VERSION: 5.0.3 (005 (MC: 218798))
    Operating System    Microsoft Windows 7 Ultimate Version    6.1.7601 Service Pack 1 Build 7601
    System Manufacturer    Intel Corporation
    System Model    S5520SC
    System Type    x64-based PC
    Video    NVIDIA Quadro FX 4800 driver v.320.78
    Display        Dell 27" LCD (DisplayPort)
    Display        Dell 27" LCD (DisplayPort)
    Processor    Intel(R) Xeon(R) CPU           X5680  @ 3.33GHz, 3326 Mhz, 6 Core(s), 12 Logical Processor(s)
    Processor    Intel(R) Xeon(R) CPU           X5680  @ 3.33GHz, 3326 Mhz, 6 Core(s), 12 Logical Processor(s)
    Installed Physical Memory (RAM)    96.0 GB
    Page File Space    0 bytes
    PREMIERE PRO CS5 SETTINGS:
    Monitor PLAYBACK RESOLUTION: Full
    Monitor PAUSE RESOLUTION: Full
    (regardless of this setting, the problem persists)
    PREFERENCES:
    MEMORY:
    Installed RAM: 95.9 GB
    RAM reserved for other applications: 10 GB
    Optimize rendering for: Performance
    (Changing this setting to 'memory' does not resolve the problem)
    MEDIA:
    Media Cache Files
    X - Save Media Cached files next to originals when possible
    LOCATION: D:\Users...\AppData\Roaming\Adobe\Common
    (User Profile folders were relocated to D:\ from within the properties of each folder's 'LOCATION' tab.  This is the same configureation I had prior to rebuilding the C:\drive.  Testing under a new profile where it's allowed to stay on teh system drive does NOT resolve the problem.)
    Media Cache Database
    LOCATION: D:\Users...\AppData\Roaming\Adobe\Common
    PROJECT SETTINGS:
    Scratch Disks
    Path: D:\Users...\My Documents\
    General
    Video Rendering and Playback: Mercury Playback Engine GPU Acceleration
    (Setting Viideo Rendering and Playback to 'Sofware' does not resolve the problem)
    If any of y'all have any other suggestions, I'm all ears.
    Thank you.

    I'VE RESOLVED THE PROBLEM!
    PREFACE:
    OK, I am hoping that through this week-long Operating-System-and-Software-reinatalltion excerise of mine, I have revealed something that everyone -- whom have been cursing Adobe over -- can apply to their systems to resolve this jerky video problem within PremierePro CS5 (and quite possibly other versions, too). 
    If you've read my post above, you've seen all the steps I've taken to resolve the problem.  I've read many posts, some of which have mentioned  hardware upgrade / opitmization steps that one may take to enhance performance, and hopefully resolve the problem.  I've read where people have taken these steps and have still experienced the problem...and then they curse Adobe.  Fer-shame, fer-shame, fer-shame! (nod to Gomer Pyle). 
    In my case, I knew it wasn't an Adobe issue, as it had worked flawlessly before; and, it wouldn't require a hardware upgrade or reconfigureation, as my system is completely maxed out with two processors, a system drive and a hardware RAID5 array, a CUDA-suported nVIDIA 4800 FX card, and 96 GB of RAM.  bla bla bla, puke...whatever.  Bottom line is this:
    It's not a software issue.  It's not and Adobe issue; and Gawd no!  It's NOT a PC vs. Mac issue!  HA HA.  The software had worked swimmingly well prior to the reinstallation / 'lobotomy' I perfomed on the system drive.
    SOLUTION FOR ME:
    Download and install the updated drivers for the motherboard.  Mine is an Intel Workstation Board S5520SC.  Intel has an INTEL DRIVER UPDATE UTILITY which automatically scaned my Intel system and identified drivers which needed updating.  A very handy, time-saving tool!!!  Here's the URL: http://www.intel.com/p/en_US/support/detect?iid=dc_iduu
    The scan revealed two Intel drivers needing an update:
    Intel Chipset
    Wired Networking
    and one non-intel driver:
    Creative Labs Sound Blaster X-fi
    I downloaded and installed these three drivers, rebooted, and tested PremierePro, and was extatic to find this resolved the problem.
    If you have a motherboard from another manufacturer, then you may want to navigate over to their wibsite to locate chipset and other updated drivers for your motherboard. 
    ROOT CAUSE:
    While Microsoft Windows 7 Ultimate was able to install certain default drivers during the Operating System installation (keeping in mind that this was done on an Intel Solid State Drive that I formatted using Quick Format) these default chipset drivers apparently weren't current and were ultimately the root cuase of the jerky video playback within PremierePro CS5.
    Peace

  • Thermal compound replacement, RESULTS and PICTURES

    YOU CAN HAVE A MACBOOK PRO THAT ISN'T SCORCHING HOT!!
    (note that this will NOT fix any whine or moo; they are unrelated problems)
    Here's how.
    My Mother's Macbook Pro (Or Cookbook, if you will) Arrived a week ago today. I played around with it to make sure everything is alright because my mother doesn't know how to check for things like dead pixels, bad ram, or cough improperly applied thermal compound.
    One of the first things I noticed after turning on the new MBP is how totally sweet it is! The second thing I noticed is how freaking hot it is: I recoiled in pain from the Fn key bar the first time I touched it. Disappointed, I started searching the web and sure enough, pretty much everyone who owns one is complaining that it's too hot for comfortable use.
    Apple calling this a "notebook" instead of a "laptop" is a total semantic cop-out. It's a PORTABLE COMPUTER and I must be able to trust it around my dogs, children, valuables without the MagSafe burning up or the battery swelling and bursting.
    I don't have objective figures for just how hot it was, but it was right about at my pain threshold above and below the belt, and sometimes over it. I couldn't hold my hand to it for more than a few seconds. In particular the area to the left of the touchpad was of concern. I do have before-and-after figures of the CPU and HDD; I invite yourselves to look at them:
    Before After (Temps in degrees C, ambient 25 C)
    50-60 26-35 CPU (idle)
    76-85 56-65 CPU (load)
    41 33 HDD
    In particular the HDD figures are a great relief. HDDs are notoriously sensitive to temperature and even a few degrees C can cut their lifetimes significantly. Furthermore the area is now cool to the touch and I can once again rest my left palm on it without discomfort. The ranges are due to the fact that the sensor inside the core duo is flaky. In 5 seconds it can run anywhere from +-5 to +-10. Nevertheless it is accurate enough for our purposes. Below are photos, procedure, and a rough outline of test methodologies:
    http://www.pbase.com/silentplummet/image/62641589
    Here's the idle scenario before the procedure. The computer has been on for hours (days really) and I'm doing the work I normally do on it. TextEdit is open (to a little project I'm working on) with firefox and the temperature monitor. Alt-tab is to show that those are the only programs running. CPU temp is dead at 50 C. This is INSANE for an idle figure on ANY computer; desktop, laptop, "notebook" or otherwise.
    http://www.pbase.com/silentplummet/image/62641590
    The operation area and stress test. To stress the ATI chip I've jacked up the resolution, run a couple of quartz programs, SNES9x (a hardware emulator; the software shown is called "Energy Breaker") with a brutal multitasking OpenGL hardware renderer, and Google Earth. To get the CPU going I have Adobe's Lightroom processing thumbnails, and again SNES9x. For various I/O I have two shells executing yes > /dev/null, a USB mouse plugged in, and all the HDD access from lightroom. I figure it paints a pretty good picture of the "worst case scenario" of hardware stress for a laptop like this.
    http://www.pbase.com/silentplummet/image/62641591
    The CPU core(s) is at 76 C. I should note that at this point, as hot as the CPU is, overall the case is really not much hotter than it was before. In other words, it's just as unacceptable.
    At this point I turned her off and dug in. I used a howto from Ifixit to serve as my guide. The procedure went without surprises until I got all the way to the logic board.
    http://www.pbase.com/silentplummet/image/62641592
    Dear lord!! That is an obscene amount of compound. It's casting a shadow over the rest of the board!! This gray gak is piled on so thick, it's no wonder the cooling system couldn't work effectively. It had even gotten all over components nowhere near the dies. That definitely cannot be good for their lifespan. Here's a shot of the heatpipe:
    http://www.pbase.com/silentplummet/image/62641593
    Terrible. Thermal compound has been squished out all over the place, including the chassis itself. This explains why it was getting so hot. A photo from the MBP service manual has been floating around the net, illustrating that this gross amount of compound is actually according to procedure.
    http://www.pbase.com/silentplummet/image/62641594
    Clean as a whistle. After removing the bulk of the compound with q-tips I used ArctiClean 2-step process to emulsify the rest and remove it with paper towels. You can see it's not perfect but it's close enough for me. I'm not overclocking this thing; I just want to run it "in spec" and have it not burn me. At this point, the CPU dies and the heat pipe interfaces should have mirror finishes. It's an overclocker's dream, and Apple already did the work for me.
    http://www.pbase.com/silentplummet/image/62641595
    This is how I applied Arctic Silver 5 to replace the compound I removed. Squeeze the tiniest little bit out of the syringe directly on to the die, and scrape it across with a flat edge (they recommend a razor blade but I just used a plastic ID card). Take the amount of compound you see on the Core Duo (on the right) and make a flat, even layer like the one you see on the ATI (left).
    http://www.pbase.com/silentplummet/image/62641596
    Turned it on and went straight for the hard stress test, after making sure everything was OK of course =) Wow! It reads 58 C in the screenshot, and doesn't go above 65C!! Moreover, there isn't even a bit of warmth above the Fn keys, and the HDD area is cool to the touch. I'd call this one a complete success. I'm idling right now and the temperature reads between 26 and 31C. Even the bottom is just slightly warm to the touch. Now I have a real laptop again!
    So why did this happen?
    There's a lot of confusion about the way the Macbook Pro cools itself. I admit it's confusing. Basically, Apple is shipping Macbook Pros with one cooling system, and replacing the thermal compound changes it into a very different system. Let me try to explain what I learned from digging around the hardware.
    1. The built-in thermometer in the CPU is flaky. That's why you have to access it with a kernel extension and all kinds of hacks, and why Apple circumvented it completely in the cooling system. That's right: the MBP cooling system ignores the Core Duo temperature entirely.
    2. The cooling system consists of a convective (my guess, I don't think anyone really knows what kind of) heatpipe which is in the base, directing heat out to two heatsinks which are then to be cooled by two fans if need be.
    3. There are two temperature sensors. One is on the heatpipe itself, and the other one is on the chassis just next to the right fan. Probably the hardware monitors these temperatures and the differential between them to decide when to activate the fans and how long.
    4. Behavior before the replacement procedure: The CPU core would get hot, hotter than I've ever seen a CPU go, at 80-85C. Most people confirm their MBPs also exhibit this. Where was this heat going? Well the fans didn't turn on until I put it at full load. Even when the fans did turn on, there wasn't much warm exhaust coming out of the vents at the back. The chassis heated up until it was unbearable, and most of the excess heat was being radiated away from it.
    To sum up, the ineffective thermal interface between the CPU dies and the heat pipe was inhibiting heat from tripping the fan sensors. This explains why the fans didn't turn on until drastic temperatures were attained, and why the chassis got so hot. Essentially, the chassis was serving as a big heatsink for the CPU, which is the only reason it didn't overheat and shut down.
    Effective, Apple, but not quite appropriate.
    5. Behavior after the replacement procedure: The first thing you notice is that the fans scream from the second you turn the thing on. They aren't going full blast but pretty close to it. An effective thermal interface using an APPROPRIATE AMOUNT of AS5 (anything would do but I figured if I'm applying thermal compound, why not go for the authority) allows the heat to go straight from the cores into the heatpipe, tripping the sensor early and fast. The fans come on, I can feel hot air coming out the back, and the chassis now removed from the thermal equation is cool and comfortable again.
    Of course, the thermal equation is different from before, and from the way Apple has tuned the fans to work from the factory configuration. This is more cooling than we probably need, and I foresee an update to Tiger allowing us to choose the thermal/noise tradeoff for ourselves.
    Well, I hope that explains it, and I hope that those of you still suffering the abuses of your "in spec" MBP can take some hope from my findings, or are emboldened to go ahead and repeat the procedure yourself. I will post informative links here.
    http://www.ifixit.com/Guide/85.1.0.html
    http://www.arcticsilver.com/
    http://forums.somethingawful.com/showthread.php?s=&threadid=1864582 (This is where I learned of the thermal paste issue)
    Remember if you ever open up your MBP to NOT BREAK ANYTHING and please, always read the instructions before you reach in. =)

    methanol, my conclusion is that Apple's specifications for thermal grease application are technically sound. As a corollary, I put the postings claiming that isn't so in the Urban Myth category.
    There's a lot of technical literature on design and manufacturing specifications for thermal grease use, the kind of literature that appears in professional technical publications and is written by engineers. That literature supports Apple's thermal grease specifications. Putting it another way, Apple's engineers have a lot more technical training and experience than the average hobbyist who is working from the directions that came with Arctic Silver.
    Yes, my computer has the "messy" looking application of thermal grease. No, it isn't inappropriate and doesn't need to be modified, and Apple did not make a quality assurance/quality control mistake.
    Posts about the thermal grease modification began appearing several months ago, followed by Hardware Monitor charts showing considerable differences in "before fix" and "after fix" temperatures. I found, however, that I could easily replicate those before and after charts, and my computer compared favorably with the "after fix" temperature charts. Why? There was no quality control on the generation of the charts. And of course some owners damaged their computers in the process of taking them apart and putting them back together. Not a good idea, in my opinion.
    Painstaking manual application of thermal grease might result in an insignificant drop in CPU temperature, perhaps 2 or 3C. Trying that in a mass production situation would result in more CPU failures.
    True, some people got very significant reductions of case temperatures. That will happen if the sensors are not working (broken connection) and the fans run full out.

  • EXS 24 Logical end-of-file reached during read operation Result code = -39

    EXS kit Trip Hop Remix will not completely load. Upon trying to load it I get the error, Logical end-of-file reached during read operation Result code = -39. The kit ends up lacking samples. It worked at one time but now it will not load up. To try and fix I extracted two kits with the same name but oddly they are slightly different sizes and have different creation dates, one 2004 the other 2007 hmmm (one goes in Garage band for remix tools the other gets placed in 02 Electronic Drum kits) from the install disks using Pacifist hoping to replace corrupted files. NG. I also reinstalled all the samples from the LP8 install disk, still NG. Anybody have a solution. THanks.

    To further clarify, the samples are all located in the folder Garage band/.../.../.../Sampler Files/Treated Percussion Sets/Perc-DnB+Triphop. They are used in the EXS24 Trip Hop Remix kit.exs. The 3 samples that seem to be causing the error are, YT2BGLRHTX02_3ue.aif, YT2BGLRHTX03_3ue.aif, YT2BGLRHTX04_3ue.aif. The kit is useless and my song is screwed up now that the kit will not load. Any ideas for a fix out there ?

  • [PWS0007] Operation result set not found.

    Hi,
    I am working with java,db2 on AS/400.
    When I am using my application with multiple users hitting the submit at the same time,I am getting
    the following error:
    Exception: [PWS0007] Operation result set not found. Cause . . . . . : The handle specified for the operation result set to be filled, returned, or used as the based on result set is not found for the server.
    Recovery . . . : Correct the operation result set handle and do the function again.
    Can anybody please tell me what could be the problem?
    Thanks in advance.

    problem could be
    1)Resulsets objects are not closing after getting data (like end of rRrsultSet while loop)
    2)it is better close statements and connection objects also.

  • Conversion of long and int: strange result and no warning

    Why does Java allow this?
    long l = Long.MAX_VALUE / 10;
    System.out.println(l); // result 922337203685477580
    int i = (int)l;
    System.out.println(i); // result -858993460The compiler accepts it and the runtime accepts it. Why? Complete nonsense is the result!
    The same happens with using a Long object and calling the intValue() method.
    Can someone explain it to me?

    What do you think of operator overloading?Well, I don't have much influence -:) But this is what Guy Stele, SUN Fellow, say:
    Overloaded operators are still a subject of controversy. They are almost indispensable for certain kinds of mathematical work, but people who oppose adding them to the Java language point out, quite rightly, that the feature was badly abused in C++ for nonmathematical purposes, making code much harder to read than necessary. Most Java applications are nonmathematical in nature. One could make a good argument that commercial applications have no need for operator overloading, except that commercial applications do use (or should use) BigDecimal arithmetic, and it would be really nice to be able to use + and - and * and / with BigDecimal numbers. Much the same can be said of so-called "lightweight classes": their greatest value would lie in supporting numerical concepts such as complex numbers and interval arithmetic.
    We have an interesting decision to make that is more a political or business question than a technical one: should the Java language be extended to support the needs of mathematical applications? If so, then I would argue strongly for introducing operator overloading and lightweight classes -- I'm pretty sure such facilities would also get used for other purposes. If not, then maybe we should just make + and - and * and / work for the BigInteger and BigDecimal classes as a special case, much the same way that + is already a special case for the String class.

  • XML operation resulted an XML data type exceeding 2GB in size. Operation aborted.

    I have table with one million rows, when i am using xml path ('Root'), it giving me an error 
    "XML operation resulted an XML data type exceeding 2GB in size. Operation aborted."
    This is a limitation of sqlserver. I have to xml path because i have to create nodes and attributes. In more complex case i will be joining multiple tables to get id and other attributes so combining multiple xmls in not an option here.
    any workaround....thanks in advance

    Here an example of your query that retrieve record in batch of 2 records. In real code, you should save the last id retrieved and call the query in a loop.
    DECLARE @BATCHSIZE AS integer
    SET @BATCHSIZE = 2
    DECLARE @LASTID As Integer
    SET @LASTID = 0
    select top(@BATCHSIZE) id as "@id"
    ,name as "@name"
    select id as "@id"
    ,name as "@name"
    select *
    from @products p
    where p.customer_id = cs.id
    group by id,customer_id,name
    for xml path ('product'),Root('products'),type
    from @customer cs
    where cs.client_id = c.id
    group by id,client_id,name
    for xml path ('customer'),Root('customers'),type
    from @client c
    where c.id > @LASTID
    order by c.id
    for xml path ('clients'),Root ('Main')

  • Printing or downloading individual operation results recording in in-proces

    Hi, pls advise the t-code that is reqquired to print or download particular operation results recording values in in-process insp?

    Goto QA11 or Qa12   selection  inspection point Tab select operation  go to partial  lots u got the standard report.
    or u want specific operation wise report sit with ur technical guy and  start development.if  any query revert me back
    Edited by: Lakshmiananda prasad on Sep 12, 2009 8:11 AM

  • HT1386 I just reinstalled my windows operating system and decided to put on windows 8.  After loading all of my music back into a freshly installed itunes, my 4th gen ipod is not recognized by itunes.  My 1st gen ipod nano works with no problem.  Help!

    reinstalled my windows operating system and decided to put on windows 8.  After loading all of my music back into a freshly installed itunes, my 4th gen ipod is not recognized by itunes.  My 1st gen ipod nano works with no problem.  I can eliminate any problems with the cable and connection.
    I've stopped and started the service, and also have performed cold reboots.
    Nothing seems to have helped the situation.
    Help!

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    iTunes for Windows: Device Sync Tests
    Have you tried on another computer to help determine if you have a computer or iPod problem?
    The iPod Classic uses different drivers than the Nano

  • See my code that no me error after complied but not give me pdf result and

    hi master
    sir i use this code for create the pdf
    ExternalContext econtext = getExternalContext();
    InputStream stream = econtext.getResourceAsStream(PREFIX);
    try {
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    JasperPrint jasperPrint = null;
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    JRExporter exporter = null;
    HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
    FacesContext fcontext = FacesContext.getCurrentInstance();
    exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
    response.getOutputStream());
    exporter.exportReport();
    fcontext.responseComplete();
    } catch (Exception ex) {
    log(" Error Description" , ex);
    error("Error counting rows: " + ex.getMessage() );
    error("Error counting rows: " + ex ); }
    sir this code not give any error but also not create /display the pdf
    i try to find the where problem occurred i get textfiled and send some value after one by one line
    like is this
    first time try
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    textField2.setValue(PREFIX);
    is given me right result and show /WEB-INF/reports/mfa.jasper in textfield2
    second time
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
              textField2.setValue(PREFIX);
    when i press button second time this time page not give me result in textfield2 and show blank it means
    only this line have error but what i could not foud out jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    use see my code and give me idea or solution of my problem
    thank�s
    aamir

    I found and easier way to do it and wrote it up here: http://developers.sun.com/jscreator/learning/tutorials/2/reports.html

Maybe you are looking for

  • Running 2 additional monitors?

    Hi there, running a new-ish 21.5" iMac. Already have one external monitor hooked up and running smoothly with the iMac display, wondering if there's any way I can hook a second one up at the same time. Maybe a pigtail splitter running from the displa

  • What is the faceplate made of? Clear glaze (what is it?)

    I am looking to machine a part for my iPod and was wondering what they used as a glaze to not only cover the faceplate but to act as an LCD shield. I have always been curious and was wondering if anyone could help me! Thanks in advanced!

  • Sapscript - medruck  DEBUG

    I am doing a purchase order form in sap script , using a standard form Medruck and Print program SAPFM06P, i have tried to debug the script using activate dubugger in se71 and by setting a break point in the print program, i am not able to debug it i

  • Bootcamp limited wifi

    I'm getting limited wifi connection using bootcamp on windows 8.1 on bootcamp. I tried methods like reinstalling the wireless drivers, but I'm still getting the same errors. I'm not sure if I'm getting the same problem as other people on this, since

  • How to create a GIT Repository ??

    Hello, there's a manual or tutorial for create a GIT local repository server , that can be available trough my lan ?? Last edited by thdn (2010-12-28 14:43:16)