AS2: Need to increase LoadVars.load (and sendAndLoad) timeout to over 30 seconds

Hi,
I have found that loadVars. load and sendAndLoad times out
ofter 30 seconds.
I need to override this to increase it, as there can be a
longer time to process my call.
Is there a way to do this?
I have seen posts on using onHTTPStatus to detect statuses,
but it still times out after 30 seconds.
Testing against PHP code and the 'sleep()' function proves
the 30 second time out.

Have you tried online, in the browser yet? I tried your php
script with
sleep(35) and it failed consistently within Flash, but worked
fine when
running online. Also, I think PHP has a built in 30sec
timelimit - which you
can override:
<?PHP
set_time_limit(0);
sleep(35);
echo("&reply=HELLO");
?>
using 0 in set_time_limit() allows the script to execute
without a time
limit.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • When i try to open week cal it loads and then closes after a few seconds...I have checked for updates, turned the phone off then on, closed out of the app and then opened it again...nothing works!  Any suggestions?

    When i try to open week cal it loads and then closes after a few seconds...I have checked for updates, turned the phone off then on, closed out of the app and then opened it again...nothing works!  I have thought about deleting the app from my phone and then reloading it again but I worry that it will delete all my calendar info???  Any suggestions?

    To reset, press and hold the Home and power buttons until the silver apple appears.
    I would delete the app, reset the phone and then download the app again. Your calendar information should be stored on the phone as Week Cal uses the Calendar app information.
    Best of luck.

  • Web page loads and then disappears after a few seconds

    I have been visiting the More magazine website (www.moremagazine.co.uk ) for some time. However in the last week or so when I click on a link in the e mail I get from them the page loads as usual, stays for a few seconds and then disappears - only a blank page remains.. Even if I refresh I still get a blank page. If I type the URL in manually I just get a blank page immediately.

    Anyone solve this yet?

  • Gmail on FF4 (osx10.5.8) increase cpu-load and speed up the fans, but why?

    sorry but ff4 uses more cpu-power than all my adobe-software –
    and i dont need an extra heating at the office the fans runnig instantly louder than without ff4.
    the following add-ons are installed:
    - 1 Password 3.5.9
    - awsome screenshot 2.3
    - firefox sync 1.7
    - xmarks 3.9.10
    and some labs are activated in gmail.
    THX for every answer and sorry for the german slang …
    tom

    AnointedOne wrote:
    My 1 year old MBP running OSX has got more sluggish. The little multicolored spinning timer wheel keeps appearing a lot more now, and I hate it! My MBP takes drastically longer to boot when i turn it on as opposed to when I just got it. My web pages take a long time to load. Can anyone help me? WHat can I do to speed up my MBP. I am a novice mac user. Again my mac is getting slower by the day and i dont know how to increase its overall performance. Is there any simple software that can boost overall performance or will I have to reformat my MBP? I have a 200gb HD with 50 gb free and 4 gb of ram.
    Welcome to Apple's discussion groups.
    Launch the Activity Monitor utility. Pull down the list near the top and set it to "All Processes". Click on the "CPU" column heading to put the highest CPU consumers at the top. Also click on the "CPU" tab in the lower part of the window to check the value for "% Idle". If that value is much above zero, check the other categories for signs of resource problems. If nothing there points to a possible problem, launch the Console utility and look for messages that might suggest a problem. If you see messages that you have trouble interpreting, post them here and someone should be able to help.

  • Increased Power, Load and Temperature in Linux 3.4.X

    Hi,
    After this morning upgrade, power consumption of my system has increased from 8-10W to 15-18W at idle and  15-18W to 25-35W while using flash. Their were lot of upgrade today including linux-ck. I get some innocuous boot errors and now am getting another new one.
    Dmesg log
    kernel /vmlinuz-linux-ck root=/dev/sda8 ro elevator=bfq i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1
    Linux arch 3.4.0-1-ck #1 SMP PREEMPT Sat Jun 2 09:37:08 EDT 2012 x86_64 GNU/Linux
    [donnie@arch ~]$ dmesg | grep watchdog
    [ 0.310821] NMI watchdog enabled, takes one hw-pmu counter.
    [ 7.409081] watchdog: INTCAMT: cannot register miscdev on minor=130 (err=-16).
    [ 7.409224] watchdog: error registering /dev/watchdog (err=-16).
    [ 7.409331] mei 0000:00:16.0: unable to register watchdog device.
    [donnie@arch ~]$ dmesg | grep mux
    [ 9.430857] [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
    [donnie@arch ~]$ dmesg | grep tpm
    [ 6.585003] tpm_tis 00:0a: 1.2 TPM (device-id 0x0, rev-id 78)
    [ 7.236372] tpm_tis 00:0a: A TPM error (6) occurred attempting to read a pcr value
    [ 7.236530] tpm_tis 00:0a: TPM is disabled/deactivated (0x6)
    New Error
    Update 0 Power consumption and temperature is normal on stock kernel but excessive with Linux-ck which I had been using for a while. Also updated the title so that thread gets proper attention.
    Update 6/20 Not a linux-ck problem but probably an upstream bug. Please see the bug report https://bugs.archlinux.org/task/29850#comment95791
    Last edited by donniezazen (2012-07-04 00:29:59)

    donniezazen wrote:I am not using testing repo.
    OK!  Your comparison is _NOT_ a fair one.  You are comparing 3.3.7-1-ARCH to 3.4.1-2-ck.  You must compare 3.4.1-1-ARCH to 3.4.1-2-ck or you must compare 3.3.7-1-ARCH to 3.3.7-1-ck.
    Here is a link (just for you) to the 3.3.7-1-ck kernel and headers:
    LINK PLACEHOLD -- do you need x86_64 or i686?
    donniezazen wrote:It would be devastating if Linux kernel slumps into another power regression in 3.4 series. I recently recovered from aspm coma.
    Fasten your seatbelt as I suspect your problem is not with the the linux-ck kernel but with something in the 3.4 series...
    Summary:
    1) Compare 3.4.1-1-ARCH to 3.4.1-2-ck
    or
    2) Compare 3.3.7-1-ARCH to 3.3.7-1-ck
    Please remove the 'linux-ck' from the title of your post if indeed it is not to blame.
    EDIT: why are you not using the corex version of the headers and of the kernel?  They are a matched pair.
    donniezazen wrote:repo-ck/linux-ck-corex 3.4.1-2 (ck-corex) [installed]
    repo-ck/linux-ck-headers 3.4.1-2 (ck-generic) [installed]
    Last edited by graysky (2012-06-07 00:00:18)

  • IPhone 4s - Need to increase font size and add dashes to Phone Contact Details and Recents

    I am in my 40s and need reading glasses.  I can't read the Phone>Contacts details/numbers because the font is too small and there are no dashes between numbers.  Same applies to Phone>Recents but there are dashes that make the numbers more readible.  3rd party apps such as Big Names, Big Contacts don't apear to be maintained to work with new IOS releases.  Changing fonts in Accessbility doesn't alter the fonts in Contact details nor Recents.  Zoom is inconsistant and inconvient.
    This should be a simple fix for Apple or a 3rd party app that will help retain middle aged iPhone users and attract new users.  No one want to use there reading glasses to read their phone.  Andriod makes font selection a snap.
    Thoughs or adivce?
    Thanks...
    Neil

    Settings>General>Accessibility>Zoom. Turn it on. That or try bifocals (I've had to wear bifocals since I was in my mid 30's) or consider monovision contacts or lasik.

  • Please Help! Outlook Today Loads and Then Disappears Within 1-2 Seconds

    Hello,
    I have been using Outlook 2007 since January of 2012 on this computer with no issues. One day I came in and my outlook today page was completely blank which it is normally full. I really depend on having this feature which allows me to have all of my information
    up front. I have tried several steps over the last couple weeks and can not fix it.
    I have tried;
    1. Restarting the computer & restarting the program
    2. Downloaded and imported my pst file from outlook exchange
    3. Ran the ScanOST and ScanPST applications with no results
    4. Uninstalled and reinstalled the program
    The weird thing is I can see the information and it is accurate (ie. tasks, calendar events, messages in inbox) however it will disappear within 1-2 seconds of loading the program. Also if I click on calendar or inbox and then back to outlook today it will
    load again for another 1-2 seconds and then disappear.
    I also have a laptop running the same installer of outlook 2007, on the same network in my office, and outlook today works perfect on it, however I rely on my desktop to get my work done.
    Please any help will be greatly appreciated!

    Sounds like you did everything I can think of but here are a few other suggestions:
    -Right click the folder where outlook today is and choose data file properties and then Home page. Click Restore Defaults
    -Disable any Add-ins
    -Remove any PST files
    -Recreate your outlook profile
    -Start Outlook in safe mode (which disables add-ins) by going to a run line and typing outlook.exe /safe.
    -Rename outlwvw.dll to outlwvw.old.  The file is located in C:\Program Files\Microsoft Office\Office12\1033 or C:\Program Files (x86)\Microsoft Office\Office12\1033

  • I want to take my Mac to the US (from Australia) with me, do I need to do anything special and will it work over there? Thanks

    I want to take my Mac desktop to the US, from Australia. Do I need to do anything special to be able to do this? Will it work?
    thanks

    It will work fine - all you need is a travel adaptor to convert the power connector. You don't need a transformer or anything like that.
    Matt

  • Some ADDS and MODS are taking over 10 seconds to perform using SJSDS 6.0

    Please see [http://forum.java.sun.com/thread.jspa?threadID=5313954|http://forum.java.sun.com/thread.jspa?threadID=5313954] as I am not sure why it has been posted in Sun Identity Manager. thanks

    Please see [http://forum.java.sun.com/thread.jspa?threadID=5313954|http://forum.java.sun.com/thread.jspa?threadID=5313954] as I am not sure why it has been posted in Sun Identity Manager. thanks

  • Increase the SGA and PGA size

    Hello Guru,
    How do i check what is my SGA and PGA..I am using TOAD..
    I need to increase the SGA and PGA size...Please help..
    I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
    So i believe, I need to increase the SGA and PGA size...
    Thanks,
    Haraprasad...

    805936 wrote:
    Hello Guru,
    How do i check what is my SGA and PGA..I am using TOAD..
    I need to increase the SGA and PGA size...Please help..
    The current size for both SGA and PGA can be shown depending on the version of the db. For 10g, the SGA size is shown by sga_target parameter and PGA size is shown by pga_aggregate_target parameter. For 11g, the parameter memory_target sets them both.
    I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
    So i believe, I need to increase the SGA and PGA size...No, IMO, your believe doesn't hold much base as the evidence that you have used is insufficient. What is the debugging mode or compile mode ? For what purpose you are using these modes? 200 million is not a very large number if you ask me. Tell us your db version and based on it, generate a Statspack or AWR report and post here.
    HTH
    Aman....

  • Making a call over HTTPS with LoadVars, XML.load(), and WebService - Yes or No?

    Hello, do LoadVars, XML.load(), or WebService support HTTPS-based endpoints, Yes or No?
    BACKGROUND
    ============
    I've been trying to get a LoadVars to actually make a call to an HTTPS endpoint. There is nothing in the documentation that says it can't. I know that there's also XML.load() and WebService class, but from the looks of it they don't do HTTPS.
    During my tests I have absolutely no issues with making calls to the same service over HTTP. When I change it to HTTPS I don't see HTTPStatus or even failures. Also, netstat on my server will show a connection being established with the endpoint when using HTTP but not when using HTTPS. I've also tried setting SSLVerifyCertificate to "false" in my Server.xml and after a restart of AMS it doesn't help, same symptom.
    I've also googled and looked through all Adobe forum posts that I can find:
    https://forums.adobe.com/message/4938426#4938426
    https://forums.adobe.com/thread/1661461
    https://forums.adobe.com/thread/782037
    https://forums.adobe.com/message/74981
    https://forums.adobe.com/message/5107735#5107735
    https://forums.adobe.com/message/7815#7815
    https://forums.adobe.com/message/53870#53870
    https://forums.adobe.com/message/87797#87797
    WebService Class - http://stackoverflow.com/questions/5619776/webservice-and-fms
    The best I found from the posts above is a non-commital answer from adobe staff at https://forums.adobe.com/message/4938426#4938426 and a 3rd party person saying that Webservice doesn't work at http://stackoverflow.com/questions/5619776/webservice-and-fms.
    All I need is an official supported/not-supported from the Adobe staff. Shouldn't be to hard after 5 years or so of ignoring the questions in the forum right?

    Adobe, please provide some details to your current and possibly potential customers, in at least one of the many unanswered posts about making HTTPS requests from AMS.
    P.S.
    realeyes_jun,
    RealEyes Media has been an inspiration to me for many years, and I would like to thank them for their efforts to better the media streaming community.
    Also, would it be possible to please release the source to REDbug?

  • My itunes wont load and i need it because i locked my ipad

    Help my itunes wont load and i need it because i had locked my ipad

    Check to see whether it's running under processess in task manager (Right click task bar).  If so, end process and try again.

  • Need to increase performance-bulk collect in cursor with limit and in the for loop inserting into the trigger table

    Hi all,
    I have a performance issue in the below code,where i am trying to insert the data from table_stg into target_tab and in parent_tab tables and then to child tables via cursor with bulk collect .the target_tab and parent_tab are huge tables and have a row wise trigger enabled on it .the trigger is mandatory . This timetaken for this block to execute is 5000 seconds.Now my requirement is to reduce it to 5 to 10 mins.
    can someone please guide me here.Its bit urgent .Awaiting for your response.
    declare
    vmax_Value NUMBER(5);
      vcnt number(10);
      id_val number(20);
      pc_id number(15);
      vtable_nm VARCHAR2(100);
      vstep_no  VARCHAR2(10);
      vsql_code VARCHAR2(10);
      vsql_errm varchar2(200);
      vtarget_starttime timestamp;
      limit_in number :=10000;
      idx           number(10);
              cursor stg_cursor is
             select
                   DESCRIPTION,
                   SORT_CODE,
                   ACCOUNT_NUMBER,
                     to_number(to_char(CORRESPONDENCE_DATE,'DD')) crr_day,
                     to_char(CORRESPONDENCE_DATE,'MONTH') crr_month,
                     to_number(substr(to_char(CORRESPONDENCE_DATE,'DD-MON-YYYY'),8,4)) crr_year,
                   PARTY_ID,
                   GUID,
                   PAPERLESS_REF_IND,
                   PRODUCT_TYPE,
                   PRODUCT_BRAND,
                   PRODUCT_HELD_ID,
                   NOTIFICATION_PREF,
                   UNREAD_CORRES_PERIOD,
                   EMAIL_ID,
                   MOBILE_NUMBER,
                   TITLE,
                   SURNAME,
                   POSTCODE,
                   EVENT_TYPE,
                   PRIORITY_IND,
                   SUBJECT,
                   EXT_PRD_ID_TX,
                   EXT_PRD_HLD_ID_TX,
                   EXT_SYS_ID,
                   EXT_PTY_ID_TX,
                   ACCOUNT_TYPE_CD,
                   COM_PFR_TYP_TX,
                   COM_PFR_OPT_TX,
                   COM_PFR_RSN_CD
             from  table_stg;
    type rec_type is table of stg_rec_type index by pls_integer;
    v_rt_all_cols rec_type;
    BEGIN
      vstep_no   := '0';
      vmax_value := 0;
      vtarget_starttime := systimestamp;
      id_val    := 0;
      pc_id     := 0;
      success_flag := 0;
              vstep_no  := '1';
              vtable_nm := 'before cursor';
        OPEN stg_cursor;
              vstep_no  := '2';
              vtable_nm := 'After cursor';
       LOOP
              vstep_no  := '3';
              vtable_nm := 'before fetch';
    --loop
        FETCH stg_cursor BULK COLLECT INTO v_rt_all_cols LIMIT limit_in;
                  vstep_no  := '4';
                  vtable_nm := 'after fetch';
    --EXIT WHEN v_rt_all_cols.COUNT = 0;
        EXIT WHEN stg_cursor%NOTFOUND;
    FOR i IN 1 .. v_rt_all_cols.COUNT
      LOOP
       dbms_output.put_line(upper(v_rt_all_cols(i).event_type));
        if (upper(v_rt_all_cols(i).event_type) = upper('System_enforced')) then
                  vstep_no  := '4.1';
                  vtable_nm := 'before seq sel';
              select PC_SEQ.nextval into pc_id from dual;
                  vstep_no  := '4.2';
                  vtable_nm := 'before insert corres';
              INSERT INTO target1_tab
                           (ID,
                            PARTY_ID,
                            PRODUCT_BRAND,
                            SORT_CODE,
                            ACCOUNT_NUMBER,
                            EXT_PRD_ID_TX,         
                            EXT_PRD_HLD_ID_TX,
                            EXT_SYS_ID,
                            EXT_PTY_ID_TX,
                            ACCOUNT_TYPE_CD,
                            COM_PFR_TYP_TX,
                            COM_PFR_OPT_TX,
                            COM_PFR_RSN_CD,
                            status)
             VALUES
                            (pc_id,
                             v_rt_all_cols(i).party_id,
                             decode(v_rt_all_cols(i).product_brand,'LTB',2,'HLX',1,'HAL',1,'BOS',3,'VER',4,0),
                             v_rt_all_cols(i).sort_code,
                             'XXXX'||substr(trim(v_rt_all_cols(i).ACCOUNT_NUMBER),length(trim(v_rt_all_cols(i).ACCOUNT_NUMBER))-3,4),
                             v_rt_all_cols(i).EXT_PRD_ID_TX,
                             v_rt_all_cols(i).EXT_PRD_HLD_ID_TX,
                             v_rt_all_cols(i).EXT_SYS_ID,
                             v_rt_all_cols(i).EXT_PTY_ID_TX,
                             v_rt_all_cols(i).ACCOUNT_TYPE_CD,
                             v_rt_all_cols(i).COM_PFR_TYP_TX,
                             v_rt_all_cols(i).COM_PFR_OPT_TX,
                             v_rt_all_cols(i).COM_PFR_RSN_CD,
                             NULL);
                  vstep_no  := '4.3';
                  vtable_nm := 'after insert corres';
        else
              select COM_SEQ.nextval into id_val from dual;
                  vstep_no  := '6';
                  vtable_nm := 'before insertcomm';
          if (upper(v_rt_all_cols(i).event_type) = upper('REMINDER')) then
                vstep_no  := '6.01';
                  vtable_nm := 'after if insertcomm';
              insert into parent_tab
                 (ID ,
                 CTEM_CODE,
                 CHA_CODE,            
                 CT_CODE,                           
                 CONTACT_POINT_ID,             
                 SOURCE,
                 RECEIVED_DATE,                             
                 SEND_DATE,
                 RETRY_COUNT)
              values
                 (id_val,
                  lower(v_rt_all_cols(i).event_type), 
                  decode(v_rt_all_cols(i).product_brand,'LTB',2,'HLX',1,'HAL',1,'BOS',3,'VER',4,0),
                  'Email',
                  v_rt_all_cols(i).email_id,
                  'IADAREMINDER',
                  systimestamp,
                  systimestamp,
                  0);  
         else
                vstep_no  := '6.02';
                  vtable_nm := 'after else insertcomm';
              insert into parent_tab
                 (ID ,
                 CTEM_CODE,
                 CHA_CODE,            
                 CT_CODE,                           
                 CONTACT_POINT_ID,             
                 SOURCE,
                 RECEIVED_DATE,                             
                 SEND_DATE,
                 RETRY_COUNT)
              values
                 (id_val,
                  lower(v_rt_all_cols(i).event_type), 
                  decode(v_rt_all_cols(i).product_brand,'LTB',2,'HLX',1,'HAL',1,'BOS',3,'VER',4,0),
                  'Email',
                  v_rt_all_cols(i).email_id,
                  'CORRESPONDENCE',
                  systimestamp,
                  systimestamp,
                  0); 
            END if; 
                  vstep_no  := '6.11';
                  vtable_nm := 'before chop';
             if (v_rt_all_cols(i).ACCOUNT_NUMBER is not null) then 
                      v_rt_all_cols(i).ACCOUNT_NUMBER := 'XXXX'||substr(trim(v_rt_all_cols(i).ACCOUNT_NUMBER),length(trim(v_rt_all_cols(i).ACCOUNT_NUMBER))-3,4);
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)
              values
                (id_val,
                 'IB.Correspondence.AccountNumberMasked',
                 v_rt_all_cols(i).ACCOUNT_NUMBER);
             end if;
                  vstep_no  := '6.1';
                  vtable_nm := 'before stateday';
             if (v_rt_all_cols(i).crr_day is not null) then 
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)
              values
                (id_val,
                 --'IB.Correspondence.Date.Day',
                 'IB.Crsp.Date.Day',
                 v_rt_all_cols(i).crr_day);
             end if;
                  vstep_no  := '6.2';
                  vtable_nm := 'before statemth';
             if (v_rt_all_cols(i).crr_month is not null) then 
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)
              values
                (id_val,
                 --'IB.Correspondence.Date.Month',
                 'IB.Crsp.Date.Month',
                 v_rt_all_cols(i).crr_month);
             end if;
                  vstep_no  := '6.3';
                  vtable_nm := 'before stateyear';
             if (v_rt_all_cols(i).crr_year is not null) then 
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)
              values
                (id_val,
                 --'IB.Correspondence.Date.Year',
                 'IB.Crsp.Date.Year',
                 v_rt_all_cols(i).crr_year);
             end if;
                  vstep_no  := '7';
                  vtable_nm := 'before type';
               if (v_rt_all_cols(i).product_type is not null) then
                  insert into child_tab
                     (COM_ID,                                            
                     KEY,                                                                                                                                        
                     VALUE)
                  values
                    (id_val,
                     'IB.Product.ProductName',
                   v_rt_all_cols(i).product_type);
                end if;
                  vstep_no  := '9';
                  vtable_nm := 'before title';         
              if (trim(v_rt_all_cols(i).title) is not null) then
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE )
              values
                (id_val,
                 'IB.Customer.Title',
                 trim(v_rt_all_cols(i).title));
              end if;
                  vstep_no  := '10';
                  vtable_nm := 'before surname';
              if (v_rt_all_cols(i).surname is not null) then
                insert into child_tab
                   (COM_ID,                                            
                   KEY,                                                                                                                                          
                   VALUE)
                values
                  (id_val,
                  'IB.Customer.LastName',
                  v_rt_all_cols(i).surname);
              end if;
                            vstep_no  := '12';
                            vtable_nm := 'before postcd';
              if (trim(v_rt_all_cols(i).POSTCODE) is not null) then
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)                              
               values
                (id_val,
                 'IB.Customer.Addr.PostCodeMasked',
                  substr(replace(v_rt_all_cols(i).POSTCODE,' ',''),length(replace(v_rt_all_cols(i).POSTCODE,' ',''))-2,3));
              end if;
                            vstep_no  := '13';
                            vtable_nm := 'before subject';
              if (trim(v_rt_all_cols(i).SUBJECT) is not null) then
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)                              
               values
                (id_val,
                 'IB.Correspondence.Subject',
                  v_rt_all_cols(i).subject);
              end if;
                            vstep_no  := '14';
                            vtable_nm := 'before inactivity';
              if (trim(v_rt_all_cols(i).UNREAD_CORRES_PERIOD) is null or
                  trim(v_rt_all_cols(i).UNREAD_CORRES_PERIOD) = '3' or
                  trim(v_rt_all_cols(i).UNREAD_CORRES_PERIOD) = '6' or
                  trim(v_rt_all_cols(i).UNREAD_CORRES_PERIOD) = '9') then
              insert into child_tab
                 (COM_ID,                                            
                 KEY,                                                                                                                                            
                 VALUE)                              
               values
                (id_val,
                 'IB.Correspondence.Inactivity',
                  v_rt_all_cols(i).UNREAD_CORRES_PERIOD);
              end if;
                          vstep_no  := '14.1';
                          vtable_nm := 'after notfound';
        end if;
                          vstep_no  := '15';
                          vtable_nm := 'after notfound';
        END LOOP;
        end loop;
                          vstep_no  := '16';
                          vtable_nm := 'before closecur';
        CLOSE stg_cursor;
                          vstep_no  := '17';
                          vtable_nm := 'before commit';
        DELETE FROM table_stg;
      COMMIT;
                          vstep_no  := '18';
                          vtable_nm := 'after commit';
    EXCEPTION
    WHEN OTHERS THEN
      ROLLBACK;
      success_flag := 1;
      vsql_code := SQLCODE;
      vsql_errm := SUBSTR(sqlerrm,1,200);
      error_logging_pkg.inserterrorlog('samp',vsql_code,vsql_errm, vtable_nm,vstep_no);
      RAISE_APPLICATION_ERROR (-20011, 'samp '||vstep_no||' SQLERRM:'||SQLERRM);
    end;
    Thanks

    Its bit urgent
    NO - it is NOT urgent. Not to us.
    If you have an urgent problem you need to hire a consultant.
    I have a performance issue in the below code,
    Maybe you do and maybe you don't. How are we to really know? You haven't posted ANYTHING indicating that a performance issue exists. Please read the FAQ for how to post a tuning request and the info you need to provide. First and foremost you have to post SOMETHING that actually shows that a performance issue exists. Troubleshooting requires FACTS not just a subjective opinion.
    where i am trying to insert the data from table_stg into target_tab and in parent_tab tables and then to child tables via cursor with bulk collect .the target_tab and parent_tab are huge tables and have a row wise trigger enabled on it .the trigger is mandatory . This timetaken for this block to execute is 5000 seconds.Now my requirement is to reduce it to 5 to 10 mins.
    Personally I think 5000 seconds (about 1 hr 20 minutes) is very fast for processing 800 trillion rows of data into parent and child tables. Why do you think that is slow?
    Your code has several major flaws that need to be corrected before you can even determine what, if anything, needs to be tuned.
    This code has the EXIT statement at the beginning of the loop instead of at the end
        FETCH stg_cursor BULK COLLECT INTO v_rt_all_cols LIMIT limit_in;
                  vstep_no  := '4';
                  vtable_nm := 'after fetch';
    --EXIT WHEN v_rt_all_cols.COUNT = 0;
        EXIT WHEN stg_cursor%NOTFOUND;
    The correct place for the %NOTFOUND test when using BULK COLLECT is at the END of the loop; that is, the last statement in the loop.
    You can use a COUNT test at the start of the loop but ironically you have commented it out and have now done it wrong. Either move the NOTFOUND test to the end of the loop or remove it and uncomment the COUNT test.
    WHEN OTHERS THEN
      ROLLBACK;
    That basically says you don't even care what problem occurs or whether the problem is for a single record of your 10,000 in the collection. You pretty much just throw away any stack trace and substitute your own message.
    Your code also has NO exception handling for any of the individual steps or blocks of code.
    The code you posted also begs the question of why you are using NAME=VALUE pairs for child data rows? Why aren't you using a standard relational table for this data?
    As others have noted you are using slow-by-slow (row by row processing). Let's assume that PL/SQL, the bulk collect and row-by-row is actually necessary.
    Then you should be constructing the parent and child records into collections and then inserting them in BULK using FORALL.
    1. Create a collection for the new parent rows
    2. Create a collection for the new child rows
    3. For each set of LIMIT source row data
      a. empty the parent and child collections
      b. populate those collections with new parent/child data
      c. bulk insert the parent collection into the parent table
      d. bulk insert the child collection into the child table
    And unless you really want to either load EVERYTHING or abandon everything you should use bulk exception handling so that the clean data gets processed and only the dirty data gets rejected.

  • How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    Hi ajoddo20,
    Welcome to the Apple Support Communities!
    You can use Home Sharing to import music and other media from one computer to another. Please use the instructions and information located in the attached article for information on how to complete the process. 
    iTunes 11 for Mac: Use Home Sharing to import items from another iTunes library
    Cheers,
    Joe 

  • HT1535 When I plug my ipad into the computer to sync a message pops up saying it can not sync because there is not enough memory in the itunes library. Do I need to increase the memory in my itunes library and how?

    When I plug my ipad into the computer to sync a message pops up saying that the ipad can not sync because there is not enough memory on the itunes library. Do I need to increase the itunes library memory and how do I do this, or do I just need to trasnfer things out of itunes? Thanks.

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with              
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Before you reinstall the Apple software, also remove iCloud vi Control Panel Remove programs. The reinstall the Apple programs
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

