Can a running report get his Jobname if it is executed this way?

Hi!
One of me reports planned in a job needs to know information about his job: for example JOBNUMER (TBTCJOB-JOBCOUNT), JOBLOGID (TBTCJOB-JOBCOUNT) and most important JOBNAME (TBTCJOB-JOBNAME).
How can he get that information?
Thanks in advance
Tobias

Try function module GET_JOB_RUNTIME_INFO. Also take a look at function group BTCH.

Similar Messages

  • IPhoto won't run. iPhoto can not run due to an incompatible version of ProKit on this system.

    Eh, See title. When I attempt to run iPhoto it pops up "iPhoto can not run due to an incompatible version of ProKit on this system." So. What's ProKit and...
    I really need iPhoto today, quite urgent. iPhoto worked perfectly fine before the upgrade but now it seems to.. not be compatible. Yes it is the most updated version. I'm about to order a book and I really need to order today. And in other question, (Don't want to make an other one for no reason in the forums) how long does it normaly take for the books to print and arrive in Singapore? Please answer as quick as possible.
    Thanks.

    Did you install any third party software earlier? Pro Kit is a frame work in your system Library that is used by several multimedia applications. If you have an incompatible version, reinstall your system, that should fix it: Use the Client Combo to reinstall:
    Download and reapply the OS X Lion Update 10.7.4 (Client Combo) updater.
    Good Luck!
    And sorry, I do not know anything about the book delivery in Singapore. But you live in a fine city!
    Tegards
    Léonie

  • TS2551 Photo can not run due to an incompatible version of ProKit on this system.

    Message:"iPhoto can not run due to an incompatible version of ProKit on this system".It is a Lion system????I updated iphoto to version 9.3 and it is the message I receive every time I try to open iphoto. Please help me?

    Try downloading and reapplying the OS X Lion Update 10.7.4 (Client Combo) updater followed by a repair of disk permissions with Disk Utility.
    OT

  • Can't run report in ASYNCHRONOUS mode

    Hi All,
    I'm trying to make a report run in ASYNCHRONOUS mode. I want to press a button on a form, submit the report to the reports server and be able to navigate within the form while the report is being executed on the reports server.
    My problem is, no matter what mode I choose (ASYNCHRONOUS or SYNCHRONOUS), the mode ALWAYS ends up being SYNCHRONOUS. After I press the button (code below), I get the hourglass and I can't navigate within the form until the report is finished. Then I can view it.
    The reports server I'm using is installed locally on the same PC I'm testing the form.
    Can someone help me please? I'm using using Forms Builder 9.0.2.9.0.
    Thank you,
    Artur
    declare
         v_repid REPORT_OBJECT;
    v_rep in varchar2(100);
    begin
    v_repid := find_report_object('TEST');
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_COMM_MODE, ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESTYPE, 'CACHE');
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESFORMAT, 'PDF'); -- OR HTMLCSS
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_SERVER, :TI_REPORTS_SERVER); -- local pc reports server
    v_rep := RUN_REPORT_OBJECT(v_repid, v_param_list);
    end;

    Arthur,
    Communication mode is soemthing forms handles when calling the run report object. Your code looks fine. You might get a quikc answer if you can post this in Forms mailing list
    Thanks
    The Oracle Reports Team

  • Can not run report

    hi,everyone
    on my oracle ias 9.0.2 ( patch 9.0.2.2.0 ) when i run a big report server is no response,little report is very good.i don't know the reason.
    who can help me?
    thanks

    Hi,
    by the little information you provide I feel almost unable to help. However, if you call a long running Report from
    a) Forms: then Forms waits for the report to return if run in synchronous mode
    b) Reports Servlet: The Reports Servlet also waits for the Report to be finished. If this takes too long then it can happen thzat you run into a Servlet Session timeout.
    Check error log files or the Reports queuemanager to see what's really happening. If you see that the report is processed then you may need to check the Reports query against the database and tune it if required
    Fran

  • How can i run Report in Web (Oracle 9i)

    I working with Report Developer 9i,
    How Can i run my report to web ?

    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Thanks
    Ratheesh

  • How can we run reports from the front enf of iProcurement...

    Hi Guys,
    I need to create a link to run reports from the front end in iProcurement webpage instead of using apps SRS to run the report...
    help needed...
    thanks
    aman

    Hi Tapashray,
    That was a great help. Thank you so much. A few more clarifications needed sir..
    I refered to a previous link and came to know about a prcedure he followed for a report. So is it the same way that is to be done... I pasted a descr what he said in the thread. In ur solution, you said, have a link bean. what do u mean by that. After i go thru all the steps what this guy told.
    It would be of gr8 help if you kindly look in to this for one more minute sir..
    thanks
    Creating a new report in 11.5.9
    Re: Creating a new report in 11.5.9
    Posted: Mar 11, 2005 7:12 PM in response to: dhergert Reply
    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region

  • I get error message: iPhoto can not run due to an incompatible version of ProKit on this system. What should I do?

    Hi, I have an iPhoto that can't run and shows this message. What should I do? I had Aperture before, but I deleted it. Now iPhoto shows some error. Please someone help me,
    Thanks,
    K3V1Nbot

    K3V1Nbot wrote:
    Hi, I have an iPhoto that can't run and shows this message. What should I do? I had Aperture before, but I deleted it. Now iPhoto shows some error. Please someone help me,
    Thanks,
    K3V1Nbot
    Update ProKit if there is an update or more recent release.
    Pete

  • Just found out that I can't run microsoft word or adobe photo shop with Mavericks, any way to solve this?

    Just found out that I can't run microsoft word or adobe photo shop with Mavericks, is there a way to make this work?

    You must be using very old versions (Office 2004 or older, Photoshop CS2 or older).
    Upgrade to newer, or current versions.

  • How can i run report from form?

    Hi.
    I build a report , the name is test , in this report i have 3 parametrs 'user_id' , 'Date_1' and 'Date_2'.
    how can i send those parametrs from form to report?
    i have 3 text item in form for get the parametrs.
    thanks alot

    You can run the report from within a program unit, using following :
    Run_Product(REPORTS, report_name, ASYNCHRONOUS, RUNTIME, FILESYSTEM, param_list, NULL);
    Here, report_name contains report file's name (test.rdf in your case) its type is Varchar2.
    param_list is of ParamList type, it contains the name-value pairs for parameters you want to pass to the report. You'll have to add parameters to this using addParameter() function. see the Help for addParameter().
    this will run the report using Report Background Engine.
    Regards,
    Muhammad Shakeel

  • How can i run report??

    Hi All
    I am new to oracle report plz tell me if i run jsp report ,created through web and paper layout selection, with the following url
    http://machine_host:port/reports/test/rwservlet?report=rptname.jsp&server=rep&desformat=htmlcss&destype=cache&userid=u/pw@db
    (note:here test is a folder which is in ORACLE_HOME\reports\j2ee\reports_ids\web and the path has been added in reports_path)
    then what is wrong with this bcoz i am not getting report
    as i run my report successfully with the following url
    http://machine_host:port/reports/test/rptname.jsp?userid=u/pw@db
    In former url i got server name by using
    http://machine_host:port/reports/rwservlet/showenv
    which shows "server rep " under the heading of
    Oracle9iAS Reports Services - Servlet Environment Variables
    I shall be very thankful for any kind of help.

    You need to give
    http://machine_host:port/reports/rwservlet?report=rptname.jsp&server=rep&desformat=htmlcss&destype=cache&userid=u/pw@db
    No test between reports and rwservlet. It is the context path of the reports servlet. (Since you have put test in
    REPORTS_PATH, this should work
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web    ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports   ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper   ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Can not run Reports from a Form

    Hello,
    First: I'm completely new to Oracle, even my english is not very good - i'm sorry for that.
    Problem:
    I want to run a report from a Form using the Report Server.
    If i use:
    WEB.SHOW_DOCUMENT('http://tfischer:8888/reports/rwservlet?report=C:\Oracle-Projekte\testbericht.rdf&USERID=user/password@oraapp&SERVER=SrvShadow&DESFORMAT=html&DESTYPE=cache', '_blank') - everything works well.
    But if i use:
    repid := FIND_REPORT_OBJECT('REPORT_NAME');
    v_rep := RUN_REPORT_OBJECT(repid); - always following Error-Message appears:
    "FRM41213: Anmeldung bei Report-Server SrvShadow nicht möglich" (english: registration on Report-Server SrvShadow not possible)
    I am using:
    Windows 2000
    Oracle DS9i
    Oracle DB92 (Personal edition)
    Can somebody help me, please?
    If you need more information, to help me, please ask.

    Hi,
    Try using
    SET_REPORT_OBJECT_PROPERTY
    (repid,REPORT_SERVER,"YOURSERVERNAME");
    before
    v_rep := RUN_REPORT_OBJECT;
    If you are testing the report on your PC using reports services on your PC then you may need to initiailize the reprots server using
    rwserver server="YOURSERVERNAME" install
    at command prompt.
    Hope this helps.
    -Jayshree

  • How can i run report in form developer 10g

    hi plz help me
    i type code
    web.show_document('http://127.0.0.1:8889/reports/rwservlet? server=test report=c:\1.rdf & desformat=htmlcss &userid=scott/tiger@test & destype= cache','_blank');
    then i receive a message with error code REP-51002
    plz plz help

    I noticed that you have several blanks (white spaces) in the url. Please remove them and try again!
    Link should be:
    web.show_document('http://127.0.0.1:8889/reports/rwservlet?server=test report=c:\1.rdf&desformat=htmlcss&userid=scott/tiger@test &destype=cache','_blank');
    This should work perfecly (if of course you have started the Reportsserver 'test'). Also try copy that link and paste it directly into your browser. If it works there, it should work in Forms!!!
    You can check the environment of that Report with following link:
    http://127.0.0.1:8889/reports/rwservlet/showenv?server=test
    And what you can additional do is to check the Reports Que:
    http://127.0.0.1:8889/reports/rwservlet/showjobs?server=test
    The Reports Que is my number one to check for errors. You'll see a red circle/x after an unsessfull Report. Click on that icon for complete error message.
    Regards,
    Martin

  • Can not run reports on Linux OS

    Hi All,
    We have running Oracle Forms and Reports Services 10g (9.0.4) on Windows 2003 Server.
    The Application Works fine, and reports are generated successfully.
    But when we access the same application by using Linux OS (RHEL 4.4),
    The forms works fine but Linux OS could not run the report.
    This seems to be a configuration problem.
    Any Clues.
    Thanks and Looking Forward.

    Check rwserlvet.conf here you will see comment out <!-- ... --> IN the part for the reports engine two lines, one is the Path for Reports the other is for TMP for reports, try to uncomment path and use this, then restart the reports server and see if it works.
    Hope this helps.
    Regards.

  • Can't Seem to Get my Event Based Job To Execute

    What makes this slightly different than other posts on this topic is that we want to use our own queue/payload object rather than the built-in SCHEDULER$_EVENT_QUEUE. There are many reasons for this. What follows in under 11gR2 (11.2.0.3)
    So, the following code blocks are just for a proof of concept piece intended to create a simple job and to have it fired based on the arrival of a message in a queue. (Something we have a requirement to do) The issue that I just can't seem to resolve is that, for some reason, the scheduler object never triggers the job. I can't find any trace or alert log entries to help me diagnose. What I do know is that the queue itself is fine (dequeues and enqueues work normally). The object payload type is fine (All of these tested from the EVENT_JOB_MGR package provided below).
    Here's the PL/SQL Type that is the payload object of the queue and is also referenced in the package:
    CREATE OR REPLACE TYPE RUN_MSG AS OBJECT
      STATUS VARCHAR2(255)
    Here are the queue and queue table:
    BEGIN
      DBMS_AQADM.CREATE_QUEUE_TABLE
        QUEUE_TABLE           =>        'JUPSHAW.EVENT_JOB_QT'
       ,QUEUE_PAYLOAD_TYPE    =>        'JUPSHAW.RUN_MSG'
       ,COMPATIBLE            =>        '10.0.0'
       ,STORAGE_CLAUSE        =>        '
                                         TABLESPACE RISKDM_DATA'
       ,SORT_LIST             =>        'ENQ_TIME'
       ,MULTIPLE_CONSUMERS    =>         TRUE
       ,MESSAGE_GROUPING      =>         0
       ,SECURE                =>         FALSE
    End;
    BEGIN
      DBMS_AQADM.CREATE_QUEUE
        QUEUE_NAME          =>   'JUPSHAW.EVENT_JOB_Q'
       ,QUEUE_TABLE         =>   'JUPSHAW.EVENT_JOB_QT'
       ,QUEUE_TYPE          =>   SYS.DBMS_AQADM.NORMAL_QUEUE
       ,MAX_RETRIES         =>   0
       ,RETRY_DELAY         =>   0
       ,RETENTION_TIME      =>   -1
    END;
    DECLARE
      aSubscriber sys.aq$_agent;
    BEGIN
      aSubscriber := sys.aq$_agent('SCHEDULER$_EVENT_AGENT',
                                  0);
      dbms_aqadm.add_subscriber
         ( queue_name     => 'EVENT_JOB_Q'
          ,subscriber     => aSubscriber);
    END;
    BEGIN
      SYS.DBMS_AQADM.START_QUEUE
        QUEUE_NAME => 'JUPSHAW.EVENT_JOB_Q'
       ,ENQUEUE => TRUE
       ,DEQUEUE => TRUE
    END;
    (I think the scheduler automatically added itself as a subscriber (see above) after the queue itself was created)
    So, here's the simple package:
    CREATE OR REPLACE PACKAGE EVENT_JOB_MGR
    AS
        PROCEDURE DEQUEUE_JOB_STATUS_MSG;
        PROCEDURE ENQUEUE_JOB_STATUS_MSG;
        PROCEDURE RECORD_DEQUEUED_STATUS( a_RunMsg  RUN_MSG );
    END EVENT_JOB_MGR;
    CREATE OR REPLACE PACKAGE BODY EVENT_JOB_MGR
    AS
        PROCEDURE RECORD_DEQUEUED_STATUS( a_RunMsg  RUN_MSG )
        IS
            ls_Status       VARCHAR2(32);
        BEGIN
            ls_Status := a_RunMsg.STATUS;
            INSERT INTO DEQUEUE_RECORD
            ( STATUS )
            VALUES
            ( ls_Status );
            COMMIT;    
        END;       
        PROCEDURE DEQUEUE_JOB_STATUS_MSG
        IS
            l_DeQOptions    DBMS_AQ.DEQUEUE_OPTIONS_T;
            l_MsgProps      DBMS_AQ.MESSAGE_PROPERTIES_T;
            l_DeQMsgID      RAW(16);
            l_RunMsg        RUN_MSG;                
        BEGIN
            l_DeQOptions.CONSUMER_NAME := 'EVENT_JOB';
            DBMS_AQ.DEQUEUE(    queue_name          =>  'EVENT_JOB_Q',
                                  dequeue_options     =>  l_DeQOptions,
                                  message_properties  =>  l_MsgProps,
                                  payload             =>  l_RunMsg,
                                  msgid               =>  l_DeQMsgID );
            COMMIT;                             
            RECORD_DEQUEUED_STATUS( l_RunMsg );                              
        END;
        PROCEDURE ENQUEUE_JOB_STATUS_MSG
        IS
            l_EnQOptions    DBMS_AQ.ENQUEUE_OPTIONS_T;
            l_MsgProps      DBMS_AQ.MESSAGE_PROPERTIES_T;
            l_EnQMsgID      RAW(16);
            l_RunMsg        RUN_MSG;               
        BEGIN   
            l_RunMsg := RUN_MSG('Success');
            DBMS_AQ.ENQUEUE(  QUEUE_NAME          =>  'EVENT_JOB_Q',
                                ENQUEUE_OPTIONS     =>  l_EnQOptions,
                                MESSAGE_PROPERTIES  =>  l_MsgProps,
                                PAYLOAD             =>  l_RunMsg,
                                MSGID               =>  l_EnQMsgID);
        END;
    END EVENT_JOB_MGR;
    -- Finally the program, schedule and job
    BEGIN
        DBMS_SCHEDULER.CREATE_PROGRAM(
            PROGRAM_NAME          => 'EVENT_JOB_PROG',
            PROGRAM_ACTION        => 'EVENT_JOB_MGR.RECORD_DEQUEUED_STATUS',
            PROGRAM_TYPE          => 'STORED_PROCEDURE',
            NUMBER_OF_ARGUMENTS   => 1,
            ENABLED               => FALSE );
        DBMS_SCHEDULER.DEFINE_METADATA_ARGUMENT (
            program_name        => 'EVENT_JOB_PROG',
            argument_position   => 1,
            metadata_attribute  => 'EVENT_MESSAGE' );  
        DBMS_SCHEDULER.ENABLE( NAME => 'EVENT_JOB_PROG');        
    EXCEPTION
      WHEN OTHERS THEN RAISE ;       
    END;
    COMMIT
    BEGIN
      DBMS_SCHEDULER.CREATE_EVENT_SCHEDULE (
       schedule_name     =>  'EVENT_JOB_SCHED',
       start_date        =>  SYSTIMESTAMP,
       event_condition   =>  'TAB.USER_DATA.STATUS = ''SUCCESS''',
       queue_spec        =>  'EVENT_JOB_Q');
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_JOB (
       job_name            =>  'EVENT_JOB',
       program_name        =>  'EVENT_JOB_PROG',
       schedule_name       =>  'EVENT_JOB_SCHED',
       enabled             =>  TRUE,
       comments            =>  'Start if you get a success message');
    END;
    I call the ENQUEUE_JOB_STATUS_MSG method to stick a message on the queue. I can confirm that it can be dequeued and logged using the DEQUEUE_JOB_STATUS_MSG method in the package. However, nothing seems to happen (at all) as far as the scheduler job when a message is put on the queue. I am thinking it should dequeue the message with status set to SUCCESS and then, kick off the job.
    Can anyone see why the above wouldn't work? Been stuck here for a couple of days.
    Thanks,
    -Joe

    Try to create job that react on event directly not using schedule.
    BEGIN
        dbms_scheduler.create_job(job_name => 'EVENT_JOB',
                                  program_name =>  'EVENT_JOB_PROG',
                                  event_condition => 'TAB.USER_DATA.STATUS = ''SUCCESS''',
                                  queue_spec => 'EVENT_JOB_Q',
                                  enabled => true,
                                  auto_drop => FALSE);
    END;
    Check if your schedule EVENT_JOB_SCHED is enabled

Maybe you are looking for

  • A crash, volume needs repair?

    Hi, I have no idea what has happened. It's embarrassing but I can't even tell you accurately what OS X I was using but all my software was up to date. When I try to open applications like Safari, it says "you cannot use the application Safari with th

  • How to add multiple passbooks cards to a single mail

    im trying to add multiple passbook cards to a single mail on iphone how can i do that.... the upload or share tab in passbook card only allows one card at a time on my iphone... pls help...

  • Did Build 10061 revert back to 8.0's non-obvious approach to restart / shut-down?

    After installing Build 10061, it took some hunting to figure out how to Restart and to Shut-Down. IIRC, part of the awful 8.0 was that it was difficult to figure out how to Restart / Shut-Down, along with a host of other usability issues. Well, I wan

  • How to make a slide bar that controls opacity

    I'm trying to figure out how to make a slide bar that would control opacity. If I were to take to pictures on top of each other, the slide bar would control the opasity of the top image. Thanks

  • Flash player upgrade issues

    Windows Vista 64 bit, IE8 32 & 64, Google Chrome, Safari, Firefox after upgrade to Flash Player 11, FP is not working in IE 32bit, Google chrome safari and firefox tried to uninstall after saving file from this site on my desktop remove remaning flas