Email Grid job output

Is there any way you can email output from a Grid Control job using grid control?
I like the ability to send email of successful/failed jobs, but depending on the job, I'd like to have the actual output emailed.
Bazza

Hi,
I don't know any way to send an email by means of oems itself.
But there are three tables:
sysman.mgmt_job,
sysman.mgmt_job_history and
sysman.mgmt_job_output
So you could easily install a cronjob, which search the latest jobs and sent you the output, or a trigger which raises a procedure to do the job.
Best regards
Andreas

Similar Messages

  • Email notification for GRID job output

    Is it possible to get the job output in the email notification? I can currently get the job status but not the output.

    it may be bit tricky to include in your email notifications, but its possible to trace back to GRID JOB output.
    1. Get job JOB execution ID
    2. Get Latest output_id from job execution ID.
    3. You can do a select from
    SELECT output FROM MGMT_JOB_OUTPUT WHERE output_id=&OUTPUT_ID
    its explained in metalink note
    Note 300690.1 - Troubleshooting Script for Problematic Job Output in EM 10g Grid Control

  • Job Output in email as attachment

    hi,
    I'm currently using Hyperion 9.3.1 to create a Job Scheduling for a report. The report output should be automatically send an email as schedule with the report result attached to the email.
    The report result is not attached to the email. Anyone can advise what might I have miss out when I setup the job?
    Thanks,
    lieming

    i have the same problem, any suggestion please?
    this is the message i got
    "The following job output types were specified for delivery, but not generated by the job: pdf "

  • [SOLVED] crontab wont email job output

    Hi archers
    I have the following in my users  crontab
    MAILTO=[email protected]
    00 20 * * * cd /home/user/Scripts ; ./Fetch-Updates
    The job runs everyday at 20:00 and the job completes successfully every time. However, the job output is always mailed to user instead of the user at the external domain. The system is configured with exim as my smtp daemon and will email externally from the command line with mail so I cant see anything wrong with the configuration.
    Any ideas?
    Cheers
    GregW
    Last edited by GregW (2010-02-24 13:21:06)

    [redacted]
    edit1: not sure what mail system dcron (cron) uses as default (and it may be a config option) but if it's using something designed only for internal system mails then you've got some more work to do.  maybe look into fcron, i know you can configure an smtp program (ssmtp or msmtp) and set fcron to use it for mails (you can probably do that for dcron too though), then you'd be good to go.
    either way, good luck
    edit2 i see you've found some info... try my edit1 suggestion, fcron ftw!
    Last edited by brisbin33 (2009-04-28 20:27:22)

  • Job output is no longer available in the database control file

    Im running my rman backup with Oracle Enterprise manager grid control 10.2.0.1.
    In nocatalog mode.
    When I look for the job output in the "View Backup Report" section, it says
    Job output is no longer available in the database control file.
    Here is my rman setup:
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5 G;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/app/oracle/product/10.2.0/db_1/dbs/snapcf_mus_prod.f'; # default
    anyone knows why i cannot see my rman job output?

    show parameter control_file_record_keep_time;
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    The backup is usually the last one. And it's the day before.
    If i go to the JOB tab in oem, then click on the job detail, i can see the detail of my rman backup. But i cannot see the backup detail in the View Backup Report section off the database. It says the error message : Job output is no longer available in the database control file

  • Oracle 10g grid - Job details

    Hi,
    I logged into the Grid as SYSMAN and added 2 targets(A and B). I created 2 jobs related to target A and 2 jobs related to target B.
    1. Where can I find the details of these 4 jobs? i.e., which system tables have these information like job name, execution date, error details if any. I appreciate your help.
    2. is there any issue related to job status in grid? always it is showing succeeded even if the attached procedure has the divided by zero error. Is there any workaround for this?
    Thanks, Jay.

    The following query might help:
    jobs output run within last 24 hours:
    SELECT job_name,
    start_time,
    end_time,
    target_name,
    target_type,
    STATUS,
    OUTPUT
    FROM mgmt$job_step_history
    WHERE to_date(start_time) BETWEEN to_date(sysdate -1)
    AND to_date(sysdate)
    order by 1
    Datatype of field output is clob and therefore difficult to display. You can use Toad to run this query which shows output in a popup window, just double click in the output column and it would display the popup.

  • SPOOL data gets truncated when bckground job output sent to spool recepient

    Hi All,
    I am facing a strange problem.
    I have a background job scheduled. Have specified a distribution list as the spool recipients.
    Background jobs output is sent to the recipients as attachment but data is not complete.
    When I check the spool request for that background job it contains 80 pages but the attachment in the recipients inbox contains just 17 pages.
    SP01/SP02 will display settings to display the range of pages but the emaill attachment doest show.
    Can anyone please help me with this?
    We are on ECC 6.0 (Windows2003/MSSQL2005 SP3)
    Regards,
    Yatin

    Hi,
    When the spool content is sent immediately after the background job its size is 14KB.
    I tested by sending spool content via mail using transaction SP01. I mean after the jobs is completed, I go to SP01 and send the SPOOL content manually. This time recipients receive the correct content of 80 pages and size of the document this time is 73KB.
    Regards,
    Yatin

  • Need to add Header  and footer in an alv grid display output.

    How can I add header and footer in an alv grid dispay output.
    For the grid display, I am using the function module "REUSE_ALV_GRID_DISPLAY".

    HI,
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'
                i_callback_html_end_of_list = 'END_OF_LIST_HTML'
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    FORM end_of_list_html USING end TYPE REF TO cl_dd_document.
      DATA: ls_text TYPE sdydo_text_element,
            l_grid     TYPE REF TO cl_gui_alv_grid,
            f(14) TYPE c VALUE 'SET_ROW_HEIGHT'.
      ls_text = 'Footer title'.
    adds and icon (red triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IL'.
    adds test (via variable)
      CALL METHOD end->add_text
        EXPORTING
          text         = ls_text
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Bold text'
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Nor'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Yellow '
          sap_emphasis = 'str'.
    adds and icon (yellow triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IC''.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Mor'.
    *set height of this section
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = l_grid.
      CALL METHOD l_grid->parent->parent->(f)
        EXPORTING
          id     = 3
          height = 14.
    ENDFORM. "end_of_list_html.
    This will solve  it. Post if you need more help in this.
    Regards,
    Madhu.

  • Hide/Remove Subtotal Icon in ALV Grid report output.

    Hi,
            Is ther a way to remove or hide the Subtotal icon in the ALV Grid report output?
    Thanks & Regards,
    Praveen.

    Hi,
    You can add names of the buttons(which you want to hide) to internal table and pass this internal table for tool bar excluding parameter while calling ALV.
    Here as shown in below code, 'Sorting, Ascending,Descending' buttons are removed from the tool bar list. 
    data : lt_exclude TYPE ui_functions.
    ls_exclude = cl_gui_alv_grid=>MC_FC_SORT.
      APPEND ls_exclude TO lt_exclude .
      ls_exclude = cl_gui_alv_grid=>MC_FC_SORT_ASC.
      APPEND ls_exclude TO lt_exclude .
      ls_exclude = cl_gui_alv_grid=>MC_FC_SORT_DSC.
      APPEND ls_exclude TO lt_exclude .
        CALL METHOD alvgd->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
         IT_TOOLBAR_EXCLUDING          = lt_exclude
    Regards,
    Maharshi Vyas

  • Error 50103 (rwfdt:rwfdtprint): ERR Error occurred sending Job output

    Getting the below with a particular report I am running. Seems that the cache file isn't getting created for some reason. There are other cache files in the directory so it's not a user permission type thing I'm guessing.
    Anyone seen this before?
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtni_NextInstance): running
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtni_NextInstance): quit
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): running
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): Cache file is C:\oracle\product\10.2.0\MT\reports\cache\66117201.txt
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): quit
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtprint): caching output from backend drivers
    [2007/7/4 2:10:15:431] Error 50103 (rwfdt:rwfdtprint): 14:10:15 ERR Error occurred sending Job output to cache

    Hi,
    Sorry I didn't realize that i didn't answer to this question because of reference to others.
    I solve it with change of values in rwserver.conf
    one of values is default but other solve issue.
    <property value="no" name="keepConnection"/>
    engLife="2"   or    engLife="1"This happens in my env because application often change user (db schema). And this is workaround for restarting engine.
    regards

  • Getting Job Output

    Hi there.
    I have a job that I run as a DBA Script that does the following:
    1)Runs dbms_stats.gather_schema_stats with the STALE option to get stale stats.
    2) If this first job fails then does a dbms_stats.gather_schema_stats on the whole schema.
    (the gather stale stats has been failing with ORA-00600 errors for some reason).
    What I would like is for the Job Output to show something like 'Running Job Stale' or something to identify which one actually ran.
    How can I get some sort of output into this dialog box?
    Thanks in advance,
    Jas

    Hi there.
    I have a job that I run as a DBA Script that does the following:
    1)Runs dbms_stats.gather_schema_stats with the STALE option to get stale stats.
    2) If this first job fails then does a dbms_stats.gather_schema_stats on the whole schema.
    (the gather stale stats has been failing with ORA-00600 errors for some reason).
    What I would like is for the Job Output to show something like 'Running Job Stale' or something to identify which one actually ran.
    How can I get some sort of output into this dialog box?
    Thanks in advance,
    Jas

  • Email conc program output file by using printer driver

    Hi ,
    we have one interface program which has been scheduled every week.
    My req is that after completing successfully/error the interface program i need to send an email to the given email address with output file as attachment.
    This should be happened through priter driver.
    Could anyone please help me on this.
    Thanks,
    Malla

    Hi Bhaskar,
    I appreciate for your reply.
    What I am looking for is that without writing any shell script is there any possible solution.
    Now I am getting an email without writing shell script but attachment is not coming with the email.
    My current process is that
    I am registering a printer and when create a driver for this i am giving parametes for command mode as
    $ uuencode $PROFILES$.FILENAME $PROFILES$.FILENAME_out|mailx -s $ $PROFILES$.FILENAME [email protected]
    I am able to get the email but no attachment.
    So Could you please tell me how to do that.
    Thanks,
    Malla

  • How do i stop the emails "eprint job received"

    how do i stop the emails "eprint job received"?

    Hope you a having a great day,
    Are you still experience this issue. If you are, I will do my best to assist you.
    Go to this article if should explain how to manage your apps GO HERE 
    If you are not experiencing this issue any longer you may disregard this post, although I will deeply appreciate if you can take I little bit of your time and let me know.
    Let me know if I can assist you further;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • How to export Oracle 10g Enterprise Manager Grid jobs?

    I need to save all current Oracle 10g Enterprise Manager Grid jobs before our migration. We are running Oracle 10.1.0.4 on Solaris 9. How can I save off the jobs to a file and re-import these after our migration into the new Grid server?
    Thanks,
    Ben Prusinski

    Hi!
    Have you been able to export your jobs? If you have, I would appreciate it if you could share it with me..
    Thanks!!

  • How to change the Grid ALV output resolution according to screen

    Hi All,
    I have a requirement in which I have to adjust the Grid ALV Output Screen resolution according to user screen. I mean if the user has any type of  screen (17'' , 15'', 12.1'' ),  the output should be completely fit to his screen.
    Helpful solution will definitely be rewared.
    Amit Varlani

    Hi!
    I doesn't depends on the screen size only the desktop resolution.
    If the desktop resolution is set to 1024*768 on every computer, then it will be the same all the time.
    You can set the desktop resolution in your windows (right click on desktop - properties - settings).
    Regards
    Tamá

