Dynamic Index Disable

Hi
Oracle10g R2
Its a part of a long script i want to run without giving any subsequence input.
Query One
select constraint_name from user_constraints where lower(table_name)='my_table' and constraint_type='P'
This query give me the name of index i want to disable
Query Two
alter table my_table disable constraint 'constraint_name'
I wish to join both queries in such a way that result of Query One result will come at the place of Query Two 'constraint_name' and my index get disable
Please advise how?
Wishes

You need write a PL/SQL Block using dynamic SQL and execute immidiate
the below is the sample script for droping the sequences , edit and make it suitable for your requirements
DECLARE
CURSOR c1 IS
SELECT SEQUENCE_NAME tname from user_sequences;
Begin
FOR emp_rec IN c1 LOOP
dbms_output.put_line(emp_rec.tname);
execute immediate ' drop sequence '||emp_rec.tname;
END LOOP;
EXCEPTION
when others then
dbms_output.put_line('error' || sqlerrm);
END;
Ani

Similar Messages

  • Query performance - dynamic indexing?

    Hi Experts,
    I have a query like this:
    WITH /*+materialize*/ A AS (SELECT  A.NAME,
       B.pname,
       B.ptype,
    DECODE(C.ttype,'L','Lab','Non-Lab') ttype
    ,(CASE WHEN(C.ttype = 'L') THEN C.RES_CODE ELSE NULL END) RES_CODE
    ,(SELECT (first_name|| ' ' ||last_name) FROM resources WHERE name=C.ROLE)ROLE_desc
    ,D.currency Bill_curr
    ,D.TOTALCOST Bill_cost
    ,E.currency Home_curr
    ,E.TOTALCOST Home_cost
    ,C.role role_code
    ,(C.HOURS) AS HRS
    ,(D.TOTALAMOUNT) 
    ,(E.TOTALAMOUNT)    Home_amount
    FROM    WORKPROG C
    ,WORKPROG_VAL D
    ,WORKPROG_VAL E
    ,PROJECTS A
    ,periods B
    WHERE  C.TNO=D.TNO
    AND    C.TNO=E.TNO
    AND    D.CURR_TYP='BILL'
    AND    E.CURR_TYP='HM'
    AND    A.NAME=C.PROJ_CODE
    AND    C.PROJ_CODE LIKE 'JA%'
    AND C.TDATE BETWEEN b.start_date AND b.end_date AND b.ptype ='SMON'
    SELECT
    name,b.pname,b.ptype,ttype,res_code,role_desc,role_code,Bill_curr,SUM(Bill_cost),Home_curr,SUM(Home_cost),SUM(hrs),SUM(totalamount),SUM(Home_amount)
    FROM A
    GROUP BY name,b.pname,b.ptype,ttype,res_code,role_desc,role_code,Bill_curr,Home_currThe problem is - the WITH part takes no time to run, its very fast. But the group by part takes ages. This is because the WITH part returns millions of records.
    Is ther eany way that I can dynamically index the result set of WITH query so that the group by runs faster.
    Thanks.

    Caitanya wrote:
    Thanks Someone.
    By ages... I mean it kept running for 45 minutes after which I aborted it.
    The indexes are being used and there is no 'FULL TABLE ACCESS' in the explain plan. We are using Oracle 9i.It is quite unlikely (although possible) that getting millions of rows is done effectively by using indexes, you should actually look for performing full table scans. Only if the tables contained billions of rows it would be reasonable for the optimizer to choose an index access, but it will take hours to get millions of rows via index lookup and the corresponding single row random access to the tables.
    I assume that the statistics are not up to date because a query that returns millions of rows probably won't have a realistic cost of 102. That would mean that Oracle estimates that it takes him the time of 102 single block reads to complete the query - if you take a conservative guess of 10ms per random single block access then this means roughly 1 second.
    So please post your explain plan here, and if possible can you get the total number of rows in the tables accessed by the query and the approx. number of rows the query is supposed to return as base information.
    Here are some (generic) instructions how to generate a reasonable EXPLAIN PLAN output:
    Could you please post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your statement. Please use the \[code\] tag before and \[code\] after or {noformat}{{noformat}code{noformat}}{noformat} before and after to enhance readability of the output provided:
    In SQL*Plus:
    SET LINESIZE 130
    EXPLAIN PLAN FOR <your statement>;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Note that the package DBMS_XPLAN.DISPLAY is only available from 9i on.
    In previous versions you could run the following in SQL*Plus (on the server) instead:
    @?/rdbms/admin/utlxplsA different approach in SQL*Plus:
    SET AUTOTRACE ON EXPLAIN
    <run your statement>;will also show the execution plan.
    In order to get a better understanding where your statement spends the time you might want to turn on SQL trace as described here:
    [When your query takes too long|http://forums.oracle.com/forums/thread.jspa?threadID=501834]
    and post the "tkprof" output here, too.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Functional Indexes "Disabled"

    Hello,
    Today our application users reported an issue at around 10am that when they are going to save the transactions they are getting error. When we go through the application log we get the following kind of error messages reported there continously:
    ORA-30554: function-based index <index_name> is disabled
    When i checked the funcidx_status column of dba_indexes table the value was "DISABLED". The point is that my application was running smoothly and fine till around 10am today then how these indexes got disabled???
    Please answer me in following points:
    1. What are the possible reasons of the indexes' disabled?
    2. How I can get the information about who worked on this?
    and other questions regarding "audit point of view" although audit feature is not being used.
    However, I have changed the status of indexes to enable and everything goes fine. But need help from you experts to find the cause of the issue.
    Regards,

    Vitula demersa, puteum completur.
    And even if one needs to close the well, documentation is not being read, and four digit version is not being mentioned.
    Sorry I just escaped Emperor Nero's jail and I have been severely tortured. Where you when you posted this?
    Sybrand Bakker
    Senior Oracle DBA

  • Dynamic Index Generation

    Hi all
    I'm generating a stock price book report which contains a table grouped by product group. I would like to track the page number which contains the first product record for each product group and build a consolidated index at the start of the report. In affect
    I'm talking of a report with a dynamic table of contents/index.
    Has anyone successfully implemented something like this?
    George

    It is not a default feature, it has been requested but not implemented by Microsoft as yet
    http://connect.microsoft.com/SQLServer/feedback/details/550304/table-of-contents-in-ssrs
    In searching for an answer to your question, I saw a lot of mentions about creating a Document Map to achieve a kind of index
    http://www.msbiguide.com/?p=197

  • Dynamic index in repeater

    I am trying to dynamically assign a column name based on the current iteration of a repeater. This will be a calculated value calculated by the following (Total no of columns - current iteration + 1). Whilst I have no problems getting this using numeric values ( which would be static ), I am having no luck using a calculated index, vis:
    IlluminatorDocument_0.Output{/Rowsets/Rowset/Columns/Column[12 - Repeater_1.CurrentItem + 1]/@Name}
    I have tried assigning the calculated output to a local variable as well, but to no avail.
    Is my syntax correct?
    TIA
    Mark

    Thx Bill.
    Thats it.
    Mark

  • Dynamic index arrays BPEL

    Hi,
    What I am doing wrong below. I am trying to dynamic access index of array in BPEL.
    <assign name="InitializeLoopCounter">
    <copy>
    *<from expression="1"/>*
    *<to variable="loopCounter"/>* </copy>
    </assign>
    <while name="While1"
    condition="bpws:getVariableData('loopCounter') &lt; ora:countNodes('RetrieveEventSummary_GetEventSummary_OutputVariable','part','/ns1:GetEventSummaryResponse/AgencyEventSummary')">
    <sequence name="Sequence2">
    <assign name="AssignAgencyEventId">
    <copy>
    *<from expression="bpws:getVariableData('RetrieveEventSummary_GetEventSummary_OutputVariable','part','/ns1:GetEventSummaryResponse/AgencyEventSummary[position()=bpws:getVariableData('loopCounter')]/AgencyEventId')"/>* <to variable="RetrieveEventDetail_GetEventDetail_InputVariable"
    part="part"
    query="/ns1:GetEventDetailRequest/AgencyEventId"/>
    </copy>
    </assign>
    <invoke name="RetrieveEventDetail" partnerLink="CadDataService"
    portType="ns1:Cad" operation="GetEventDetail"
    inputVariable="RetrieveEventDetail_GetEventDetail_InputVariable"
    outputVariable="RetrieveEventDetail_GetEventDetail_OutputVariable"
    bpelx:invokeAsDetail="no"/>
    </sequence>
    </while>
    Thanks
    Edited by: user5108636 on 13/07/2011 22:49
    Edited by: user5108636 on 13/07/2011 22:49

    answered in:
    Bind variables in SQL query of DBAdapter

  • Dynamic Button - Disabled

    I have created a dynamic UICommand button with the following codes:
    UIComponent cmdConnect;
    cmdConnect = new UICommand();
    cmdConnect.getAttributes().put("id", "cmdConnect");
    cmdConnect.getAttributes().put("value", "Connect");
    cmdConnect.getAttributes().put("disabled", "false");
    The above codes are based on the following JSF tags:
    <h:commandButton id="cmdConnect" value="Connect" disabled="false"/>
    I managed to see the button but it's not disabled. Is there any problem with my dynamic coding? Please advise. Thanks.
    Yen

    cmdConnect.getAttributes().put("disabled", "false");
    I managed to see the button but it's not disabled. Is
    there any problem with my dynamic coding? Please
    advise. Thanks.If you want to disable the button, you need to set disabled to true. Setting it to false tells the browser to not disable it.

  • [ADF UIX] Dynamically enabling/disabling fields

    Hi
    Another newbie question.
    Does anybody have any pointers on how to dynamically set the read-only property of a messageInputText field dependent on the value of another field in an ADF UIX input-only-form?
    To set the scene: I have a VO with the following columns:
    1) id
    2) subtype (values L or N)
    3) field1 (only editable when subtype = L)
    4) field2 (only editable when subtype = N)
    When the user creates a new record, the subtype will default to L. I need field1 to be enabled and field2 to be disabled. If the user changes the subtype field to N, field1 must be disabled and field2 enabled.
    Is this possible? Or is this best left to the spanking new ADF Faces?
    (My environment: JDeveloper 9.0.5.2 build 1618)
    Thanks!
    CM.

    Some research reveals one method to do this: EL (Expression Language).
    As an example I had the following messageLovInput that I wanted to dynamically make read-only (similar to enabling/disabling) dependent on a value in another field 'InputRequiredInd'. As such the following tag was implemented:
    <messageLovInput
    model="${bindings.DsvId}"
    id="${bindings.DsvId.path}"
    destination="dataSetValidationRulesLevelOneLov.uix"
    partialRenderMode="multiple"
    partialTargets="_uixState"
    readOnly="${!empty bindings.InputRequiredInd.inputValue ? false : true}"/>
    You'll note in the readOnly element an "EL" expression. Essentially this says if the InputRequiredInd is not empty then return false otherwise true.
    A useful reference:
    http://www-106.ibm.com/developerworks/java/library/j-jstl0211.html
    I hope this is helpful to someone!
    Cheers,
    CM.

  • ADF Faces: Dynamically enabling / disabling client validation

    Hi Frank,
    Im using JDeveloper 11.1.1.2.0 version. I want to disable the client side validation for some condition. I have read related information from Frank blog .
    But In that frank used adf-faces-config.xml file for the following configuration.
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <skin-family>oracle</skin-family>
    <client-validation-disabled>true</client-validation-disabled>
    </adf-faces-config>
    But in my application, I could not find adf-faces-config.xml file. I dont know where to configure please provide me the information.
    Regards,
    Felix

    Hi,
    in JDeveloper 11g this no longer is an option. To disable client validation you set immediate=true on the UI component, which youalso can do dynamically. Howerver, ensure you refresh the component after changing the immediate property state.
    Frank

  • Make MultiValue Parameter Dynamically Enable/ Disable

    Hi,
    I have two MultiValue  parameters in SSRS report. Both the parameters are independant of each other.  If I choose value from first parameter, Second parameter should be disabled dynamically. If I choose  value from second parameter, First
    parameter should be disabled dynamically.
    Can this be achieved in SSRS ?
    Is there a workaround to achieve the above scenario ?
    Regards
    G. R. Venkatesh

    Using nulls is one way. Another way is to set a default value say NotApplicable. Just set below expression for default value
    IIF(Len(Parameters!SecondParameter.Value) > 0,"NotApplicable",Nothing)
    Similarly for the other parameter
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
    Hi Visakh,
    I am new to SSRS.
    Could you please share a workaround sample for my scenario
    I tried to implement the expression for Multivalue  parameter1 default value, The parameter1 has below expression
    =IIF(Len(Parameters!SecondParameter.Value) > 0,"NotApplicable",Nothing)
    and Parameter2 has below expression
    =IIF(Len(Parameters!FirstParameter.Value) > 0,"NotApplicable",Nothing)
    I get a error saying "The expression references the parameter 'parameter2' which doesn not exist in the parameters collection. Letters in the names of parameters must use correct case"

  • Mdimportserver crashes every 10 seconds unless indexing disabled-HELP!

    Hello brilliant mac genius. What is bad. See log below. I have run FSCK repair, permissions repair, drive repair, reset Spotlight several different ways, last being Onyx, cleaned font caches and wept. I can make this go away if I exclude my drive from indexing (privacy pane in system prefs).
    OS Version: 10.4.8 (Build 8L127)
    Report Version: 4
    Command: mdimportserver
    Path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mdimportserver
    Parent: launchd [1]
    Version: ??? (???)
    PID: 549
    Thread: 2
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0x000df005
    Thread 0:
    0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
    4 com.apple.CoreFoundation 0x907eb8dc CFRunLoopRun + 52
    5 mdimportserver 0x00008e80 0x1000 + 32384
    6 mdimportserver 0x00006ca4 0x1000 + 23716
    7 mdimportserver 0x00002da8 0x1000 + 7592
    8 mdimportserver 0x00002c50 0x1000 + 7248
    Thread 1:
    0 libSystem.B.dylib 0x9002e88c kevent + 12
    1 mdimportserver 0x00004aac 0x1000 + 15020
    2 com.apple.Foundation 0x9295d194 forkThreadForFunction + 108
    3 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 2 Crashed:
    0 com.apple.MDImporter.Font 0x000d836c GetMetadataForFile + 1440
    1 com.apple.MDImporter.Font 0x000d8474 GetMetadataForFile + 1704
    2 com.apple.MDImporter.Font 0x000d8a50 SPFontImport_Suitcase + 260
    3 com.apple.MDImporter.Font 0x000d7e9c GetMetadataForFile + 208
    4 mdimportserver 0x0000638c 0x1000 + 21388
    5 mdimportserver 0x00008568 0x1000 + 30056
    6 mdimportserver 0x000089ec 0x1000 + 31212
    7 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 2 crashed with PPC Thread State 64:
    srr0: 0x00000000000d836c srr1: 0x000000000200f030 vrsave: 0x0000000000000000
    cr: 0x44004244 xer: 0x0000000020000004 lr: 0x00000000000d834c ctr: 0x0000000000000001
    r0: 0x00000000000d8474 r1: 0x00000000f0101510 r2: 0x00000000000d9f80 r3: 0x00000000000debc2
    r4: 0x00000000000debfc r5: 0x0000000000005085 r6: 0x00000000f01015b0 r7: 0x0000000000000041
    r8: 0x0000000000000000 r9: 0x00000000000dc104 r10: 0x0000000000000002 r11: 0x0000000024004242
    r12: 0x000000009000608c r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
    r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x00000000003463b0 r19: 0x0000000000000000
    r20: 0x0000000000347ff0 r21: 0x00000000ffffffff r22: 0x0000000000000001 r23: 0x000000000034d150
    r24: 0x000000000034c600 r25: 0x00000000f01015b0 r26: 0x00000000000debfc r27: 0x00000000000dc104
    r28: 0x00000000000debc2 r29: 0x0000000000357ba0 r30: 0x00000000003580a0 r31: 0x00000000000d834c
    Binary Images Description:
    0x1000 - 0xefff mdimportserver /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mdimportserver
    0xd7000 - 0xd9fff com.apple.MDImporter.Font 2.0.4 (10.1) /System/Library/Spotlight/Font.mdimporter/Contents/MacOS/Font
    0x8fe00000 - 0x8fe51fff dyld 45.3 /usr/lib/dyld
    0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x9021b000 - 0x90268fff com.apple.CoreText 1.0.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90293000 - 0x90344fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x90373000 - 0x9072dfff com.apple.CoreGraphics 1.258.38 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x908dc000 - 0x908dcfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x908de000 - 0x909e0fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a3a000 - 0x90abefff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90b6e000 - 0x90b80fff libauto.dylib /usr/lib/libauto.dylib
    0x90b87000 - 0x90e5efff com.apple.CoreServices.CarbonCore 681.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90ec4000 - 0x90f44fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x90f8e000 - 0x90fcffff com.apple.CFNetwork 4.0 (129.19) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x90fe4000 - 0x90ffcfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x9100c000 - 0x9108dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x910d3000 - 0x910fcfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x9110d000 - 0x9111bfff libz.1.dylib /usr/lib/libz.1.dylib
    0x9111e000 - 0x912d9fff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x913d8000 - 0x913e1fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x91423000 - 0x9142efff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x91433000 - 0x9143bfff libbsm.dylib /usr/lib/libbsm.dylib
    0x914f7000 - 0x914f7fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x914f9000 - 0x91531fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x9154c000 - 0x91619fff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x9166e000 - 0x916fffff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x91746000 - 0x917fdfff com.apple.QD 3.10.21 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x9183a000 - 0x91898fff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x918c7000 - 0x918e8fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x918fc000 - 0x91921fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x91934000 - 0x91976fff com.apple.LaunchServices 181 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x91992000 - 0x919a6fff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x919b4000 - 0x919f6fff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x91a0c000 - 0x91ad3fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91b21000 - 0x91b36fff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91b3b000 - 0x91b59fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91b5f000 - 0x91bcefff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91be5000 - 0x91be9fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91beb000 - 0x91c4afff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91c4f000 - 0x91c8cfff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91c93000 - 0x91cacfff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91cb1000 - 0x91cb4fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91cb6000 - 0x91cb6fff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91cb8000 - 0x91d9dfff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91da5000 - 0x91dc4fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91e30000 - 0x91e9efff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x91ea9000 - 0x91f3efff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91f58000 - 0x924e0fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x92513000 - 0x9283efff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x9286e000 - 0x928f6fff com.apple.DesktopServices 1.3.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x92937000 - 0x92b62fff com.apple.Foundation 6.4.6 (567.27) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92c80000 - 0x92d5efff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x92d7e000 - 0x92e6cfff libiconv.2.dylib /usr/lib/libiconv.2.dylib

    Should have search little bit better, seems that the plugin "Bark" was the problem:
    https://discussions.apple.com/thread/4281671?tstart=0

  • Dynamically enabling/disabling results using RunState.Execution

    We run with our station options set to have results disabled for all sequences.  BUT, at one point in a sequence run from the tools menu (i.e., not using the process model), we want to temporarily turn on results recording, run a step or two to record results, and then turn result recording back off.
    I am calling an ActiveX/Com step to enable results using  RunState.Execution DisableResults(false).  I then run various steps that should be recording results, but my Locals.ResultList remains empty.  Have also tried to calling  RunState.Execution AddExtraResult, but no luck.
    My true goal is to be able to call the TestReport sequence of the SequentialModel.seq file which takes as its first parameter the "results container".  I want to be able to send a very select, small set of results that are generated from my sequence run from the tools menu.  I tried various ways of creating a "dummy" result list, but was unsuccessful doing that as well.
    Any ideas?

    Barry,
    For RunState.Execution DisableResults to work, The Engine and | or  Sequence must also be False depending on what setting you have set to disable.
    So in your case you need to set IEngine.DisableResults(False). You dont really need to call RunState.Execution DisableResults(False), use this if you what to switch on | off recording of selective steps rather than all steps in a Sequence.
    Use Sequence.DisableResults to disable all steps in a Sequence.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Dynamically indexing into element arrays in XPath

    Hi All,
    I have XML with multiple <message> tags wherein each <message> tag contains multiple <itemBumble> tags
    like
    <confirmationMessage>
    <message id="1">
    <itemBundle>
    </itemBundle>
    <itemBundle>
    </itemBundle>
    </message id ="2">
    <message>
    <itemBundle>
    </itemBundle>
    </message>
    </confirmationMessage>
    My PL/SQL code to process above doc is
    message_index := 1;
    document_info := selected_nodes (doc_in, '/confirmationMessage/message["message_index"]/itemBundle');
    Above code should fetch only all <itemBundle>
    nodes in 1st <message> node
    but it is fetching all <itemBundle> nodes from all <message> nodes
    What i understand is message["message_index"] is not working..
    If you use like message["2"] its working fine...
    How to index based on variable value..
    Anyboby knows ...?
    Thanks

    Hi,
    I forgot to add one statement
    selected_nodes () is user-defined function
    it is just wrap up on
    xslprocessor.selectnodes (
    xmldom.makenode (doc_in),
    xpath_in
    );

  • Dynamically enabling/disabling opc-binding to shared variables?

    Hi.
    I've got some shared variables binded to my OPC server, but sometimes some variables need to "ignore" the OPC updates and and be simulated, and in some cases, all of the variables.
    So, I've got an application to dynamically change the shared variables properties: Network.UseBinding and Network.URL to "connect to" or "disconnect from" the OPC server, but is there a way to "unbind" the whole library from the OPC quickly and restore it back when need it?
    I tried creating and deleting the IO server programatically but the variables go "bad"...
    Is this is a good practice or should I change the method?

    Hi Keptat, you can bind them directly to the OPC sever but you need to add
    psp: at the begining.
    For example 
       psp:\\localhost\IOServer\ModbusSlave1.000001
       psp:\\aebenjamin\IOServer\OPC1.Channel_0_User_Defined.Ramp.
       psp:\\ host \ library\IOservername.register
     An easy way to find the complete address y bind a Variable with psp
    binding to the OPC server and you will get the path.
    In the example code it gets the psp address from a Library, but won't get
    you the directions of the registers inside the IOserver, so you need this list
    manually.
    Another option is create 2 libraries one with the variables binded to the IO
    Server and the other binded to the simulated info, in this case you just have
    to point to the library, and get the address of all variables.
     Also you have to make sure the OPC server is deploy and you can see it
    in the Distributed System Manager
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Dynamic enable/disable

    Hi
    in my application i have tabular form with report 5 columns
    p1,p2,p3,p4,p5
    and a button "add row" when I click on add row button
    all 5 columns should be enabled but once i submit and add the row in the table
    p1,p2 and p3 should be disabled or locked not updatable,.
    i should able to update only p4 and p5 columns
    i checked the forum but could not get any matching my requirement.
    can any one please help me how to do this.
    thanks very much in advance.

    Hi
    in my application i have tabular form with report 5 columns
    p1,p2,p3,p4,p5
    and a button "add row" when I click on add row button
    all 5 columns should be enabled but once i submit and add the row in the table
    p1,p2 and p3 should be disabled or locked not updatable,.
    i should able to update only p4 and p5 columns
    i checked the forum but could not get any matching my requirement.
    can any one please help me how to do this.
    thanks very much in advance.

Maybe you are looking for