Killjobid

Hi there,
I have a cancel report button on my forms. If the user clicks on the button, i want to use the killjobid command (from Oracle AS Reports services - servlet). How do you get the "job id" from the report server?
previously i used kill -9 command, but the reports were still running and after timeout got killed and let other reports in queue to run.
I want to be able to kill the report when the user clicks on cancel report button.
any help is appreciated.
Thanks

What about the iframe-solution provided in the other thread?

Similar Messages

  • Killing report using Killjobid in reportserver 10g hidden?

    Dear All,
    Actually i want to kill a running report in the report server by clicking such a button that have already the jobID.
    whithout opening the reportserver page so that no body see any other reports running.
    like in this example:
    Declare
    L_URL Varchar2(1000);
    Begin
    L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
    WEB.SHOW_DOCUMENT ( l_URL,'_blank') ;
    End;
    this code is worrking verry well. but the problem is when it kills the job it open the webpage that contains the OK buttons to get back to the past running reports.
    So I used this command:
    WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
    but nothing happend, even it doesnt give me any error.
    Is it posible to do that to kill the job without openning the report server, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
    thanks in advance.
    Edited by: Ashraf Kittaneh on Jan 29, 2011 12:16 AM

    What about the iframe-solution provided in the other thread?

  • Report Status using web.show_document

    Hi all.
    I am using the web.show_document for running my report - using distribution xml file and mail.
    I want to insert a record in a table if the report generation succeeds.
    From Oracle Documentation I can see that I cannot get the report status in the form when it is run using web.show_document.
    And for distribution I cannot use run_report_object.
    Any workaround for this?
    Thanks in advance
    Anu.

    Dear Mr. hisham,
    Thanks For your Post,
    Actually i have the same issue, but it want to kill a running report in the report server by clicking such a button that have already the jobID.
    whithout opening the reportserver page so that no body see any other reports running.
    like in this example:
    Declare
    L_URL Varchar2(1000);
    Begin
    L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
    WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
    End;
    Is it posible to do that, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
    thanks in advance.

  • Status Web.show_document

    Dear Sir:
    How can I get the status of web.show_document. I need to verify if report was done correctly
    Thanks

    Dear Mr. hisham,
    Thanks For your Post,
    Actually i have the same issue, but it want to kill a running report in the report server by clicking such a button that have already the jobID.
    whithout opening the reportserver page so that no body see any other reports running.
    like in this example:
    Declare
    L_URL Varchar2(1000);
    Begin
    L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
    WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
    End;
    Is it posible to do that, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
    thanks in advance.

  • Cannot Kill Job, REP-56098:

    I have tried running a jsp with a customize.xml file to modify my data source using servlet.
    First I got an error saying there was a syntax error in my where clause. I fixed the error in my ml then tried to run the report again. It seems report server is hung.
    I am unsuccessful in killing the job through Enterpise Manager and also using killjobid
    This is the error I am getting:
    Cannot Kill Job with Job ID 181REP-56098: Bad engine name: null
    Is there anyway to kill this job outside of EM?
    Using 9.0.2 9iAS
    Any help is appreciated.
    Cindy

    hello,
    i've seen this issue before and think that it is fixted in either the 9.0.2.1 or the 9.0.2.2 patchset.
    regards,
    philipp

  • Cancelling Reports, REP-56071 error

    I want to allow SSO users to cancel their own reports, but when I try killjobid, I get
    "REP-56071: Security check failed with error message: No privilege to do the operation"
    Is there a way to grant permission to individual users to view and cancel their own reports?
    thanks,
    Mark

    I'd like to know the answer too.
    Thanks,
    Xiaoyun

  • Disable showjobs in 9iAS R2

    How do I disable showenv, showjobs, showmap, showmyjobs, showjobid, killjobid, parsequery, showauth, delauth, getjobid, and getserverinfo in Reports 9i? In version 9iAS R1 (1.0.2.2), you simply set REPORTS60_CGINODIAG in the registry and they are turned off.
    BTW, I am not using Portal nor SSO. I have issued the command "dcmctl leaveFarm" as I don't need the Infrastructure for this installation.

    I removed the identifier tag and rebooted the server.
    I then tried to access this url:
    http://fred/reports/rwservlet/getserverinfo?server=rep_fred+auth_id=jon/cool
    The rep_fred.ora file gets updated and the identifier tag is set to:
    <identifier confidential="yes" encrypted="yes">ZzRlC0ywbw==</identifier>
    I opened a new web browser and tried this:
    http://fred.humana.com/reports/rwservlet/getserverinfo?server=rep_fred
    This returned the xml without any error.
    My installation of 9iAS R2 is as follows:
    1. Install infrastructure (on separate machine).
    2. Patch infrastructure with latest patch.
    3. Install 9iAS with Forms and Reports only.
    4. Bug with installing Reports so I manually added the reports service (rwserver -install rep_fred).
    5. Edit reports service to run as Oracle local admin account and not to interact with desktop.
    6. Edited rep_fred.conf file and commented out security section.
    7. Edited rwservlet.properties file and changed SINGLESIGNON=NO and set DIAGNOSTIC=NO.
    8. Tested reports and all is working correctly.
    9. Left the farm (dcmctl leaveFarm).
    10. Edited the jazn.xml file.
    11. Rebooted and the installed latest patch on app server.
    12. Had to kill some sqlplus.exe sessions during patch as it was trying to connect to the infrastructure still. (portal and wireless)
    13. Grep for 7777 and 4443 in all files. Replace with 80 and 443.
    14. Restart and test reports. Everything working just fine. Forms and Reports run just fine. Added DAD configuration for site (Mod PL/SQL). It too is working.
    This is when I started trying to secure the Report Server and I am unable to do so.
    See anything in my installation process that might have contributed to this?

Maybe you are looking for

  • SA520W - Can I network this to other APs?

    I'm new to the Cisco Small Business Pro stuff and pretty green on Cisco wireless in general, but I"m wondering is there any way to network two SA520W's together wirelessly?  I want to extend the wireless coverage area that my lone SA520W can't reach

  • I have a book available for download showing in ibooks but I did not order it, how can I get rid of it?

    Went into ibooks this morning and found a book ready to download with a cloud in the top righthand corner. I have not ordered this book as I have never looked at it nor would I. How do I get rid of the book?

  • ID6 Select Multiple Tables?

    Hi: For several versions of InDesign I have created newspaper classified ads using an InDesign Javascript that takes raw text placed in a document, styles it, and places it into tables. This allows for the ads to have backgrounds, boxes, etc. Until I

  • Import Video into photo app

    On the photo app intro video they said can import photos and videos from my digital camera to the iPad. I work using video feedback a lot and this is one of the main reasons I decided to get the iPad because then I will not have to take my MBP everyw

  • Sharing photos to apple tv 2

    I have set advanced sharing in itunes and the photosdo not show in apple tv: I get the message to 'choose photos to share' in itunes which I have done????? GH