Problem in BPM with long loop

Hi,
I have "Integration Process" which reads data items from DB table and sends it to webserive.
Webservice accepts only 1 item of data, so I have loop in bpm interating through every data item and calling webservice.
The process works fine with no errors, but if number of loop iterations exceeds some number (like 100 or somthing close to that) the process cannot go to "completed" status. It goes through all iterations, sends all data and just hanging in system with status=started. When i'm trying to delete it with SWWL transaction i got dump. I also see same dump from user WF-BATCH occuered exactly the same time the process excpected to go to completed state.
Error analysis
    Short text of the error message:
    "Exception CX_SY_NO_HANDLER triggered by CL_SWF_XI_INSTANCE============CP in
     line 1 with text: An exception with the type CX_SY_OPEN_SQL_DB occurred, but
     was neither handled locally, nor declared in a RAISING clause"
Any ideas how to resolve this problem?
Regards,
Ilya.
Edited by: Ilya Karnauhov on Oct 1, 2009 9:29 AM

hi,
>>an error code with 99
check cache refesh and tell me if it gives any error!?
regards,
Felix

Similar Messages

  • Problem with long text

    Hi folks,
    iam uploading longtext in transaction KP06 in bdc programing using create_text.
    now my problem is if i pass selection criteria
    case 1:
    Vertion : N0
    fiscal year : 2007
    planner profile: CCPLAN4
    then the budeget plan data uploading successfully along with long text.
    case2: Vertion : N1
    in this case also everthing wrking fine
    case3: Vertion : 001
    in this case budgetplan data uploading sucessfully but longtext is not uploading,
    i debbug the proragm , create_text also returning sy-subrc = 0. but if i check in KP06  the long text is not there.
    data declaration
    vertion : VERSN type C(3)
    can u tell me the problem is in logic or with FM ?
    note : i checked with save_text also.
    regards
    neeru

    HI Naimesh,
    the FM Create_text internally contains both FMs save_text and commit_text,
    even i debug the FM in case of vertion N1, N0 and 001,
    all the cases sy-subrc = 0.
    code:
    CLEAR G_OBJNR.
    LOOP AT RECORD.
    COST = RECORD-BDC01.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = COST
        IMPORTING
          output = COST.
        CONCATENATE 'KS' p_kokrs record-bdc00 INTO g_objnr.
            SELECT SINGLE * FROM COSP WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
      IF SY-SUBRC = 0.
          LEDNR = COSP-LEDNR.
          OBJNR = COSP-OBJNR.
          GJAHR = COSP-GJAHR.
          WRTTP = COSP-WRTTP.
          VERSN = COSP-VERSN.
          KSTAR = COSP-KSTAR.
          HRKFT = COSP-HRKFT.
          VRGNG = COSP-VRGNG.
          VBUND = COSP-VBUND.
          PARGB = COSP-PARGB.
          BEKNZ = COSP-BEKNZ.
          TWAER = COSP-TWAER.
    CONCATENATE LEDNR OBJNR INTO OBJNR.
    CONCATENATE OBJNR GJAHR INTO TNAME1 separated BY SPACE10.
    CONCATENATE TNAME1 WRTTP VERSN INTO TNAME2.
    CONCATENATE TNAME2 KSTAR INTO TNAME3 separated BY SPACE.
    CONCATENATE TNAME3 VRGNG INTO TNAME4 separated BY SPACE4.
    CONCATENATE TNAME4 BEKNZ INTO TNAME5 separated BY SPACE10.
    CONCATENATE TNAME5 TWAER INTO TNAME.
    I_THEAD-TDOBJECT = 'CCSS'.
    I_THEAD-TDID = 'COSP'.
    I_THEAD-TDNAME = TNAME.
    I_THEAD-TDSPRAS = 'E'.
    APPEND I_THEAD.
    i_tline-tdformat = '*'.
    I_TLINE-TDLINE = RECORD-LONGTEXT.
    APPEND I_TLINE.
    loop at i_thead.
    CALL FUNCTION 'CREATE_TEXT'
      EXPORTING
        FID               = I_THEAD-TDID
        FLANGUAGE         = I_THEAD-TDSPRAS
        FNAME             = I_THEAD-TDNAME
        FOBJECT           = I_THEAD-TDOBJECT
      SAVE_DIRECT       = 'X'
      FFORMAT           = '*'
      TABLES
        FLINES            = i_tline
    EXCEPTIONS
      NO_INIT           = 1
      NO_SAVE           = 2
      OTHERS            = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CLEAR I_TLINE.
    REFRESH I_TLINE.
    CLEAR I_THEAD.
    REFRESH I_THEAD.
      SELECT SINGLE * from cokp into itab WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
    if sy-subrc = 0.
       itab-TXFLG = 'X'.
       append itab.
       write:/ 'Text saved for', record-bdc00 , record-bdc01.
       else.
          write:/ 'Text saved for', record-bdc00 , record-bdc01.
          ENDIF.
    ENDIF.
    my program wrking fine but the long text is not visible for vertion 001.
    regards
    niru

  • Problem with a loop

    Hello All
    I'm working on a Flash Gallery and I'm having some issues
    with a loop and it's probably something simple I don't know so I
    thought I'd see if someone can help me.
    the problem is that once the thumbnail panel is populated the
    image I want to display from a rollover is no longer defined. As I
    mentioned I was hoping someone could shed some light on this.
    [code]
    // create the thumbnail panel
    var i = -1;
    while(++i<thumbList.length) {
    name = "item"+i;
    thumbs_mc.duplicateMovieClip(name,i);
    this[name]._x = i*spacing;
    this[name].contentPath = "children/" + thumbList
    // show the larger pic on rollover
    this[name].onRollOver = function() {
    picture.contentPath = "children/" + thumblist;
    [/code]
    by using this I get an error of: "error opening
    URL...undefined"

    mark2685 wrote:
    Well, the array of student objects is larger than 2, there are about 6 students so it would have to get the highest from TestScore 1 and the lowests from TestScore 2 out of all of the students, not just those 2. And I want the entire object stored in the chessTeam array. Does this make sense?No you're not reading my code right (BTW - add an open brace on the for loop top and set score2 to 101), or else I'm not understanding you requirements correctly. The student array can hold as many Students as needs be. You stated that you have only two scores that you care about and so that's the 1 and the 2. Based on the Student class you've shown us, this should work, but you'll have to try it before you know.

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT

    error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT  nfs sharing

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • Long string problem while communicating with DLL

    Hi
    In our project, we encountered problems about passing strings longer than 255 characters while the SAP system communicates with a dll method.
    We do not want to use file operations as the intermediary layer. Is there a way to handle this situation other than a file-related solution?
    Thanks & Regards...
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

    Hi
    Sorry for answering late. The dll is created via VB. At the ABAP side, a type having length greater than 255 or the string type gives error. This seems to be a restriction of OLE interface?
    Thanks...
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • APD - error when activating, problem: 7.0 variable with long technical name

    Hello everybody!
    I have got the following problem:
    I created an APD, with one filter on 0calday using a variable. This variable was created on our own and works without any problems. It's a 7.0 variable with a long description "W_E_M_0CALDAY_WDLAS"
    If I try to activate the APD I get an error message "Analysis Process Has Errors, Activation Is Not Possible" and "Variable W_E_M_0CALDAY_WDLAS does not exist actively". But this variable is active!
    My colleague told me, that there seems to be a problem with long technical names of variables in APD. I tried to find a SAP note to this topic, but I didn't.
    Had anyone else this problem? How was it solved? Or are there any SAP notes I didn't find?
    Thanks for your help!
    Bettina

    In the meantime I copied the variable to a shorter name, but it still doesn't work. I tried it with a 3.x variable and a 7.0 variable. In the exit I first added an OR condition to the when-case, but this didn't also help. Afterwards I copied the whole coding in a separate when-clause.
    Stil not successful. Factory calender is OK. The variables also work in a normal query but not in the APD - the result of the last workday is always '00000000'.
    Any ideas?
    Kind regards,
    Bettina

  • Has anyone else had problems with long wakeup times on Cinema displays?

    We're having problems with long wakeup times on our Cinema Display. Noticed it after the Maverick update.
    Need help please. This thing is nothing more than a boat anchor to my developers... frustrating, expensive boat anchor.
    Thoughts?
    Thanks,
    Jeff Stutzman

    Hey Jeff,
    Thanks for the question. I understand you are experiencing issues with an external display and your MacBook Air. The following resource may provide a solution:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    While you should give all of the troubleshooting steps a whirl, definitely make sure to follow the steps in this section:
    Reset the system
    You can reset the Mac's parameter RAM and SMC.
    Thanks,
    Matt M.

  • Probably simple problem with while loops

    I was programming something for a CS class and came across a problem I can't explain with while loops. The condition for the loop is true, but the loop doesn't continue; it terminates after executing once. The actual program was bigger than this, but I isolated my problem to a short loop:
    import java.util.Scanner;
    public class ok {
    public static void main(String[] args){
         Scanner scan = new Scanner(System.in);
         String antlol = "p";
         while(antlol == "p" || antlol == "P"){
              System.out.println("write a P so we can get this over with");
              antlol = scan.nextLine(); 
    //it terminates after this, even if I type "P", which should make the while condition true.
    }

    Thanks, that worked.
    I think my real problem with this program was my CS
    teacher, who never covered how to compare strings,Here's something important.
    This isn't just about comparing Strings. This applies to comparing ANY objects. When you use == that compares to see if two references refer to the same instance. equals compares objects for equality in the sense that equality means they have equal "content" as it were.

  • T60 - Standby problems with long in activity

    Hi All,
    Hopfully someone can point me in the right direction with a issue i'm having with one of the T60 Thinkpads.
    Here's the run down:
    We brought 3 T60's (type 6369-A56) last december (online web sale). 1 of the three is displaying problems when dealing with standby mode. If the laptop goes into standby mode for longer than anywhere between 30mins to 1hr the laptop doesn't resume from standby when you either open the lid of the laptop or use the Fn function key. When either action is taken to bring the laptop out of standby mode the cresent moon LED remains lit, the HDD LED lights up for a breif second and then turns off, the power indicator turns on and say's solid, the screen remains blank at all times. When this happens you can hear/feel the HDD spinning up and doing something and you can also hear the processor fan spin into action as if it were coming out of standby. Having mains power doesn't seem to make a difference with this problem.
    I've already spoken to Lenovo support RE this matter and they believe it is a software related problem. I've done some further testing to try and determine that, this is what I've done...
    I took a Norton Ghost image of one of the 2 working T60's HDD's (standby works perfectly on the other two laptops) and used that Image to ghost the HDD in the faulty T60, this gave me two Identical laptops (hardware and software). The power scheme for the laptop is as follows, Turn off Display @ 5mins, go into Suspend Mode @ 15mins. I left both laptops alone at exactly 9:05, 5mins later the screens when blank, @ 15mins later both went into standby mode. 45mins after standby mode had kicked in I came back to both laptops and used the Fn key to resume the laptops(at the same time) and the faulty T60 didn't come back from standby and the same symptons as mentioned eariler happened.
    After that happen I decied to see what would happen if I switched the HDD's between the laptops (hdd from faulty laptop into the working laptop, hdd from working laptop into faulty laptop). After switching the HDD's over I ran the same tests as above. Again 45mins after standby mode had been active I used the Fn key to resume from standby and the laptop with the hdd from the faulty laptop worked straight off the batt, however the hdd from the working laptop in the faulty laptop displayed the same problems as mentioned above, thus ruling out the software as the cause of the problem.
    My question is, knowing all of that, where is the issue likly to be? Is it going to be RAM related or board related?
    Is the likley outcome going to be returning it to Lenovo for repair?
    Cheers
    Chris
    Solved!
    Go to Solution.

    Thanks Cedric,
    At the time the tests were done, both were using battery power (levels were as close as ai could get them at the time, but they were around the 85% mark when the first test was carried out), however as mentioned in my OP the problem is still there when using Mains or Battery power.
    Hibernation is disabled on both laptops (it was disabled before I created the Ghost HDD Image, I have checked that both still have it disabled)
    Just to satisfy your curiosity, the faulty T60 already had the latest BIOS updates installed as apart of some intital testing that I had performed (its running System BIOS version 7IET32WW), however the working laptop was running the previous version. I've since updated that system and both are now running the same version.
    Since upgrading the BIOS so that they both match, I decided to Load BIOS defaults (F9) with only 1 change (that change is to the SATA Mode from AHCI to Compatibility) to both machines.
    I ran the same tests as before, but this time using mains power and the problem is still present on the original laptop displaying the symptoms. There also seems to be a second issue which is related to this problem, if i shut the laptop down and try to reboot 9 out of 10 times i get the following message:
    Windows could not start because the following file is missing or corrupt:
    \WINDOWS\SYSTEM32\CONFIG\SYSTEM
    You can attempt to repair this file by starting Windows Setup using the original Setup CD-ROM.
    Select 'r' at the first screen to start repair
    No sometimes I can restart the machine again and it will boot into WindowsXP, however most times I cannot. And a repair will resolve the issue but not always.
    In regards to any BIOS settings, there aint that many options in the bios that deal with power management (nothing that I can see that deal with standby mode), whats the problem you've seen with the hibernate function?
    Cheers
    Chris

  • Problem with Long and BigDecimal DataType convertion

    HI,
    I have an application which talk to MySQL database with Spring JDBC layer and everything runs like a champ :)
    Now I am converting the same application with the same DAO implementation to communicate with oracle database and I am having some trouble converting DataType from database to my java code.
    For example before with MySQL I would convert any Integer coming from the database to Long datatype and it worked. Now it seems that Int datatype from oracle comes as a BigDecimal type.
    I am thinking about two approaches writing an additional implementation to implement my dao interfaces or if there is some trickery that I can bypass doing that and work around these datatype incompatibility from MYSQL to Oracle.
    I can also put bunch of try and catch statements and if fails with Long try with BigDecimal, but still don't buy it as the best solution.
    Here use also code snippet:
    User u = new User();
                        u.setObjectId((Long) m.get("oid"));//This works with MYSQL backend but not with Oracle so the raw object seem to be coming as BigDecimal datatype
                        u.setLogon((String) m.get("logon"));
                        u.setPassword((String) m.get("password"));
                        u.setName((String) m.get("uname"));
                        u.setCompany(companyDAO.getById((Long) m.get("cOid")));Any help will be appreciated.
    Edited by: kminev on Mar 3, 2010 12:25 PM

    //This is my entity class
    public class User implements Comparable<User>  {
        private Long objectId = 0L;
        private Company company;
        private String logon = "";
        private String password = "";
        private String name = "";
        private boolean hasAdminRights=false;
        private boolean hasMaintenanceRights=false;
    //This is my bean class
    <bean id="userDAO" class=" com.myorg.myapp.dao.jdbc.UserImpl">
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property>
            <property name="companyDAO">
                <ref local="companyDAO"/>
            </property>
            <property name="companyAccessDAO">
                <ref local="companyAccessDAO"/>
            </property>
        </bean>

  • Why does my iPhone 4 not charge correctly?  Problem is definitely with the phone and not charges or chords.  Phone will charge but very slowly and no icon comes on.  Computer and iTunes doesn't recognize it a being connected.

    My iPhone 4 quit charging correctly.  It does charge but very slowly and icon doesn't indicate it as charging.  I've checked cables and charges and the problem is definetily with the phone.  My car stereo no longer recognizes it as a device.  Neither does the computer.  The real strange thing to me is that when I plug it into my old klispch speaker dock it will play songs.  My battery life is good when it is charged so I don't think its the battery. I've tried resetting the phone and cleaning the charging port.  I'm out of warranty.
    Would disconnecting the battery possibly reset it from some glitch or is the charging port got some bad contacts?

    I checked with the Genius Bar.  It was a new dilema to the lady that was helping me.  She took it to a back room and worked on it but it came out the same.  She gave me some options for repair or credit for replacement.
    I just kept the phone and put up with slowly charging it by plugging it in and then turning it off.
    I couldn't transfer anything from itunes.
    I finally got fed up and bought a new charging port for $10. and a toolkit for $3.  I looked up a video on youTube for the replacement and did it.
    That solved all the problems, it was the charging port, must have been some bad pins or something because it patially worked.

  • MSI 7870 TF 2GD5/OC black screen with sound loop

    hello,
    Im getting the black screen with sound loop during the gaming. i have to shut down pc.
    in win log is no info about problem, just that the win was not shuted down correctly..
    no matter whats type of game, sometimes after 15 minutest sometimes after 4 hours.
    no matter on card temperature.
    tried reinstall windows, tested on all driver versions for 7870 from amd, but still same...
    found an article about this
    http://w w w .behardware.com/news/12705/black-screens-and-radeon-hd7870-a-solution.html
    now the card is in RMA

    Then ask MSI: >>How to contact MSI.<<
    This is a Users-to-Users Forum

  • Using DBMS_DATAPUMP with LONG data type

    I've got a procedure below that calls the DBMS_DATAPUMP procedure using a REMOTE_LINK to move a schema from one database to another. However, a couple of the tables within that schema have columns with the LONG data type. And when I run it I get an error saying that you cannot move data with the LONG data type using a REMOTE LINK. So no data in those particular tables gets moved over.
    Has anyone else had this issue? If so, do you have a work around? I tried adding a CLOB column to my table and setting the new CLOB to equal the LONG, but I couldn't get that to work either...even when I tried using a TO_LOB. If I could get that to, then I could just drop the LONG, move the schema, then recreate the LONG column on the opposite side.
    Here's my procedure....
    DECLARE
         /* EXPORT/IMPORT VARIABLES */
         v_dp_job_handle                    NUMBER ;          -- Data Pump job handle
         v_count                              NUMBER ;          -- Loop index
         v_percent_done                    NUMBER ;          -- Percentage of job complete
         v_job_state                         VARCHAR2(30) ;     -- To keep track of job state
         v_message                         KU$_LOGENTRY ;     -- For WIP and error messages
         v_job_status                    KU$_JOBSTATUS ;     -- The job status from get_status
         v_status                         KU$_STATUS ;     -- The status object returned by get_status
         v_logfile                         NUMBER ;
         v_date                              VARCHAR2(13) ;
         v_source_server_name          VARCHAR2(50) ;
         v_destination_server_name     VARCHAR2(50) ;
    BEGIN
         v_project := 'TEST' ;
         v_date := TO_CHAR(SYSDATE, 'MMDDYYYY_HHMI') ;
         v_source_server_name := 'TEST_DB' ;
         v_dp_job_handle := DBMS_DATAPUMP.OPEN(
              OPERATION     => 'IMPORT',
              JOB_MODE     => 'SCHEMA',
              REMOTE_LINK => v_source_server_name,
              JOB_NAME     => v_project||'_EXP_'||v_date,
              VERSION          => 'LATEST') ;
         v_logfile := DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE ;
         DBMS_DATAPUMP.ADD_FILE(
              HANDLE          => v_dp_job_handle,
              FILENAME     => v_project||'_EXP_'||v_date||'.LOG',
              DIRECTORY     => 'DATAPUMP',
              FILETYPE     => v_logfile) ;
         DBMS_DATAPUMP.METADATA_FILTER(
              HANDLE          => v_dp_job_handle,
              NAME          => 'SCHEMA_EXPR',
              VALUE          => '= '''||v_project||''' ') ;
         DBMS_DATAPUMP.START_JOB(v_dp_job_handle) ;
         v_percent_done := 0 ;
         v_job_state := 'UNDEFINED' ;
         WHILE (v_job_state != 'COMPLETED') AND (v_job_state != 'STOPPED')
         LOOP
              DBMS_DATAPUMP.GET_STATUS(
                   v_dp_job_handle,
                   DBMS_DATAPUMP.KU$_STATUS_JOB_ERROR + DBMS_DATAPUMP.KU$_STATUS_JOB_STATUS + DBMS_DATAPUMP.KU$_STATUS_WIP,
                   -1,
                   v_job_state,
                   v_status) ;
                   v_job_status := v_status.JOB_STATUS ;
              IF v_job_status.PERCENT_DONE != v_percent_done THEN
                   DBMS_OUTPUT.PUT_LINE('*** Job percent done = '||TO_CHAR(v_job_status.PERCENT_DONE)) ;
                   v_percent_done := v_job_status.PERCENT_DONE ;
              END IF ;
              IF BITAND(v_status.MASK, DBMS_DATAPUMP.KU$_STATUS_WIP) != 0 THEN
                   v_message := v_status.WIP ;
              ELSIF BITAND(v_status.mask, DBMS_DATAPUMP.KU$_STATUS_JOB_ERROR) != 0 THEN
                   v_message := v_status.ERROR ;
              ELSE
                   v_message := NULL ;
              END IF ;
              IF v_message IS NOT NULL THEN
                   v_count := v_message.FIRST ;
                   WHILE v_count IS NOT NULL
                   LOOP
                        DBMS_OUTPUT.PUT_LINE(v_message(v_count).LOGTEXT) ;
                        v_count := v_message.NEXT(v_count) ;
                   END LOOP ;
              END IF ;
         END LOOP ;
         DBMS_OUTPUT.PUT_LINE('Job has completed') ;
         DBMS_OUTPUT.PUT_LINE('Final job state = '||v_job_state) ;
         DBMS_DATAPUMP.DETACH(v_dp_job_handle) ;
    END ;

    But the application we have that uses the database cannot be changed to read from a CLOBWhy can't you change the application?
    Well, anyway you should point out to your superiors that Oracle documented years ago to not use LONGS anymore...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#sthref3806
    It clearly states:
    LONG Datatype
    Note:
    Do not create tables with LONG columns. Use LOB columns (CLOB, NCLOB) instead. LONG columns are supported only for backward compatibility.
    Oracle also recommends that you convert existing LONG columns to LOB columns. LOB columns are subject to far fewer restrictions than LONG columns. Further, LOB functionality is enhanced in every release, whereas LONG functionality has been static for several releases.
    How do I go from CLOB to LONG?I'm sorry, cannot help you on that one, I don't think you can do that at all (Oracle wants us to stop using LONGS, so, it's a one-way conversion...):
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1037232794454#15512131314505
    So: NO built_in, you'll need to write a program if the clob is ALWAYS LESS THAN 32k in size, you can use plsql..but is that the case in your case? Only you know that.
    I believe that question is still unanswered on this forum, but you might try searchin for answers on this forum, and
    the 'Database-General' forum: General Database Discussions
    Perhaps you can google a Q&D workaround...
    ( And consider convincing your collegues to just convert your LONGS to LOBS)
    Edited by: hoek on Apr 8, 2009 5:43 PM

  • Problem of communication with compactrio

    Hello,
    I am working with a compactrio 9014 and labview 8.5
    I have a problem of communication with my compactrio. I acquire sound with NI 9215 and transmit points from the fpga VI to the VI on the real time target at a rate of 10Khz. On the VI on the RT I have two loops, one determinisic running at a speed of 10Khz (0.1ms) (in this loop I will do my signal processing) and one non-deterministic running much slower (20ms) to communicate data to my computer. To communicate data to my PC, I used shared variable.
    The problem is that if I run the VI_RT, I loose immidiately the connection. I think that is because the VI is taking up all of the execution time of the
    processor and is starving out the communication loop that is used to
    send data back to my PC.
    Because of this problem, I try to configure my compactrio to automatically run on startup of my cRIO. So I follow the steps I have read in another message in the forum posted by MattP
    To make your application (RT host VI and FPGA VI) run automatically on startup of your cRIO, you will need to do the following:
    1.  Download the FPGA VI to the flash memory on your cRIO.  If
    using LabVIEW 8, right-click on the VI in the Project Explorer Window
    and select Download VI or Attributes to Flash Memory...
    2.  Build an executable out of the RT VI.  Under your RT target 
    in the Project Explorer, right-click on Build Specifications and select
    New>>Real-Time Application.  Select the source files necessary
    for your application and any support files to be included.  Click Build.
    3.. After building the RT Application, you will find its entry
    under the Build Specifications folder in your project.  Right-click on
    the application and choose Set as startup.  Right-click again and
    choose Deploy, which will download the application to your cRIO.
    With  this procedure, I thougt that I can  run my  loop faster  because I  don't have the RT VI open on my desktop  (PC), so the PC don't have to synchronise the VI. But when I startup my compactrio, I loose connection with the target...
    So, what is wrong with my project?  Is it possible to run a loop at 10kHz on the real time processor and communicate in the same time (but every 20ms) data to my PC. Can someone explain me the right procedure to do that at this frequencies?
    I have attached my project and hope that someone can help me.
    Attachments:
    Communication.zip ‏658 KB

    Hello,
    The method you use in your application to transfer the data from the FPGA to
    the RT Host use the Front Panel Interactive Communication that write/read the
    control/indicators of the FPGA VI. This method provides also risk of Race
    Condition and use uP resources.
    To avoid errors in data caused by race conditions and use less processor resources, 
    I suggest you to rewrite this part of your application with the method 
    DMA transfer from FPGA to Host.
    You will find some good tutorial at the following address.
    What
    is the Best Method For Synchronizing a LabVIEW FPGA and a Host Interface VI?
    Best Regards,
    Nick_CH

Maybe you are looking for

  • Saving a file in CS6 idiosyncracies

    Upgraded from CS4: If I open a previously worked tiff file in CS6, and make some changes, instead of being able to click Control-S as before, and have it just save, now it comes up as save as, and I have to click 3 time,s as it asks if I want to over

  • Problems accessing tables in oracle database with ejb entity bean

    I have created a simple server application that uses an entity bean (version 2.0) for an existing table in oracle database, and a session bean that is used as an outside interface for performing operations on that table. after deploying the server an

  • Is it possible to transfer my tracks to a new ipod?

    Because I really don't want the hassle of ripping all those CD's again!

  • Creating multiple Excel worksheet

    Gurus, I am downloading data into Excel from my web page by using the following: Response.setContentType("application/vnd.ms-excel"); HtmlWriter out = aResponse.getWriter(); out.print( I am able to view all the data in one Excel worksheet. Does anyon

  • No DDL commands found for activation while updating SPAM/SAINT

    Hi, Hi, While updating SPAM/SAINT version 0053 (SAPKD70053) we are getting error in activation. If we check the logs we found error related to no ddl command found for activation No DDL commands found for activation of /SDF/SWCM_PAT03D No DDL command