Passing Job ID, Job instance from Agent to EJB-based action in OBIEE 11g?

We would like to ZIP compress Agent-scheduled report output, according to documentation using "Java Jobs" is an option but not recommended in 11g (only upgraded from 10g). Instead EJB-based java actions should be used.
Documentation has explanation of EJB-based Java action, however there's a problem when an Agent invokes the EJB-based action how can it pass out Job ID and Instance ID, etc so the custom action can refer to the related job information? When using "Java job" approach it offers public interfaces to do so. In EJB-based action there seems no information provided, the example in the documentation only demonstrates user to enter parameter values manually without any way to pass out parameter from the invoker (e.g. an Agent).
In this case, is there any public interface or any other way that an Agent can pass out Job ID related values when invoking an Java method? This seems also true for other actions like invoking web services, HTTP service, etc that no Job parameter can be passed out.
Thanks.
geoff

998365 wrote:
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] [68013] Scheduler service started.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] Scheduler service started.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] [71076] Oracle BI Scheduler crmtest6:9705 has been changed to an Inactive state.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [43071] A connection with Cluster Controller CRMTEST6:9706 was established.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [71075] Oracle BI Scheduler crmtest6:9705 has been changed to an Active state.*
[OracleBISchedulerComponent] [WARNING:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [43065]from the log it looks like its started as it changed the state to active. are you able to connect to database using biplatform schema details?

Similar Messages

  • Agents not working in the upgraded OBIEE 11G

    Hi All,
    Recently we hae upgraded our BI Suite(10.1.3.4.1) to 11G(11.1.1.5.0)
    We are able to see all of our ibots(Agents) in the new 11G instance and I have added new recipients, set the schedule for the seedding cache.
    But when I try to run the Agent (Start Immediately), Agent ending up with a warning Invalid subscribers skipped
    Even we have configured the email setup(SMTP) in the enterprise manager and we are able to receive the mail attachments.
    But our goal is to add the usernames in the recipients tab and set the seeding cache option for the specified users.
    How can we achieve this in OBIEE 11G
    Any help would be much apprecialted....
    Thanks
    Praveen Chandu.

    Hello Everyone,
    The write back feature is working fine. There was an issue privilege setting in rpd.
    Now one field is getting editable while pressing Update button in the dashboard report and type new value and pressing Apply button, data is getting updated in to DB table.
    To aviod the manual entry i want to enter a value from some kind of dropdown or any choice box. So could you please let me know how can i achieve this functionality.
    Thanks in advance.
    Regards
    Niraj

  • How to Save Agent Output in Local Disk in OBIEE 11g on linux

    Hi
    I am using OBIEE 11.1.1.6.2
    I want to schedule some reports which will run everyday night and the Output to be saved in my local disk
    I read this article http://obiee1000.blogspot.in/2012/01/actions-in-agents-part-1.html ...but this solution is only for windows platform.
    i need to implement this on Linux.
    Please help me .
    Thanks.

    Hello Srini,
    This article talks the process for Ibots. Is the procedure same for OBIEE 11g agents.
    are you sucessful in achiving this . since i have to involve others in implementing this just wanted to be sure this works for OBIE 11g on linux.
    Please let me know.
    Thanks.

  • Resetting Selection from a Multi-Select Dashboard Prompt in OBIEE 11g

    Hi all,
    I have a dashboard prompt, containing 3 columns which all are set to allow multi selection and default value is all values.
    In 10g, after choosing some values in one of the prompt and clicking Go button, I can manually remove all my selection to reset it back to the default value (which is all values).
    In 11g, however, I am not able to find how to do it. The reset button doesn't reset back to the default value (which is all values). So what I have to do is to use the "Clear All Customization", which will clear all my selection for all the prompts.
    Any suggestion on how to do this? Thanks in advance!

    Hi Deepak, actually I don't need any script to do that in 10g.
    It's a built in feature in 10g. If you remember, for multiselect prompt in 10, we will click the "..." button to show the box for value selection. Then we can move values from left box to the right to include them, or vice versa to not include them. So by moving the values from right box to the left, I essentially revert to default value which mean all values will be shown.
    In 11g, this box is not shown anymore, instead we are checking the values one by one from a drop down list.
    Any suggestion? Thanks.

  • Navigating from Summary Report to Detail Report in OBIEE 11g

    Hi,
    I have creted two reports.One corresponds to Summary and the other Detail.By clicking on one of the fields in
    the Summary report the values are captured and then the detail report is displayed based on the values selected.
    Now,What I need to know is whether I can populate the values I have selected in Summary Report(values correspond to only a single field) as some text in the Detail report.
    I am using 11.1.5 just in case you need to know,but any help would be greatly appreciated.
    Regards
    Navin.G

    another way if you want to stay in one document and continue to use drilling is to build 2 blocks and hide/unhide as you drill
    block1 - shows your totals
    block2 - shows the details
    then use block hiding (see below) to cause block1 to disappear when you drill past a certain level. using the same (but opposite logic) you would have block2 appear
    block hiding in webi - how to:
    sadly webi doesnt have this feature directly the way that Crystal does but you can emulate it using SHOW WHEN EMPTY,block filtering and DrilFilters. The latter detects your level of drill.
    block1 filter formula - return a TRUE result when DrillFilters tell you that you havent drilled into detail yet. Set SHOW WHEN EMPTY=No
    when you do drill Block1's formula will be FALSE, the block will then technically be EMPTY and therefor wont show
    Block2's filter logic will return FALSE when DrillFilters tells you that you are still on Block1's level of drilling. But when you drill Block2's level of drill, DrillFilters in Block2's filter formula will return TRUE and its rows will be returned. It wont be empty so it will show.

  • From Database pass in Provisioning job

    Hello SDN,
    I'm trying in a provisioning job to get some data from the database and then sending it back onto the database, here i found the 'from database' pass satisfying.
    The problem is i'm getting this wired error: "Fromsource ODBC is a illegal type for provisioning!" when i have set it all up and trys to run it.
    I have been reading in the help files and found that ODBC only is used when the runtime engine is Windows but mine is running on a Java runtime engine. the link i uses for the connection is the global constant %$ddm.identitycenter% and i uses it several places outside the provisioning jobs in 'from database' pass.
    I have then been reading further in the help files and found this quote: 'A task always operates on one given entry in the identity store. This is why there is no source defined in the pass of the job in an action task.' is this why i can't connect up to the database?
    Some one having any idea?
    Best Regards
    Jesper Lindstrøm Nielsen

    Jesper,
    You can not use FromPass into Provisioning Job.
    To do so, Create an Administration Job with to pass :
    1- FromDatabase (....) to read date from your source
    2- ToDatabase (....) to send it back with needed transformation
    This job can be run manualy (using runnow) or scheduled, but can as well be call from a provisioning job. To do so;
    Create a Provision Job with ToGeneric pass,
    Into the ToGeneric pass, write a javascript function with :
    OutString = uRunJobNow(<Job ID of the administration job previously defined>)
    Benjamin

  • Is there a way to access ABAP OO instances from a batch job report

    Hello,
    I am looking for a way to access ABAP OO instances from a batch job report. My circumstances are the following:
    I have got some ABAP OO coding that identifies other objects (class instances) that have to be processed (they have a DoIt method that does some calculation). As this processing is time consuming and performace relevant I have to parallelize this in batch jobs. This batch jobs however can only be "simple" ABAP reports according to SM36. The problem is now that I dont really know how to tell the batch job report what objects to process. Somehow I have to access theses instances from  that batch job report.
    Does anybody have an idea?
    Greetings
    Matthias

    Hi David,
    thanks a lot for your help. After a lot of searching on the net this seems to be the only way to cope with it. However I am not sure about the locking mechanisms and if its suitable for mass data processing. In the help page you suggested the following is stated which I do not fully understand::
    "The current lock logic does not enable you to set specific locks for the following requirements:
    ·        Many parallel read and write accesses
    ·        Frequent write accesses
    ·        Division into changeable and non-changeable areas
    Although the lock logic makes the first two points technically possible, they are not practical because most accesses would be rejected."
    Does this mean
    a) if I dont want to set "specific locks" for frequent write accessess I am fine
    or
    b) I am discouraged from use shared memory technics for frequent write accessess?
    In the latter case I will have a problem...
    What do you think?
    Greets
    Matthias

  • How to find the job and job status from RSPCM

    hi all,
    suppose we got an error and in rspcm the process was failed.i want to know the status of that particular job.and if any i want to stop that job in SM37.
    plz tell me how to find the job and job ststus from RSPCM...and how to stop that job in SM37
    thanks,
    jack

    Hi Jack,
    RSPCM: T.Code
    This transaction is used to monitor the process chains
    First:
    here you need to add the process chains into the sheet
    Second:
    Then you can monitor the process chains in this transaction code
    Like you can see the :  status ,proces chain ,Last run date ,Last run time ,Log ID
    Status : Green when sucessful,Yellow when running & Red when you get errors
    Now when yoy click on any of the process chain in RSPCM you will go to the LOG VIEW as you see in RSPC transaction
    SM37:T.code
    This transaction is used for Job Overview
    you can see many options in SM37
    like Released,active,cancelled,finished,etc
    Just select the ACTIVE  jobs and also pass STAR in JOB ID & USER ID
    here you can only see the active jobs
    Goto Step in toolbar
    select the program displayed
    then chose option GOTO - Variant in main menu bar
    in the variant you can see the job belong to which Process chain
    if you want to cancel this job come back to SM37 Display screen
    Select the Job and select the JOB DETAILS tab in Tool Bar
    Collect the WIP ( Work Permit ID)
    Go to SM50 T.code and find the WIP
    in Main Menu Bar you find the option Cancel with Core choose this it will cancel the Job
    Regards
    Hari

  • Pass Parameter to Job which calls a SP with the Parameter provided?

    ok, I have a problem that is getting the better of me.
    I have an SP called sp_Rep_QTR which expects the following parameters @stardate,@Endate.
    Now what I want to do is the following,
    Create a Job which will EXEC the sp_Rep_QTR at a time(@active_start_time ) provided and pass the @stardate,@Endate parameters to the SP .
    The @stardate,@Endate parameters will be passed to a SP which will create the Job - These are passed from a web page.
    I'm completely in over my head on this one so any help would be great.
    Thanks..

    One way of hacking this problem is by dynamically updating the job step which executes the stored procedure to include the parameters the user provided.  You can do so by using
    msdb.dbo.sp_update_jobstep.
    So for example, you could create a job named "Test job" and in that job the first step would be to execute your stored procedure.  You would then use the following code to update that step at run time:
    execute msdb.dbo.sp_update_jobstep
    @job_name = N'Test job',
    @step_id = 1,
    @command = 'execute my_proc @my_variable = ''my_value'''
    You'd then use sp_start_job like so:
    execute msdb.dbo.sp_start_job @job_name = 'Test job'
    Your job would then execute using the value provided at run time for the @my_variable parameter.

  • How to schedule Job for data uploading from source to BI

    Hi to all,
    How to schedule Job for data uploading from source to BI,
    Why we required and how we do it.
    As I am fresher in BI, I need to know from bottom.
    Regards
    Pavneet Rana

    Hi.
    You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
    Regadrs.

  • How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

    Hi Experts,
    How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

    Can you give us some more information? Background jobs primarily don't have anything to do with Webdynpro.

  • Obtain Job invoker for a SSIS job scheduled in SQL Server Agent

    Hello,
    I was required to tell the job runner of a particular SSIS job scheduled in SQL Server Agent (in SQL Server Management Studio 2008 R2). I noticed that after running the job, a record can be found in msdb.dbo.sysjobhistory in the [message] columm saying that
    the job is invoked by 'Domain\User'. Is there anyway I can acquire and upload that information into an audit table by adding some additional script into the job? I heard about using token to get job_ID, but what about the actual user name who runs
    the job?
    Thanks

    Just add retry attempts to whatever number you want (2 as per your original explanation) in Job step properties as below
    Have a logic to include a delay of 10 mins . You can make use of WAITFOR function for that
    see
    http://www.mssqltips.com/sqlservertip/1423/create-delays-in-sql-server-processes-to-mimic-user-input/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Triggering a background job of class 'A' from within the ABAP program

    Dear All,
    We are implementing SAP ECC 6.0 on IBM System i, i5/OS V5R4,  SAP kernel 7.00, kernel patch level 173.
    Is there a way to control that when a background job is triggered from within an ABAP program using the : CALL FUNCTION 'JOB_OPEN' statement, the background job is of class A ?
    I know that through transaction SM37, the job class for a background job can be changed manually, but the situation is an outsource company did for us some changes in the native SAP ABAP programs related to some SAP native transactions, and those programs trigger at their end some background jobs, each job running with the name of user running the transaction.
    Through SM37, I can't find a template background job, to be changed to have class 'A'
    The following is an excerpt from the ABAP code, bearing the CALL FUNCTION 'JOB_OPEN' statement :
    FUNCTION z_cs_technical_completion.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(AUFNR) TYPE  VBRP-AUFNR
      DATA jobcount TYPE tbtcjob-jobcount.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname                = 'CS_TECH_COMPLETE'
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
       IMPORTING
         jobcount               = jobcount
    CHANGING
      RET                    =
       EXCEPTIONS
         cant_create_job        = 1
         invalid_job_data       = 2
         jobname_missing        = 3
         OTHERS                 = 4
      SUBMIT zcs_technical_completion
              WITH p_aufnr EQ aufnr
                AND RETURN
              VIA JOB 'CS_TECH_COMPLETE'
              NUMBER jobcount.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = jobcount
          jobname              = 'CS_TECH_COMPLETE'
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          invalid_target       = 8
          OTHERS               = 9.
    ENDFUNCTION.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Dear Darren,
    Thank you very much for your cooperation and for your prompt reply.
    Could you please explain to me how to find out the template background job that was first used, or in other words, how things were set up in the first place, i.e. when first the ABAP program was written and executed, there had to be at least one background job created through transaction SM36 ?
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

  • Delete job number & Job name from standard table

    Dear Experts,
    i want to delete Job Number & job description from table when my job is finished.
    thanx

    hi use the function module..HR_JOB_DELETE
    regards,
    venkat

  • Trcing down to JOB or program level from Short dump or system log in APO.

    Hi Guru's
    Can anyone please guide me how to trace down to JOB or program level from ST22 and SM21 logs.
    I have SQL errors and lock entries in APO system, I want to find which program or job writing them.
    Thanks in advance,
    Sreerama.

    Hi,
    Thanks for the replay,
    I have checked same way as you suggested >>>> in ST22 dump, but it is taking me to Include "LARFCF06" which is trying to delete ARFCSTATE table.
    and I have error message :
    Database error text........: "[1205] Transaction (Process ID 291
    deadlocked on lock resources with another process and has been
    deadlock victim. Rerun the transaction."
    Internal call code.........: "[RSQL/DELE/ARFCRSTATE ]"
    Please check the entries in the system log (Transaction SM21).
    User and Transaction
        Client.............. 100
        User................ "APORFC"
        Language Key........ "E"
        Transaction......... " "
        Transactions ID..... "002FE8DE2A71F1B182E80019BB345F90"
        Program............. "SAPLARFC"
        Screen.............. "SAPMSSY1 3004"
        Screen Line......... 2
        Information on caller of Remote Function Call (RFC):
        System.............. "P48"
        Database Release.... 700
        Kernel Release...... 700
        Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
        Call Type........... "synchron and non-transactional (emode 0, imode 0)"
        Inbound TID.........." "
        Inbound Queue Name..." "
        Outbound TID........." "
        Outbound Queue Name.." "
        Client.............. 100
        User................ "APORFC"
        Transaction......... " "
        Call Program........."SAPLERFC"
        Function Module..... "ARFC_DEST_CONFIRM"
        Call Destination.... "NONE"
        Source Server....... "debosap172_P48_21"
        Source IP Address... "10.132.184.172"
        Additional information on RFC logon:
        Trusted Relationship " "
        Logon Return Code... 0
        Trusted Return Code. 0
        Note: For releases < 4.0, information on the RFC caller are often
        only partially available.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLARFC" - in
         "DELETE_ARFC_ORPHANS_WO_COMMIT".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 508
        of the (Include) program "LARFCF06".
        The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
        procedure "DELETE_ARFC_ORPHANS_WO_COMMIT" "(FORM)", but it was neither handled
         locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPLARFC "; its source code begins in line
        489 of the (Include program "LARFCF06 ".
    Now I want to find how this dead lock is created and which two (programs or JOB's) causing this dead lock.
    And program "APLARFC" is not a exicutable program and even I try to where used list I am not able to find exicutable program.
    now I need to find which are the two programs or jobs causing this loack.
    Thanks in Advance,
    Sreerama.

Maybe you are looking for

  • How do I create a .csv file on my mac?

    I am having issues doing some reporting.  I have a file that I pull from safari- I need to be able to put this into numbers.  Typically, in windows, I would paste the info onto a notepad and save as .csv, then open again in numbers.  So--I can't save

  • Layers in my PDF which are switched to visible are not showing - how do I solve this?

    I am creating MXD files in Arc GIS, and then exporting them to Adobe Professional 8. I am merging layers within Adobe Pro, and then switching the initial view so that only 4 out of the ~10 layers are visible when the PDF is first opened. However, on

  • Display timestamp for attachments in SAP UWL

    Hi all, We're using the SAP UWL (based on EP 7.3 EHP1) to display work items retrieved from SAP Business Workflows. Those work items contain attachments which are also displayed in SAP Portal within a table with following columns: Type Title Created

  • My touchscreen doesn't work!

    I have an Ipod touch 4th generation and a couple days ago, my touchscreen just stopped working in certain places. It has a password so when I can actually access the lock keypad, I can only tap 4, 5, and 6. One, 2, 3, 7, 8, and 9 will not respond to

  • Additonal VGA monitor showing in Display properties.

    I have a problem, I am currently running Window 7 Pro 64 and when i restarted my laptop it now has an additional monitor showing in the display properties.  I do not have an external VGA monitor connected to it, and I have tried to remove the display