WORK on a specific node

Is it possible to run a scheduled task to run on a specific node.
BEGIN
  SYS.DBMS_SCHEDULER.CREATE_JOB_CLASS
    (
      job_class_name          => 'TEST'
     ,resource_consumer_group => 'DEFAULT_CONSUMER_GROUP'
     ,service                 => 'ORCL'
     ,log_history             => 30
     ,comments                => NULL
    );
END;
/ 

ORCL must exist:

SELECT NAME FROM DBA_SERVICES:
NAME
----------------
SYS$BACKGROUND
SYS$USERS
ORCLXDB
ORCL                                                            
BEGIN
  SYS.DBMS_SCHEDULER.CREATE_JOB
    (
       job_name        => 'SYS.TEST_JOB'
      ,start_date      => TO_TIMESTAMP_TZ('sysdate','yyyy/mm/dd hh24:mi:ss.ff tzr')
      ,repeat_interval => NULL
      ,end_date        => NULL
      ,job_class       => 'TEST'
      ,job_type        => 'PLSQL_BLOCK'
      ,job_action      => 'begin null; end;'
      ,comments        => NULL
    );
/

Tags: Database

Similar Questions

  • PIN dbms_cube.build jobs parallel to a specific node on the CARS

    Is it possible to Pin dbms_cube.build jobs parallel to a specific node on CARS. Currently, work with say parallelism of 10 bays on all nodes of the RAC.

    Is it possible to control for the jobs of the child works on the subset of nodes. Unable to see how we can link to categories of jobs and services with dbms_cube.build.

    Any suggestions will be much appreciated.

    JOB_CLASS was added in 11.2.0.2 precisely for this purpose. It is undocumented, because he missed the 11.2.0.1. Deadline for documentation, but it has exactly the same meaning as the job_class parameter in DBMS_SCHEDULER. CREATE_JOB.

  • Questions about the management of specific nodes in different hierarchies

    Hi all

    I have a question about the specific management of some particular set nodes, which are located in different hierarchies within a same version.

    I want to know if there is any editing made to certain properties of these specific nodes or if the nodes are deleted/moved/edited approval to be triggered for the data manager.

    or should not allow users to edit (adding/moving/deleting/changing property values) or those specific members.


    According to my understanding of the nodes of domain prevents the removal of nodes, but I don't want my Member prefix/suffix, domain is the only way to prevent the change.




    Thanks and greetings

    Madhu

    We have an obligation to not allow a node to remove or deleted without the approval of the admin, so I created a Boolean property AllowDelete is false, which is substitutable, default and is available only in a category of property Admin, for which most of the users do not have access.  Then, I created a validation of PropRemove with an error message that tells the user to contact a user admin to remove or delete the node.  The admin can change the AllowDelete to true, then can either remove himself or to allow the user to do.

  • How to call the specific node of the navigation model?

    Hello

    I have a portal application webcenter containing a custom navigation template. HIES model is used by the menu tree and bread crumbs.
    Users request a link in the template to navigate to the home page. I could make a case of navigation in my ADFC-config file to navigate to the home page, but I would rather use the navigation model. Is there a way to select a specific node in the navigation model and navigate using a button or a link?
    I've been looking for this much time, but could not find an example. It's has enough of the menu etc, but not cela.
    Thank you...

    You can use the same navigation model just like using the template of menu xml
    http://www.orastudy.com/oradoc/selfstu/Fusion/Web.1111/b31973/af_navigate.htm#CACDBFEI
    For more information on the el here chk
    http://docs.Oracle.com/CD/E21764_01/WebCenter.1111/e10148/jpsdg_app_els.htm#CHDCBJGJ

  • '' If '' dosnt works at the mathscript node

    Hello

    I have a strange problem in mathscript node, can u help me?

    I just wrote a simple conditional style in the mathscript node, but it dosent work and have attached the error! my software has problem?

    Best Regarsd

    Behzad

    The problem is that your "out" is not defined, as executed in your script. Maybe it's what you want instead

    out = - 1; % define value as default for the

    If in == 7

    out = 6;

    end

    Kevin C.

  • How can I get Vista navigation pane to only work for a specific folder view?

    I am running Windows Vista classic folders. Significant irritation is that I want to have the navigation pane enabled for the _only_ in my computer/Windows Explorer folder. I don't want that it activated for other folders with groups of icons for programs.

    But I find that when I turn it on for the first folder, it becomes activated for all. On the other hand, if I turn it off for a program icon folder, it is disabled for all files, including the Windows Explorer.

    So, how to customize the navigation pane to make it work for a folder specific _only_?

    The other models are for music or photos or videos or Documents (and I can't remember the fifth).  They show the different columns and present different data sorted differently.  I don't think they will solve your problem.

    Some general information here is on models and how to set any records that might be of interest to you (but will not solve your problem, I think):

    Here's how to change the default template for a folder: http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html.  Default behavior is to select the model based on the first type of file placed in the folder (you must choose something).  Vista sets the folder type template according to what are the types of files in the window and the settings display window Explorer. This will show how to reset the display settings for the Windows File Explorer, disable Automatic folder Type Discovery (which is I think what you want)and increase the folder display the cache to make Vista do not forget the display settings, the folder type template, the size or the position of a specific window for when it was still closed to the location of specific path.

    It does not work with the Sub record under, Open with, open in a new tab (Internet Explorer), etc... dialog windows of type through the good File menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free program http://autosizer.en.softonic.com/ to resize them.

    Here is another article on how to modify the columns in Windows Explorer and sort in Vista: http://www.vistax64.com/tutorials/108665-column-customize.html.  This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.

    Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided: http://news.cnet.com/8301-13880_3-10019957-68.html.)

    I hope this helps in your situation.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Prevent the change of name of specific nodes

    Hi all

    DRM can we prevent the renaming of the names of nodes for certain specific levels in the hierarchy and not the whole hierarchy.

    Preference of the system RenameLimb/Renameleaf can be prevented, but it is a property of the system and changing this property applies to any application and all versions.

    I want my restriction to only specific hierarchy and levels.

    Can any validations or it's training of security privileges will in this scenario.

    Thank you

    Madhu

    Hi Madhu,

    Have you tried to use access to the node groups and granted read only access to the relevant level?

    https://docs.Oracle.com/cloud/latest/financialscs_gs/FADRA/CH03.html

    Concerning

    Craig

  • Extract a specific node of XMLTYPE value

    I have a piece of code that puts an answer Google geocoding in an XMLTYPe variable.  I then use lines similar to the following to retrieve values such as address and location:

    px_xml.EXTRACT('/GeocodeResponse[1]/result['||pn_result_number||']/formatted_address[1]/text()').getstringval();
    

    It's a pretty lazy way of just looping through my results and picking a specific value.

    Now, I need to extract just the addresses zip_code of XML component and can't do in the same way.  Someone at - it ideas?

    A call to the example is:

    https://maps.googleapis.com/maps/API/geocode/XML?address=London+Eye & Bounds = 49.90878, - 7.69042. 60.88770,-0.83496 & key =

    but you need to add your own key to operate.  There are several components of the address and I just want to identify who has the type "zip_code".

    Thank you!

    It's a pretty lazy way of just looping through my results and picking a specific value.

    And what about using a more friendly approach, XMLTABLE namely:

    Extract data from complex XML of XMLType with nodes parents containing several internal nodes

    Use an XPath predicate to target only the required component, for example:

    select x.long_name
    from xmltable('/GeocodeResponse/result'
           passing px_xml
           columns
             long_name   varchar2(200) path 'address_component[type="postal_code"]/long_name'
         ) x
    ;
    
  • record selector don't work for the specific selection of records

    Hello

    I have a problem with the record selector in the spotlight.

    I want to select specific record, but when I select the control in the record are not in the selected record tab!

    the dataservice.json and endecaBrowserService.json files are correctly set up I think. I compare it with the app to Discover, but I do not want would be the question! not that the dynamic selection of records are working properly

    endecaBrowserService.json

    {

    "host': 'W177."

    "port": "15101."

    "recSpecProp": "Product_SKU",

    "recAggregationKey": "Endeca_Rollup_Id",

    "recFilter",:

    "recImgUrlProp": "URL_Thumbnail1",

    'recDisplayProps': ['brand', 'Category_EN', 'Product_SKU'],

    "textSearchKey": "interface_EN",

    'textSearchMatchMode': 'ALLPARTIAL '.

    }

    DataService. JSON

    {

    "jcr:primaryType': ' short: unstructured."

    "host': 'W177."

    "port": "15101."

    "recordSpecName": "Product_SKU",

    "aggregationKey": "Endeca_Rollup_Id",

    «recordFilter ": «,»

    'wildcardSearchEnabled': false,

    "recordNameField": "product_name_en",

    "fields": {"Brand": "', 'Category_EN': '',' Product_SKU'": ""}

    }

    any idea

    Thank you

    What is the record specification for records that fail?  For example, I found that the editor will fail if the record ID have spaces. That is to say 'Id1 Id2'.  Our resolution after conferring with support is to add an underscore 'Id1_Id2 '.

  • Hierarchy of the building under a specific node in the outline

    Hello

    We have an obligation to create a hierarchy under a specific dimension member in the sketch. We have the dimension of time in which there are two nodes 'Time_Hierarchy379' and 'Time_Hierarchy383', now we need generate a rule file that generates a hierarchy, 4 levels deep, under the node 'Time_Hierarchy379 '. The construction of a hierarchy, to use the reference level or generation method, but how do you ensure that the hierarchy is built under the node "Time_Hierarchy379" specifically? Members 'Time_Hierarchy379' and 'Time_Hierarchy383' have been created manually, and they are not a part of the data in the source dimension tables. Help, please.

    Thank you
    Krishna

    It is not necessary that these two members is a part of the data in the source table.

    During the creation of the rule file, you can insert a column with 'create text using... "and specify the Member under which you want the hierarchy must be created. Label with appropriate generation and level and you should be able to build the desired hierarchy.

    Kind regards
    Sunil

  • Retrieve / search a specific node of the XML file

    Hello

    I have a question about reading the XML (search) in PL SQL file:

    There is an XML file with the following structure:
    <root>
      <Hnode1 attr1="value1" />
      <Hnode2 attr1="value1" /> 
         <node1_of_Hnode2 id="10" personname="Steven"/>
         <node2_of_Hnode2 id="20" personname="Christian"/>
         <node3_of_Hnode2 id="30" personname="Arnold"/>
         .
         .
      <Hnode2/>
    <root/>
    How it is possible to filter a node by one of its attribute value. For example:
    The id of a person - I guess that id = 20. In this case I would like to get the whole node (in this case node2_of_Hnode2) to get the personname = > 'Christian '.
    Just like a SELECT statement (WHERE ID = 20)

    Is it possible to get it in a single order or should it be buckled on all the lines in the Document. Can you please provide an example for me.

    Thank you for advice!

    The basic version is 10.

    Sorry, this is not a version.
    For example:

    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE     10.2.0.5.0     Production
    TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
     
    

    The use of the extraction of the values?
    1. better in a Select statement. assignment directli in a variable, or by using the xmlquery function?

    PL/SQL or SQL calls to the XMLType methods such as getStringVal() or extract() function should be equivalent (save the change of context).
    However, none of them are the right way to retrieve a scalar value of a given node.
    You must use the rather extractValue() function (SQL only) for immediate release< 11.2="" and="" xmlcast/xmlquery="" starting="" with="">

    Another Question:

    I've seen a lot of options for dealing with XML files.

    In my case only query data in XML files is relevant.

    I've seen to many API called XMLDOM, DMBS_XMLDOM, XMLTYPE...

    When to use these APIs. Can you give me feedback on this please?

    It is a broad topic.
    An appropriate response will depend on your condition.

    -You have to deal with large files and if so what size?
    -Performance/memory management is a concern for you?
    -You want to extract unique values or process the XML content in the form of relational data?

    If you have any specific test cases to show us, please post in the {forum: id = 34} forum and make sure to include all the necessary details (see the FAQ).

    Published by: odie_63 on 23 Feb. 2012 11:35

  • Why "lsnrctl status" works on a single node?

    Hello

    I have a cluster 2 node RAC 11.1.0.7 running on Oracle Enterprise Linux 5. My listener.ora files are as follows:

    RAC1 node:
    LISTENER_RAC1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip)(PORT = 1521)(IP = FIRST))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)(IP = FIRST))
        )
      )
    RAC2 node:
    LISTENER_RAC2 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip)(PORT = 1521)(IP = FIRST))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.65.1.118)(PORT = 1521)(IP = FIRST))
        )
      )
    The listener was created through netca on rac1 node and the name of "LISTENER" default has been used. Both headphones are in place on both nodes:

    RAC1 node:
    [oracle@rac1 admin]$ ps -ef | grep tns | grep -v grep
    oracle   21460     1  0 01:01 ?        00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER_RAC1 -inherit
    RAC2 node:
    [oracle@rac2 admin]$ ps -ef | grep tns | grep -v grep
    oracle   21153     1  0 05:16 ?        00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER_RAC2 -inherit
    What bothers me is why the command "lsnrctl status" on rac1 node returns the status of the listener, but isn't the same command on the node rac2?


    RAC1 node:
    [oracle@rac1 admin]$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 04-JAN-2011 01:05:33
    
    Copyright (c) 1991, 2008, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER_RAC1
    Version                   TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    Start Date                04-JAN-2011 01:01:42
    Uptime                    0 days 0 hr. 3 min. 50 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/rac1/listener_rac1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.65.2.162)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@rac1 admin]$
    RAC2 node:
    [oracle@rac2 admin]$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 04-JAN-2011 05:20:23
    
    Copyright (c) 1991, 2008, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
     TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 111: Connection refused
    [oracle@rac2 admin]$
    However, if I add the name of the listener, I get its status:
    [oracle@rac2 admin]$ lsnrctl status LISTENER_RAC2
    
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 04-JAN-2011 05:20:47
    
    Copyright (c) 1991, 2008, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac2-vip)(PORT=1521)(IP=FIRST)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER_RAC2
    Version                   TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    Start Date                04-JAN-2011 05:16:32
    Uptime                    0 days 0 hr. 4 min. 15 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/rac2/listener_rac2/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.65.2.163)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.65.1.118)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@rac2 admin]$
    In fact, I'm new to administration of the RAC, but on single instance systems, if the listener has a default name, it is mandatory to include in the status (e.g. 'lsnrctl status LISTENER_TEST') command in the contrary case a "TNS-12541: listener TNS:no" error is returned. So on this system BECAUSE I do not really understand why "lsnrctl status" on the rac1 even work? It seems to me that the behavior on rac2 is correct...


    The reason why I ask this question is because I think that it has some other implications. For example, my newly created ASM instance on the node rac2 recorded automatically with the listener, although the rac1 node does. I checked the parameter local_listener and remote_listener init and they are disabled on the asm instances:

    RAC1 and RAC2 node:
    SQL> show parameter listener
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    local_listener                       string
    remote_listener                      string
    Perhaps that if I configured on rac2 local_listener initialization parameter to solve the listener address it would work, but I would like to understand why this happens.


    So if anyone has an explanation or a pointer in the documentation, I'll be very grateful.

    Thanks in advance and best regards,
    Swear

    Hello

    127.0.0.1 localhost.localdomain localhost rac1 rac1.localdomain
    127.0.0.1 localhost.localdomain localhost rac2 rac2.localdomain

    10.65.1.117 rac1.localdomain rac1
    10.65.1.118 rac2.localdomain rac2

    Your entries in the file hosts is incorrect. The hosts file does not have the same host name in two different IP. Only the first entry is resolved.

    Please delete rac1.localdomain rac1 and rac2 rac2.localdomain of the line that begins with hosts file 127.0.0.1 in the two nodes.

    Try again lnsrctl status on node 2

    Correct the configuration of the node1, because once the changes in the host file, you may have problems logging on node 1:

    RAC1 node:

    LISTENER_RAC1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip)(PORT = 1521)(IP = FIRST))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)(IP = FIRST))  # remove this
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.65.1.117)(PORT = 1521)(IP = FIRST))  # put this
        )
      )
    

    Stop and start the receiver on node 1.

    If works post here...

    Kind regards
    Levi Pereira

    Published by: Levi Pereira on January 5, 2011 11:18

  • Performance of the Datapump API work on a specific instance of the RAC

    I'm under that DataPump matter using the DBMS_DATAPUMP API in a CCR environment. DBMS_DATAPUMP. START_JOB (handle) occasionally fails with ERROR ORA-31626: there is no job

    Note metalink Doc ID: 758228.1
    says "It is not possible to start or restart Data Pump jobs on a single instance of a RAC, if there is use of data pump running on other instances of FCAC."
    It recommends that these jobs running on a regular instance using the DBMS_JOB. Procedure of the INSTANCE.

    I am unable to do this. I tried to call DBMS_JOB. INSTANCE after I made a DBMS_DATAPUMP. OPEN to get a handle to the job, and before I called DBMS_DATAPUMP. START_JOB. The DBMS_JOB. Call the INSTANCE returns an ORA-23421: job XXX number is not a job in the job queue.

    I wonder if the DATAPUMP jobs enter a different working mechanism and therefore is not accessible with the DBMS_JOB package. Would be recognizing all of the ideas on the issue.

    Thank you
    EM

    Create a DATAPUMP service that points to one and only one of your nodes.

    Then, connect to the service not to the database, instance or sid.

  • How can I disable always 'work offline' for specific files/folders in Vista?

    Help files offline with all the challenges of Vista, but most of the time it works.  However, I have a number of files that are currently available offline that I no longer need to use offline.  I followed the normal steps of the click right and is going to click on the button "Always work offline", but it is disabled (grayed out).  I thought it might mean that I'm out of sync, but after a synch-all, the selection is always disabled.  Is there a way to Vista to do this?

    Hello DTelford_GSI,

    Thank you for using the Microsoft Answers forum.  The link below explains how to correctly disable offline files in Windows Vista.

    http://blogs.technet.com/askds/archive/2009/03/12/how-to-properly-disable-offline-files-in-Windows-Vista.aspx

    Thank you for using answers Forum. Please let us know how it works.

    Joseph
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Text fields do not work in a specific form Document

    Hello

    I have a PDF form with a series of text fields and check box fields.

    Using this form:

    (1) adobe Reader XI (11.0.10) allows all form fields to fill in, highlighted and displays.

    (2) adobe Reader DC (2015.016.20039) allows the fields box and displayed. However, it will not allow the text to be filled or displayed fields. They are not yet highlighted.

    (3) Foxit Reader (8.0.0.624) allows all fields of form to fill out and displayed.

    Does anyone have an idea why new versions of Adobe Reader DC would have difficulty working with the form fields, but everything else I've tried seems to be able to work with the same document of shape very well?

    Thank you

    Jason

    Nitro Support recommended by copying form fields, then removing them and sticking them back. It really seemed to work, I can now work with text fields now in Adobe Reader DC.

    Here is a link to the updated form. How to watch the text fields in Adobe Acrobat?

    Incident Report_Patient_012015c.PDF - Google Drive

    Thank you

    Jason

Maybe you are looking for