EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); job status is failed

Hi all,
after I import dump fully database , the EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); job status is failed,
what is the reason and how could I start it successfully.
appreciate your help.

user2075318 wrote:
Osama , thx for the updates,
but unfortunatly I don't have access to oracle support site,
it's grate if you can give me the 444033.1 document please.you need to have valid license to get oracle.support.com , otherwise i can't post anything here it will be illegal to do that

Similar Messages

  • EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); has broken.

    Hi,
    im getting below error in my database .. can you any one tell me tips or provide me usefull link ..
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); has broken.
    Database :10.2.0 .4
    OS :sun

    Hi,
    The EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS job performs all the necessary maintenance tasks for the database control repository. It seems that you need to recompile it by doing:
    exec emd_maintenance.recompile_invalid_objects;
    regards

  • Enable DBMS JOB EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS for DB Control

    Hi all,
    I'm getting the below warning message in enterprise manager home at one of the nodes of RAC.
    The Availability calculations for the cluster database target are disabled. Please enable the DBMS JOB EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS for Database Control.*
    What does this mean ? Any idea ?
    Thanks in advance.
    Dhaval.

    Hi there,
    The reason I found for this warning was that EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS() was broken.
    I fixed it by executing DBMS exec DBMS_JOB.RUN(<<job number>>);
    where job number can be obtained from select job,broken,what,log_user,schema_user from dba_jobs;
    Thanks for all your efforts.
    Regards,
    Dhaval.

  • DBMS_SCHEDULER failed jobs  status

    Hi
    how to check DBMS_SCHEDULER failed jobs status ?

    Don't duplicate thread.Please close one of the threads
    oracle   failed DBMS_SCHEDULER jobs status?

  • 'systemctl --user status' returns 'Failed to get D-Bus connection'

    Basically I am trying to run a user session of systemd. Up to now, this worked without doing the additional parts from the systemd/User wiki-page. Now it returns 'Failed to get D-Bus connection: No such file or directory' or 'Failed to read server status: Input/output error' (the first one when I try it from the TTY, the second one from within xfce / urxvtc). Even after doing the wiki-page, it still returns the two error messages.
    My current 'systemctl status':
    ● SHODAN
    State: running
    Jobs: 0 queued
    Failed: 0 units
    Since: Fr 2014-04-25 18:33:55 CEST; 6min ago
    CGroup: /
    ├─1 /sbin/init
    ├─system.slice
    │ ├─rtkit-daemon.service
    │ │ └─466 /usr/lib/rtkit/rtkit-daemon
    │ ├─polkit.service
    │ │ └─376 /usr/lib/polkit-1/polkitd --no-debug
    │ ├─lightdm.service
    │ │ ├─279 /usr/bin/lightdm
    │ │ └─283 /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
    │ ├─systemd-logind.service
    │ │ └─276 /usr/lib/systemd/systemd-logind
    │ ├─dbus.service
    │ │ └─274 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    │ ├─wicd.service
    │ │ ├─273 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
    │ │ ├─289 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
    │ │ └─365 wpa_supplicant -B -i wlp4s0 -c /var/lib/wicd/configurations/00184db47218 -Dwext
    │ ├─systemd-udevd.service
    │ │ └─143 /usr/lib/systemd/systemd-udevd
    │ └─systemd-journald.service
    │ └─119 /usr/lib/systemd/systemd-journald
    └─user.slice
    └─user-1000.slice
    └─session-c2.scope
    ├─ 314 lightdm --session-child 13 20
    ├─ 352 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
    ├─ 359 dbus-launch --sh-syntax --exit-with-session
    ├─ 362 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
    ├─ 374 xfce4-session
    ├─ 384 /usr/lib/xfce4/xfconf/xfconfd
    ├─ 395 /usr/bin/gpg-agent --sh --daemon --enable-ssh-support --write-env-file /home/dustball/.cache/gpg-agent-info
    ├─ 411 xfwm4
    ├─ 419 xfce4-panel
    ├─ 421 Thunar --daemon
    ├─ 423 xfdesktop
    ├─ 425 urxvtd
    ├─ 448 python2 /usr/bin/quicktile -d
    ├─ 465 /usr/bin/pulseaudio --start --log-target=syslog
    ├─ 480 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py --tray
    ├─ 481 grep -v Unhandled action type _OB_WM
    ├─ 482 xfsettingsd
    ├─ 483 xfce4-volumed
    ├─ 488 mpd
    ├─ 504 /usr/lib/pulse/gconf-helper
    ├─ 506 /usr/lib/GConf/gconfd-2
    ├─ 525 /usr/lib/xfce4/notifyd/xfce4-notifyd
    ├─ 529 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystray.so 6 12583017 systray Benachrichtigungsfl che Fl che, in der Symbole f r Benachrichtigungen erscheinen
    ├─ 531 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libactions.so 2 12583018 actions Aktionskn pfe Abmelden, sperren oder andere Systemaktionen
    ├─ 532 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libmixer.so 16 12583019 mixer Lautst rkeregler Lautst rke einstellen
    ├─ 548 xfce4-appfinder --collapsed
    ├─ 555 /usr/bin/python2 /usr/bin/sonata
    ├─1131 /usr/lib/chromium/chromium --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-print-preview
    ├─1132 liferea
    ├─1133 claws-mail
    ├─1134 kvirc -m
    ├─1135 /usr/lib32/skype/skype
    ├─1176 /usr/lib/chromium/chromium --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-print-preview
    ├─1177 /usr/lib/chromium/chrome-sandbox /usr/lib/chromium/chromium --type=zygote --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206
    ├─1178 /usr/lib/chromium/chromium --type=zygote --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206
    ├─1181 tmux new-session
    ├─1184 tmux new-session
    ├─1185 -zsh
    ├─1268 /usr/lib/at-spi2-core/at-spi-bus-launcher
    ├─1567 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
    ├─1588 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
    ├─1600 /usr/lib/chromium/nacl_helper
    ├─1755 /usr/lib/chromium/chromium --type=zygote --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206
    ├─1824 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.1.59959206
    ├─1847 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.2.164356213
    ├─1857 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.3.96609819
    ├─1871 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.4.134029888
    ├─1880 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.6.5115895
    ├─1886 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.7.176936345
    ├─1891 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.8.160718626
    ├─1896 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.9.165553601
    ├─1940 /usr/lib/dconf/dconf-service
    ├─2013 /usr/lib/chromium/chromium --type=gpu-process --channel=1131.12.1289180957 --supports-dual-gpus=false --gpu-driver-bug-workarounds=0,1,17,28,34 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x0425 --gpu-driver-vendor=NVIDIA --gpu-driver-version=337.1
    ├─2025 /usr/lib/chromium/chromium --type=gpu-process --channel=1131.12.1289180957 --supports-dual-gpus=false --gpu-driver-bug-workarounds=0,1,17,28,34 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x0425 --gpu-driver-vendor=NVIDIA --gpu-driver-version=337.1
    ├─2105 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --extension-process --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.16.111786888
    ├─2121 bash /usr/bin/steam
    ├─2131 bash /home/dustball/.local/share/Steam/steam.sh
    ├─2132 tee /tmp/dumps/dustball_stdout.txt
    ├─2226 /home/dustball/.local/share/Steam/ubuntu12_32/steam
    ├─2415 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.18.32337900
    ├─2423 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.19.132593708
    ├─2432 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.20.6353944
    ├─2452 /usr/lib/chromium/chromium --type=renderer --lang=de --force-fieldtrials=Prerender/PrerenderControl/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_09/UMA-Uniformity-Trial-1-Percent/group_21/UMA-Uniformity-Trial-10-Percent/group_03/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_01/UMA-Uniformity-Trial-5-Percent/group_11/UMA-Uniformity-Trial-50-Percent/default/ --renderer-print-preview --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=13.0.0.206 --enable-deadline-scheduling --disable-accelerated-video-decode --channel=1131.22.126548679
    ├─2465 /usr/lib/chromium/chromium --type=ppapi --channel=1131.23.955061051 --ppapi-flash-args --lang=de
    └─2685 systemctl status

    I did the dbus-setup according to the systemd/User part in the wiki.
    $ cd $XDG_RUNTIME_DIR/systemd/ && ls -lah |grep private && pwd
    srwxr-xr-x 1 dustball dustball 0 25. Apr 22:13 private
    /run/user/1000/systemd
    Do I need to enable the dbus somehow else than via
    sudo systemctl --global enable dbus.socket

  • Orchestrator Web Service Job Status Codes

    is there a list of all the possible job status codes returned by the Orchestrator Web Service when starting runbooks.  i know of "Created", "Ok" but would like full list.

    SELECT  [Id]
          ,[Name]
      FROM [Orchestrator].[Microsoft.SystemCenter.Orchestrator.Runtime.Internal].[JobStatus]
    Query returns
    0-Pending
    1-Running
    2-Failed
    3-Canceled
    4-Completed

  • OEM job : How to force job status after a PLSQL job run?

    Hello,
    We are under 10gR2, using OEM with a lot of jobs that call PLSQL procedures.
    For some obscur reason, when a PLSQL procedure fails, the job status is always "Succeeded". This is not useful at all !!!
    So, as we don't kow why, I was thinking about setting the return job status in the PLSQL procedure itself ...
    Is it possible ?
    How can I do that ?
    I hope that my explanation is clear.
    Thanks for your help,
    Olivier

    Hi Olivier
    I dont understant the first time.
    Yes its very stange that the job appear like suceed and the PL procedure had failed.
    If you want more control to this situation, in my situation i had too much problems with jobs that executing SQL scripts.
    Then i change the SQL SCRIPT JOB for OS SCRIPTS JOB and in this scripts i can controlling the execution
    This an example
    Job Statistics.sh
    Gric Control --> Job --> Operating System Script
    /home/oracle/script.sh --> In the parameter line of the job
    # the script.sh
    ORACLE_HOME=/oracle/10.2
    ORACLE_SID=PROD
    $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
    execute dbms_mview.refresh('MVIEW_SALES','f');
    EOF
    res=$?
    if [ ${res -ne 0 }
    then
    mailx -s THE_JOB_HAD_ERRORS [email protected]
    else
    mailx -s ok_execution [email protected]
    fi
    In my enviroment was a solution to control the exact execution of the jobs
    Regards

  • URGENT : Error 5 when checking the job status

    Hello Forum,
    While monitoring the Process Chains in BW 3.1, I got the following message in the <b>Information </b>Pop-up:
    <b>Error 5 when checking the job status</b>
    Could you please tell me what it means?
    Thank you,
    its my duty to assign points,
    raj

    Hi,
    Are you able to view the log after refreshing and clicking the tick mark button on this message or is it not letting you go into the log itself.
    Can you directly go to Log view thru Tcode RSPCM and see. Once you are inside try to find where exactly the process failed.
    Thanks,
    JituK

  • Enprise Job Costing Error: "No Closed Job Status Defined"

    Hi All,
    I upgraded a the JobCostging Add-on to: EnpriseJobCosting_800255. When they find the job > Invoicing Tab > Set Status to "Ready to Process" > Make to Stock > Enter Item Code and rest of Details > Click "OK" the  following error occur:  "No Closed Job Status Defined".
    CAN SOMEBODY PLEASE HELP?
    Kind regards
    Carin

    Hi Carin,
    You may check this: Re: Bank payment file failing only for 2nd line
    Thanks,
    Gordon

  • Check The Job Status

    Hi SAPsimhas,
    My requirement is as below.
    I will loop through an internal table and create some files with background processing method.(JOB_OPEN,SUBMIT & JOB_CLOSE)
    Now once this job is triggered I need to check the status for that job after maximum 10 mins. Its not neccessary that each job will take 10 mins. only,It can be finished in 2 mins also.
    Once the job is finished then I will XCOM that file.
    So my question is how to code such timer which will check the job status for that job? I have a FM BP_JOB_READ which returns the job status.
    Reply is highly appriciated.

    Try this way
      do.
        call function 'SHOW_JOBSTATE'
          exporting
            jobcount         = p_jobc
            jobname          = p_jobn
          importing
            aborted          = v_aborted
            finished         = v_finished
            ready            = v_ready
            running          = v_running
            scheduled        = v_scheduled
          exceptions
            jobcount_missing = 1
            jobname_missing  = 2
            job_notex        = 3
            others           = 4.
        if v_aborted eq 'X'.
          exit.
        endif.
        if v_finished eq 'X'.
          select single * from tbtcp into wa_tbtcp1
                     where jobname eq p_jobn
                       and jobcount eq p_jobc.
          if sy-subrc eq 0.
            move wa_tbtcp1-listident to p_spono.
          endif.
          exit.
        endif.
        if v_count le 10.
          call function 'ENQUE_SLEEP'
            exporting
              seconds = 60.
          v_count = v_count + 1.
        endif.
      enddo.

  • Unable to get job status via BIP web service

    Hi,
    I'm scheduling a report job using the method scheduleReport of the ScheduleService web service. The method returns the jobId correctly, then I check the job status using getScheduledReportStatus.
    Every time the method returns jobstatus = "Scheduled", but the report is finished. I noticed that BIP schedule a child job with different jobId (why?) and If I use it, the getScheduledReportStatus return a null status.
    Using the method getScheduledJobInfo I have all the information, but how can I get the child jodId ?
    Best regards,
    Alessio

    Hi Alessio
    I know this was a long time ago but i was just taking a chance:
    Quick question: did you get this to work? I can schedule a report using the ScheduleReport sevice, but when i query the status using getScheduledReportStatus, the status remains 'Scheduled', even after the job has run. The job also does not appear in the Job History of the report. The report is set to burst, which it does correctly.
    Do you have any ideas?
    Thanks very much.

  • Add-on Status is Failed, but Add-on is connected

    Good Day!
    Hi Experts,
    I had created an installer for my Add-on for the client. This is a project from SAP B1 Studio.
    SAP B1 version is 9.0 PL11.
    1. The add-on is running ok in Debug Mode.
    2. I've successfully created an ARD File.
    3. Successfully installed ARD File.
    4. On Add-on Manager, when I tried to click Start, the add-on says Incorrect Connection String for Add-on. Even if the Status is Failed, the Add-on still executes. It still displays the custom form, the events, CFL etc.
    I've used the SAPBouicom.Dll in my debug folder, and I ensured the latest SAP B1 Studio and DI API is installed (PL11). I even removed the old files and reinstalled but the same result appears.
    Your help is greatly appreciated in this matter.

    i had already a Debug Code in my Environment.
    Dim sConnectionString As String
    SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Environment.GetCommandLineArgs.GetValue(1).ToString
                    Try
                        SboGuiApi.Connect(sConnectionString)
                        ' Causes an Error Here but if I don't terminate the Add-on here, the Add-on will still run
                    Catch ex As Exception
                             'System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
                             'End  
                        Try
    SBO_Application = SboGuiApi.GetApplication()

  • 5 error while checking job status

    Hi,
    We are getting the following error when we are trying to check the status of the process chain through FM 'RSPC_API_CHAIN_GET_STATUS':
    5 error while checking job status.
    The real scenario is we are using an abap screen with a button on it. when the user clicks on the button we call the FM 'BP_EVENT_RAISE' to trigger the process chain. once the chain is triggered we are having an endless loop to monitor the status of the chain with FM 'RSPC_API_CHAIN_GET_STATUS' untill the chain status turns green ie G.
    Now while monitoring the status it randomly throws me the above error. it seems to work sometimes and other times it gives the popup with the said error.
    Can anybody help why we get the error.
    Regards,
    Shashank

    Hi Shanshank,
    Try to Debug the FM.
    Rgds,
    Ravi

  • What are the possible values for the JOB status?

    What are the possible values for the JOB status in the table TBTCP and significance for each?

    Hi,
    Have a look at include LBTCHDEF.
    The standard include from SAP.
    -> Definitions and Constants for Function group BTCH
    Kind Regards
    Raymond

  • Why data has not been copied from staging DB to Reporting DB even timer job status is success ?

    Hello,
    I am facing following issue regarding web analytic service for specific date 2014-08-18:
    Verified following services which are running and status was success on that specific date 2014-08-18 :
    Web Analytics Service
    Microsoft Usage Data Import
    Microsoft SharePoint Foundation Usage Data Processing
    Observed latest Web Analytics Setting as below :
    LastAggregationDateId 
    20140817 -   The date id of the last successfully completed data aggregation
    LastAggregationTime
    2014-08-18T00:00:13.210 - The time of the last successfully completed data aggregation
    LastBestBetSuggestionAggregationDateId
    20140818 - The date id of the last successfully completed best bet suggestion data aggregation. This date id should not be reset to an earlier date manually.
    LastDataCopyTime
    2014-08-17T23:59:09.693 - The last time the data were copied from the staging databases to this reporting database for aggregation
    Above settings says that Data has not copied from Staging DB to Reporting DB on Date 2014-08-18
    In order to verify the same I have checked as follow:
    SELECT COUNT (*) FROM [dbo].[WATrafficAggregationByDate] WITH (NOLOCK)
    WHERE  [DateId] = 20140818
    Above SQL Query has returned ZERO value.
    Can anyone please let me know Why data has not been copied from staging DB to Reporting DB even timer job status is success ?
    Your help will be much appreciated.
    Thanks and Regards,
    Dipti Chhatrapati

    The image itself has the answer
    The user requests a page, and the action gets picked up by the Web Analytics service that runs on SharePoint.
    The Web Analytics service logs this in the “.usage” files.
    A Timer job called “Microsoft SharePoint Foundation Usage Data Import” by default runs every 30 minutes. It imports the logs into the staging database.
    Each night the “Microsoft SharePoint Foundation Usage Data Processing” Timer job runs and transforms the data into the reporting database.
    The last run time of the import from staging and the aggregation is logged in the Settings table in the Reporting database.
    Usage and Health Data Collection Service Application collects Data about Usage and Health of your farm.
    This information is used for Health Monitoring and this is also required for running the Web Analytics Service. If you do not have a Usage and Health Data Collection Service Application or your
    Usage and Health Data Collection Proxy is stopped, you will not see any data in the Web Analytics Report
    Regards Chen V [MCTS SharePoint 2010]

Maybe you are looking for

  • How to modify the length of a user profile property

    I need to increase the length of a custom user profile property, but the length looks disabled when I try to edit and modify. Is there any way i could modify this by powershell or some other work around where I can increase the lenght of the script?

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables. The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 t

  • Audiobooks from CD

    I have some audiobooks on Cd. they are proper genuine copies. I just can't get them into the audio books section of the itunes library. can anyone help please? Marie

  • Firewall in the new trans capsule

    I replaced the older trans capsule with this brand new one: 1. Had to remove old installed WIF set up and add new setup to get top speed. 2. Have PC and IMAC and IPAD air and IPHONE and AppleTV The Firewall what does it do? No need for F secure on ei

  • Assigning and exporting podcast artwork

    The podcast artwork that is exporting with my episodes seems to be stuck on the same one all the time.  I'm not sure how to place the correct episode artwork for each new episode of my podcasts in the GarageBank window.  For instance I have one Garag