How to manage cross-schema job dependencies?

Hello.
I know how to set up a job schedule where one job triggers another job in the same schema, using the
<pre> raise_events</pre>
attribute on the first job, then using the
<pre> event_condition, queue_spec</pre>
attributes on the triggered job with a condition along the lines of
<pre> tab.user_data.object_name = '<jobname>' AND tab.user_data.event_type = 'JOB_SUCCEEDED'</pre>
Is there a way of triggering a job in a different schema?
Many thanks,
Clark.

Jobs created in what version of hte product?
Jobs created using DBMS_JOB or DBMS_SCHEDULER or part of DBMS_AUTO_TASK?
If you have properly set up object permission and synonyms why does it matter and why are the jobs in separate schemas?

Similar Messages

  • How to manage rdf schema and instance data in multiple tables?

    Hi,
    I need to store the rdf schema in one table and rdf instance data in another table.
    1. How I can do this?
    2. How to configure the joseki-config.ttl to work for multiple models? Some example will help me to understand the solution.
    3. Is there any possibility to create a single model for multiple tables?
    Please let me know.
    Regards
    Siddu

    Hi,
    For schema data, you can create a model TBOX using Jena Adapter (behind the scenes, application table TBOX_TPL will be created).
    For instance data, you can create a model ABOX using Jena Adapter (behind the scenes, application table ABOX_TPL will be created)
    Data loading can be done in multiple ways. Please see the following document for details.
    http://download.oracle.com/docs/cd/E18283_01/appdev.112/e11828/sem_jena.htm
    Your joseki configuration can be something like
    oracle:defaultModel [ oracle:firstModel "ABOX"; oracle:modelName "TBOX"; oracle:rulebaseName "OWLPRIME"; oracle:useVM "TRUE" ] .
    Hope it helps,
    Zhe

  • How to schedule cross-client job?

    Hi Experts,
    Now I'm running in client 001 and want to schedule a job which should run in client 002.
    I check the Function Module JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE. There is no client-related parameter in the importing.
    Suppose the report name is ABC.
    Could someone please provide support in the problem?
    Thanks in advance,
    Best Regards, Johnney.

    hi..
    may be you can get your work done from the link
    http://help.sap.com/saphelp_46c/helpdata/en/fa/096ee5543b11d1898e0000e8322d00/frameset.htm
    regards

  • How to view other schema's job status ?

    Hi,
    My application is in schema A. User B has just enough rights to do specific tasks in A. One of them is to call a function that creates a job in schema A.
    The view user_jobs in A shows the job.
    How can I make this job visible to user B without granting B access to dba_jobs?
    I tried granting select on a.user_jobs to B and hoped that the job would show up in B's all_jobs view but that did not work.
    Any ideas?
    Rene

    Create a customised version of USER_JOBS and grant select on the view to B. See catjobq.sql - note how USER_JOBS is based on DBA_JOBS anyway.
    I usually have some sort of admin user (which may or may not be the application owner) which owns all these types of customisations.
    PS: ALL_JOBS is actually a synonym for USER_JOBS.

  • Cross Site Publishing and Variations: how to manage assets?

    We have a Cross-Site Publishing scenario:
    - an Authoring site collection with variations enabled, in order to manage content in English and Italian
    - two Publishing site collections
    - an Intranet Site Collection
    Intranet and Web site are feeded from Authoring site collections.
    We have some assets (Video and Photos) with their own metadata (title, description, ...) that we need to localize in each Language.
    We followed TechNet best practices: we saved these assets in a separate site collection with Anonymous access enabled.
    Where do we have to compile metadata?
    In a list in the Authoring site collection where we build an entry for each digital asset we want to describe (of course, a list in each variation site)? Or is it better to associate metadata in the Asset Library (in this case how we manage translations)?

    Did you find a solution for this issue? I have the same problem. Thank you very much
    We have a Cross-Site Publishing scenario:
    - an Authoring site collection with variations enabled, in order to manage content in English and Italian
    - two Publishing site collections
    - an Intranet Site Collection
    Intranet and Web site are feeded from Authoring site collections.
    We have some assets (Video and Photos) with their own metadata (title, description, ...) that we need to localize in each Language.
    We followed TechNet best practices: we saved these assets in a separate site collection with Anonymous access enabled.
    Where do we have to compile metadata?
    In a list in the Authoring site collection where we build an entry for each digital asset we want to describe (of course, a list in each variation site)? Or is it better to associate metadata in the Asset Library (in this case how we manage translations)?

  • SQL Management Pack Agent Job Unit Monitors

    I am trying to utilize the SQL Agent Job Monitors included with the SQL Management Pack (page 81 of the MP guide), particularly the "Last Run Status" monitor. I have set an Override for "Generate Alerts" to True. The goal
    is to have an email notification sent when any SQL Agent job fails on a specific group of computers. However, I am not familiar enough with what "Last Run Status" is actually monitoring and if it will do what I am looking for. Does this monitor
    check the job status of any agent job on the target group? I tried setting up a job for it to fail, which it does fail, but it does not generate an alert. Any suggestions appreciated. Thanks.

    1) For monitoring SQL server job status, you can refer to the following blog
    http://blogs.technet.com/b/kevinholman/archive/2011/08/05/how-to-monitor-sql-agent-jobs-using-the-sql-management-pack-and-opsmgr.aspx
    2) For troubleshoot: Make sure that your SQL agent job is discovered, you may find the discovered job under Microsoft SQL Server --> SQL Agent --> SQL agent job status. By default, the discovery is disabled and you should enabled the discovery by using
    override.
    Roger
    Thanks. So I enabled Agent Job discovery for the systems that I want. It discovered those objects. Now, I still cannot get the alerting to work. I can see the Health State of the job change to a Warning, indicating "Last Run Status" equals Failed, but
    it is not generating an alert. I set Overrides (Generates Alert = True) on a Group that included one of the job objects, nothing. I also set the same Override directly on the job object and I still do not receive an alert. Any ideas? I
    noticed someone in the comments mentioned in the blog you linked, a similar issue, except with the Job Duration monitor. However, he was able to get alerts to generate by setting the Override directly on the Job object and noted that it is not a
    feasible solution due to the number of jobs he wants to monitor. Again, I tried the same, but still could not get alerts. That solution would not be acceptable for me either because of the number of jobs that I would have to set individual Overrides for.

  • How to manage photos from multiple accounts

    Hi,
    i am trying to solve one problem. I have one iMAC where i have two user profiles connected to different AppleIDs. Next to it there are two iPhones and two iPads. I am trying to find out, how to manage photos from all these devices using one account on iMAC. Second question is if there is any finction in iPhoto that can publish images to NAS server? Second alternative for me is to byu iCloud drive space and use Family sharing for publishing photos. Bellow text schema is attached, it is only my idea and i dont know if this could work like this. Did anyone somehow solved this configuration? Thanks

    I can see the screenshot if I double click on it.  However, here is it again.  Being Halloween maybe it'll show.

  • What's a good way to manage custom schema for DS  5.1?

    What's a good way to manage custom schema?
    Custom Schema for Object Class and Attributes
    The reason I ask this is because there might be a need in the future where I need to export those custome schema into different branded directory server. I just want to make this as painless as possible.
    Right now, I thought of 2 options
    1) Create my own LDIF file with my custom attributes and object classes, so if one day I need to export to another directory server, I can just copy that custom created LDIF file over. (Will this work?)
    2) Create a JAVA application using JNDI. What this Java App. will do is read through a XML file and create those object classes and attributes on-the-fly. (of course, the XML structure will be predefined by me, so that my Java App. will be able to parse through it correctly. Will this work?)
    Anymore suggestion? I would want to hear more advices and suggestions.
    Also, I assume that will work even with replication. All I need to update is the master server, and the slaves will replicate automatically.
    Thank you very much! :)

    Demo: I'm using the nul character to represent the end of the word, so that the data structure can represent that "hell" and "hello" are both in the vocabulary:
    import java.util.*;
    class Node {
        private SortedMap<Character, Node> children = new TreeMap<Character, Node>();
        //0 <= index <= word.length()
        private void add(String word, int index) {
            if (index == word.length()) {
                children.put(Character.valueOf('\u0000'), null);
            } else {
                char ch = word.charAt(index);
                Node child = children.get(ch);
                if (child == null) {
                    children.put(ch, child = new Node());
                child.add(word, index+1);
        public void add(String word) {
            if (word == null || word.length()==0)
                throw new IllegalArgumentException();
            add(word, 0);
        public String toString() {
            return children.toString();
    public class Example {
        public static void main(String[] args) throws Exception {
            Node root = new Node();
            root.add("hello");
            root.add("how");
            root.add("who");
            root.add("hell");
            System.out.println(root.toString());
    }

  • How to unselect a schema as a target schema in the old  version OWB?

    Hi all,
    I am upgrading my OWB from 9.0.5 to 10.2.0.3. When I deploy the mapping, I get the error message saying "cannot deploy the map to the target schema because it is not owned by the control center". So I log in as the repository owner, and want to add this schema to be the repository user, also to be the target schema. When I do this, I get a error message saying "The following user can not be registered as a target schema, as it is alreday being managed by a different control center", which is my old repository in 9.0.5. Does anybody know how to unselect the schema as the target schema in OWB 9.0.5?
    thanks a lot

    Hi,
    for OWB 9.2 and later this can be performed with Runtime Assistant, for details look at
    http://download.oracle.com/docs/html/B11000_02/04deinst.htm#1146937
    I have little experience with pre 9.2 OWB releases, but I think that this procedure is very similar across all OWB versions. I think you need check this in Installation guide for OWB 9.0.5
    Regards,
    Oleg

  • How to manage folders on ipad

    Having 5 Ipads for my company, how can we manage multiply different jobs per ipad with sub folders after an attachment is either emailed or physically loaded on them by a computer.

    As iPads have no access to the actual file system,  folder managing has no meaning outside of the installed Apps that you can group into category folders.
    For email, and other files it would be up to the app used to open such files to manage them.
    What exactly are you using to view these "attachments".

  • How to exclude create oracle job when during oracle imp

    Hi Expert,
    I would like to know how to exclude create oracle job during oracle import . It is schema export. Tks
    Regard
    Liang

    Oracle attempts to reimport job definitions as well. However, if you have an existing job with the same JOB_ID, the job definition fails (as there is a Unique Constraint on it).
    So, one "workaround" is to precreate dummy jobs before the import (which also means that the database account must be created in advance). To ensure that the JOB_ID is the same, you may have to keep incrementing the JOB_ID sequence.
    Hemant K Chitale

  • How to Manage the Resource Master in Primavera Enterprise Version

    We are using P6 enterprise version in our company having a central database. We had created our own unique resources and standardised across the enterprise and is Admin protected. However we often have to import some schedules sent by our consultant/client. In those schedules they have their own resources.
    So when we import these schedules, it also imports the resources along with it and pollutes our resource master.
    Can anyone let me know, how to manage such a situation.
    Regards

    We have met this issue. You have few ways to deal with it, but each has its own +ve and -ve.
    1- You may create a separate "Working" db into which you can import those files and keep them there only. Your master db shall be used for maters and your own program only.
    2- You may do the same for checking the resourses, vet them before importing into the final db
    3- P3 and MSP importation allows you to select the node to which the resources will be located. We have created a resource node called "Imported Resources" and dumped all those resources into it. Our users don't have access to that node so those resources can only be used on the imported program and can't be assigned to any other program / activity
    4- Enforce your supply chain to use the same resource list. We managed to do that for our main and subcontractors. That formed part of their contracts.

  • How I Managed to Install Windows 8.1 Pro on an iMac 27-inch, Late 2013

    As is typical with many of my Boot Camp installs, this one did *not* goes as smoothly as planned. This installation was particularly troublesome, so I thought I would share how I managed to set up Boot Camp on a brand new iMac (27-inch, Late 2013) using a Windows 8.1 Pro DVD and an external Apple SuperDrive. These are the steps I took:
    Download Boot Camp Support Software 5.1.5640 (http://support.apple.com/kb/DL1721)
    Copy Boot Camp Support Software to empty MS-DOS (FAT)-formatted USB key
    Run Boot Camp Assistant and select third option only (Install Windows 7 or later version)
    Computer would reboot after Boot Camp Assistant finished but would boot back into Mac environment and not continue Windows installation
    Boot computer holding down option key and select Windows (with DVD icon) and go through initial setup process (could go as  far as trying to format Boot Camp partition as NTFS and then got stuck)
    Quit Windows installer and reboot computer holding down option key and select EFI Boot
    Run Windows installer
    These same steps worked for another iMac (same model) that I set up later the same day.

    Note: These types of discs or activities are not supported by DVD or CD sharing:
    DVD movies.
    Audio CDs.
    Copy protected discs such as game discs.
    Install discs for an operating system such as Microsoft Windows (for use with Boot Camp), or Mac OS X.
    Burn a CD or DVD

  • How to cancel the background job processing in ABAP programming?

    Hi,
    I have a requirement where i need to cancel the job depending on some constraint. My code is something like this:
    Select some data from the table.
    if sy-subrc = 0.
    Do nothing.
    Else
    Cancel the job
    call function 'BP_JOB_ABORT'
      exporting
       jobcount                         = number
        jobname                          = name
    EXCEPTIONS
       CHECKING_OF_JOB_HAS_FAILED       = 1
       JOB_ABORT_HAS_FAILED             = 2
       JOB_DOES_NOT_EXIST               = 3
       JOB_IS_NOT_ACTIVE                = 4
       NO_ABORT_PRIVILEGE_GIVEN         = 5
       OTHERS                           = 6
    The above code is cancelling the job but it is throwing an exception called CX_SY_DYN_CALL_PARAM_MISSING because i dint pass job count. How can we find the job count of next job that is going to run? Or How to handle the exception which it is throwing. Even if i try to handle that exception something like this:
    TRY
    call function 'BP_JOB_ABORT'
      exporting
       jobcount                         = number
        jobname                          = name
    EXCEPTIONS
       CHECKING_OF_JOB_HAS_FAILED       = 1
       JOB_ABORT_HAS_FAILED             = 2
       JOB_DOES_NOT_EXIST               = 3
       JOB_IS_NOT_ACTIVE                = 4
       NO_ABORT_PRIVILEGE_GIVEN         = 5
       OTHERS                           = 6
    RAISE EXCEPTION TYPE CX_SY_DYN_CALL_PARAM_MISSING.
    CATCH
    CX_SY_DYN_CALL_PARAM_MISSING.
    ENDTRY.
    It avoids the exception but it doesnt cancel the job.  I even tried with function modules like JOB_OPEN
    JOB_SUBMIT,BP_JOB_SELECT,BP_JOB_ABORT and tried to build some logic using status overview table (TBTCO) and TBTCP (Jobstep overview table).
    Can someone suggest me the right way to write this program ?
    Thanks in advance.
    Rashmi

    Hi,
    Problem is solved.
    Create an background job with 2 steps. The first step in the background job calls the program ZBACKJOB_STEP1.  In the variant we have a wrong material number
    If the material number is not found in Mara, the next step in the job should not get executed and the job should get cancelled..
    In the above posts i had asked how do I get the job count of the job that is currently triggering the program at the runtimeu2026..If u see the below code uu2019ll get to know.. We have to use the standard structure TBTCM which captures the properties/characteristics of the job.
    REPORT ZBACKJOB_STEP1.
    TABLES: MARA,TBTCM.
    PARAMETERS : MATNR TYPE MATNR.
    START-OF-SELECTION.
      SELECT SINGLE * FROM MARA WHERE MATNR = MATNR.
      IF SY-SUBRC IS INITIAL.
        WRITE / : 'This is the material selected on the selection-screen' , MARA-MATNR.
    ELSE.
            CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
          IMPORTING
            EVENTID                                    = TBTCM-EVENTID
            EVENTPARM                             = TBTCM-EVENTPARM
            EXTERNAL_PROGRAM_ACTIVE = TBTCM-XPGACTIVE
            JOBCOUNT                                = TBTCM-JOBCOUNT
            JOBNAME                                  = TBTCM-JOBNAME
            STEPCOUNT                              = TBTCM-STEPCOUNT
          EXCEPTIONS
            NO_RUNTIME_INFO                    = 1
            OTHERS                                     = 2.
        IF SY-SUBRC = 0.
          CALL FUNCTION 'BP_JOB_ABORT'
            EXPORTING
              JOBCOUNT                                     = TBTCM-JOBCOUNT
              JOBNAME                                       = TBTCM-JOBNAME
            EXCEPTIONS
              CHECKING_OF_JOB_HAS_FAILED  = 1
              JOB_ABORT_HAS_FAILED              = 2
              JOB_DOES_NOT_EXIST                   = 3
              JOB_IS_NOT_ACTIVE                      = 4
              NO_ABORT_PRIVILEGE_GIVEN       = 5
              OTHERS                                         = 6.
          IF SY-SUBRC <> 0.
          ENDIF.
        ENDIF.
      ENDIF.
    Regards,
    Rashmi

  • How to take the cron job log in HP UX?

    Hi,
    How to take the cron job log in HP UX
    I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs?
    A. Cron service is required to run jobs and tasks such as backup.
    You must login as the root to run following commands. Each user that is using the cron service must have a cron configuration file in the /var/spool/cron/crontab directory. Also users are permitted if their name appeared in /var/adm/cron/cron.allow file
    Task: Find out if cron is running under HP-UX
    Type the following command at a shell prompt
    # ps -ef | grep cron
    Open /etc/rc.config.d/cron file
    vi /etc/rc.config.d/cron
    Set control variable to 1 to enable cron: CRON=1
    Set control variable to 0 to disable: CRON=0
    Close and save the file. To start or stop cron you can type the following command:
    # /sbin/init.d/cron start <-- start cron
    # /sbin/init.d/cron stop <-- stop cron
    Task: HP-UX Start cron service
    If cron is not running, simply type:
    # cron
    Task: Edit / create cron jobs
    Type the following command to submit a cron job:
    # crontab -e
    List your cron file:
    # crontab -l
    Backup all your cron jobs:
    # crontab -l > ~/backup.cron.jobs
    Remove ALL cron job:
    # crontab -r
    Task: Crontab file format
    Cron file format is as follows:
    MIN HOUR DATE MONTH DAY /PATH/TO/COMMAND
    0-59 0-23 1-31 1-12 0-6 /root/scripts/backup2tape.shEasy to remember crontab file format:
    * * * * * command to be executed
    | | | | |
    | | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
    | | | ------- Month (1 - 12)
    | | --------- Day of month (1 - 31)
    | ----------- Hour (0 - 23)
    ------------- Minute (0 - 59)To run /root/script/backup at 23:00, every day, enter:
    # crontab -e
    Append following
    0 23 * * * /root/script/backupRun foo job very weekday (MON-Fri) at 6am, enter:
    0 6 * * 1-5 /root/script/backupFor more information refer to cron and crontab man pages.
    Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.
    Related Other Helpful FAQs:
    What is Cron?
    Linux Start and stop the cron or crond service
    Run crontab Every 10 Minutes
    Linux / UNIX Setup and run php script as a cron job
    Stop Ubuntu / Debian Linux From Deleting /tmp Files on Boot
    Discussion on This FAQDavid Says:
    January 15th, 2008 at 12:21 am
    You might note that all files normally found in /etc/init.d, /etc/rc*.d, and others are all in /sbin in HP-UX 10.20 and up.
    Note too that your formatting is off in the description of the /etc/rc.config.d/cron file. Also, if you run /usr/bin/cron instead of /sbin/init.d/cron start, the /etc/rc.config.d/cron file is not used.
    Regards,
    Satya

    I guess it would :)
    btw, how did this piece miss from the contents pasted by the OP ?
    The doc has given all details of CRON and missed where to see the logfiles. :)
    ****Added****
    I tried man crontab in windows, i dont see it.i overlook most of the things, i would have done the same ;)
    Edited by: Bobcatalog on Oct 23, 2008 9:40 AM

Maybe you are looking for