Maybe you are looking for

  • Logic 7.1.1 Vs Reaktor Session 1.3.1

    SO....... boy is this turning into a 'mare and half. I picked up a new copy (yup i know its now discontinued) of Reaktor session last week. Although it states on the box that its able to open as an AU, and its also listed on the Audio Units Compatabl

  • How to disable GroupSpace once installed in 10.3.2

    We recently created a domain using the wizard. Now that our domain is up and running, we want to disable groupspace as we don't plan to use it and don't want to incur the overhead. When our server starts up, we get an error "The DataSource appsGroupS

  • Double space issue in word 2010

    Hi, I am currently converting all my word 97 documents to word 2010. I need to mail merge the document. In the development mode of word the double space is present after period (Full stop). After generating the document through application , the doub

  • ADS Global Catalogue Usage and SAP Transaction iViews

    Hi all, I connected our ADS to UME. I have several subdomains in the ADS which are accessed via global catalog. To configure the ume for global catalog I changed the j_user attribute from samaccountname to userprincipalname and the uniquename attribu

  • Itunes wont recognize other ipods

    so the girlfriend is moving in and we are consolidating to one computer. now for some reason itunes wont recognize her ipod or any others. in the past we had to problems, now all it does is freeze up until i disconnect her ipod. i tried uninstalling