Maybe you are looking for

  • Advice needed - multiple monitors, what software is right for this?

    I have an Intel Mac Pro (10.6) at work with 4 monitors, with screen sharing activated. I have an Intel mac Pro (10.6) at home with 2 monitors. I'd like to be able to do screen sharing, and the clients I've tested so far are driving me nuts - I can't

  • Scroll function in MS Word, version 2011 Office for Mac

    Updated to OS X Yosemite, and the ability to scroll line by line thru the document is no longer working.  I can move thru the document using the sliding bar on the side, but difficult to get to when more than one file is open.  Have tried closing pro

  • Snr reset needed ?

    Until recently, I used to sync at over 10Mbps but then my line deteriorated to the point where I had difficulty using the phone due to crackling. FInally, a couple of weeks ago, it got to the point where callers were unable to connect, getting a mess

  • Purchase not recieved, but charged anyway.  no response

    hi, i cant seem to find any info on this... i made an in app purchase and didnt receive what i paid for, assumed the sale didnt go through, but then got a receipt. first, i contacted the maker of the app (blizzard) and they confirmed the sale didnt g

  • Provisional auto reversal entry

    Dear Friends, Can any one please update about the auto reversal entry. How to config the reversal entry in the system. Client need to pass the reversal entry in end of the month and same to be reverse first day of next month. Thanks in advance. Thank