Can I use Reports Server Queue PL/SQL Table API to retrieve past jobs ?

Hi all,
Can I use Reports Server Queue PL/SQL Table API to retrieve past jobs using WEB.SHOW_DOCUMENT from Forms ?
I have reviewed note 72531.1 about using this feature and wonder if i can use this metadata to retrieve past jobs submitted by a user.
The idea would be to have a form module that can filter data from the rw_server_queue table, say, base on user running the form, and be able to retrieve past jobs from Report Server Queue. For this, one would query this table and use WEB.SHOW_DOCUMENT.
Is this possible ...?
Regards, Luis ...!

Based on that metalink note and the code in the script rw_server.sql, I am pretty sure that by querying the table you would be able accomplish what you want... I have not tested it myself... but it looks that it will work... you have the jobid available from the queue, so you can use web.show_document to retrieve the output previously generated...
ref:
-- Constants for p_status_code and status_code in rw_server_queue table (same as zrcct_jstype)
UNKNOWN CONSTANT NUMBER(2) := 0; -- no such job
ENQUEUED CONSTANT NUMBER(2) := 1; -- job is waiting in queue
OPENING CONSTANT NUMBER(2) := 2; -- opening report
RUNNING CONSTANT NUMBER(2) := 3; -- running report
FINISHED          CONSTANT NUMBER(2) := 4; -- job has finished
TERMINATED_W_ERR CONSTANT NUMBER(2) := 5; -- job has terminated with

Similar Messages

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Can't start reports server on Windows Server 2003 SP1 Error code 13

    Hi,
    This morning I figured how to start the rwserver using the command, rwserver server = repsrv. This works using XP pro physical machine but now I am trying to perform the same task on a Windows 2003 virtual machine.
    I have used the line:
    rwserver -install repsrv.
    To add repserv to the list of available services in computer management. This has appeared as an avaiable service and so I click to start it, unfortunately every time I do I get the error message:
    "Windows could not start the OracleOraAppServer10g_home1Reports [repsrv] on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 133."
    I am assuming this is a security issue with Windows 2003 but I can't find a cure anywhere.
    Thanks in advance for any help that anybody is able to provide
    Cheers
    Daniel

    Hello,
    Step 1) Check that you can start the reports server from a "DOS Window" :
    rwserver server=repserver
    Step 2) Check the PATH set for rwserver.exe when it is running as a service
    Some sysinternals utilities like Process Explorer / filemon may help :
    http://www.sysinternals.com/
    Regards

  • Using reports server on other host

    Hi,
    I have installed AS10g (10.1.2.0.2) (Forms and Reports services) on host A and host B
    =====================
    = Scenario 1 (A->A) =
    =====================
    When running forms on host A and using reports server on host A:
    I get to see my report.
    =====================
    = Scenario 2 (B->B) =
    =====================
    When running forms on host B and using reports server on host B:
    I get to see my report.
    =====================
    = Scenario 3 (A->B) =
    =====================
    When running forms on host A and using reports server on host B:
    FRM-41213: Unable to connect to the reports <xxx>
    What can I do so I can use my reports server on host B and running my forms on host A?
    (PS: I got this working on 9.0.4)
    Thanks,
    Bart

    Hi,
    The problem is indeed that host A is in an other subnet as host B.
    When running rwdiag -findAll, you can see which reports servers you can access in your current subnet.
    When issuing rwdiag -find <rep> you can try finding the reports server on host B.
    After configuring a 2 way reports bridge, I was able to find the reports server on host B
    and you should get something like:
    Broadcast mechanism used to locate servers
    Channel address = 228.5.6.7
    Channel port = 14021
    '<rep>' found in the network
    Time taken - 15 milliseconds
    Name = <rep> : null
    Thanks for your help!

  • SSRS 2005 why some users can't access report server.

    There is one user who can't access report server by clicking a link to a report. A window will pop up asking for login. Even he enters login, the window will keep coming back. I have set the user for that report and assigned the 'Browser' role to the user.
    Other users don't have this problem. E.g. for another user I also set him up for the report and assigned 'Browser' role but he can access the same report no problem.

    Hi thotwielder,
    As per my understanding, I think this issue can be caused by the following two reasons:
    The report server can be blocked by Firewall. If Windows Firewall is turned on, the port that the report server is configured to use is most likely closed. Indications that a port might be closed are the appearance of a blank Web page after requesting a
    report, or a blank page when you attempt to open Report Manager from a remote client computer. In this scenario, we can try to open port 80 in Windows Firewall on both report server and client computers.
    The report server can be blocked by browser. We should ass the report server URL to trusted site in the browser.
    We can also grant the user access to site-wide operations with system-level row in report manager to check the issue again.
    Please double-check we have been grand the user the browser role on the report. We can navigate to Security property of the report to check the issue.
    Reference:
    Configure a Firewall for Report Server Access
    Configure a Native Mode Report Server for Local Administration (SSRS)
    Grant User Access to a Report Server (Report Manager)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can I use Report Manager to distribute customized oracle reports?

    Hi,
    Can I use Report Manager to distribute customized oracle reports, other than FSG reports?
    If no, is there any function that can be used for distributing reports submitted from concurrent manager in r12.1.2?
    Thanks for any advice!
    HY

    Pl post details of OS and EBS versions.
    >
    Can I use Report Manager to distribute customized oracle reports, other than FSG reports?
    >
    I am not sure - pl ask your friendly Oracle salesperson if this functionality is included in your license.
    >
    If no, is there any function that can be used for distributing reports submitted from concurrent manager in r12.1.2?
    >
    Another option could be to use XML/BI Publisher - again, you will need to check if your license includes distributing custom reports.
    HTH
    Srini

  • Can we use multiple "pivot_for_clauses" in 11g SQL PIVOT

    Can we use multiple "pivot_for_clauses" in 11g SQL PIVOT. Below SQL is an example of what I am trying to do - In this case instead of using JOIN, can I have three pivot_for_clauses in the same sql?
    SQL:
    MERGE INTO Test_1 dest
    USING (SELECT P1.company_id,trunc(sysdate) as load_date,num_logins,......
    FROM (SELECT company_id,action_type_id
    FROM Testauditinfo_1 where trunc(audit_date_time)=trunc(sysdate)-1) a
    PIVOT (count(action_type_id) FOR (action_type_id) IN ((1) as num_logins,(2) as num_logouts,(61) as
    num_logins_from_mobile_device,(16) as num_pref_changed,....)) P1
    JOIN
    (SELECT company_id,action_type_id,tx_type_id
    FROM Testauditinfo_1 where trunc(audit_date_time)=trunc(sysdate)-1) a
    PIVOT (count(action_type_id) FOR (action_type_id,tx_type_id) IN ((3,4) AS add_invoice, (4,4) AS
    edit_invoice,(3,3) as num_checks,(3,47) as num_paychecks,(3,7) as num_recvd_payments,(3,9) as num_bills,
    (3,35) as num_estimates,(3,46) as num_purchase_orders)) P2
    on P1.company_id=P2.company_id
    JOIN
    (SELECT company_id,action_type_id,list_type_id
    FROM Testauditinfo_1 where trunc(audit_date_time)=trunc(sysdate)-1) a
    PIVOT (count(action_type_id) FOR (action_type_id,list_type_id) IN ((3,2) AS num_items,(3,1) as
    num_accounts,(3,4) as num_employees,(3,6) as num_customers,(3,14) as num_memorized_reports)) P3
    on P2.company_id=P3.company_id
    left outer JOIN
    (SELECT company_id,create_date,count(*) as num_logos
    FROM qbo.companylogos_1 group by company_id,create_date having trunc(create_date)=trunc(sysdate)-1) P4
    on P3.company_id=P4.company_id
    ORDER BY P1.company_id) source
    ON ((dest.company_id = source.company_id) and (dest.load_date = source.load_date))WHEN MATCHED THEN
    UPDATE SET dest.num_items = source.num_items where 1=2
    WHEN NOT MATCHED THEN
    INSERT (dest.company_id,.....) values (source.company_id,.....);

    Maybe
    MERGE INTO Test_1 dest
    USING (SELECT P1.company_id,trunc(sysdate) as load_date,num_logins,......
             FROM (select *
                     from (SELECT company_id,action_type_id
                             FROM Testauditinfo_1
                            where trunc(audit_date_time) = trunc(sysdate)-1
                          ) a
                          PIVOT (count(action_type_id)
                            FOR (action_type_id) IN ((1) as num_logins,
                                                     (2) as num_logouts,(61) as num_logins_from_mobile_device,
                                                     (16) as num_pref_changed,....
                  ) P1
                  JOIN
                  (select *
                     from (SELECT company_id,action_type_id,tx_type_id
                             FROM Testauditinfo_1
                            where trunc(audit_date_time) = trunc(sysdate)-1
                          ) a
                          PIVOT (count(action_type_id)
                            FOR (action_type_id,tx_type_id) IN ((3,4) AS add_invoice,
                                                                (4,4) AS edit_invoice,
                                                                (3,3) as num_checks,
                                                                (3,47) as num_paychecks,
                                                                (3,7) as num_recvd_payments,
                                                                (3,9) as num_bills,
                                                                (3,35) as num_estimates,(3,46) as num_purchase_orders
                  ) P2
               on P1.company_id = P2.company_id
                  JOIN
                  (select *
                     from (SELECT company_id,action_type_id,list_type_id
                             FROM Testauditinfo_1
                            where trunc(audit_date_time) = trunc(sysdate)-1
                          ) a
                          PIVOT (count(action_type_id)
                            FOR (action_type_id,list_type_id) IN ((3,2) AS num_items,
                                                                  (3,1) as num_accounts,
                                                                  (3,4) as num_employees,
                                                                  (3,6) as num_customers,
                                                                  (3,14) as num_memorized_reports
                  ) P3
               on P2.company_id = P3.company_id
                  left outer JOIN
                  (SELECT company_id,create_date,count(*) as num_logos
                     FROM qbo.companylogos_1
                    group by company_id,create_date
                    having trunc(create_date) = trunc(sysdate)-1
                  ) P4
               on P3.company_id = P4.company_id
            ORDER BY P1.company_id
          ) source
       ON ((dest.company_id = source.company_id) and (dest.load_date = source.load_date))
    WHEN MATCHED
    THEN UPDATE SET dest.num_items = source.num_items where 1 = 2
    WHEN NOT MATCHED
    THEN INSERT (dest.company_id,.....)
          values (source.company_id,.....)Did you try it ?
    Regards
    Etbin

  • Can't start report server on windows 2000

    I can't start report server with error code 186, my tnsname.ora is
    REP60_DUQ = Rep60_DUQ
    is it error?
    who can tell me how to resolve it!!!

    but I have add tnsnames.ora following
    Rep60_REPORT_SERVER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = REPORT_SERVER)(PORT = 1951))
    then I start report server with:
    /PATH_TO_REPORTSERVER/report60_server start
    it still says:
    REP-0186: Daemon failed to listen to port
    what is problem?
    any thing must be done to activate changes in
    tnsnames.ora?
    null

  • Can we use TREX server to search cFolders documents?

    Can we use TREX server to search cFolders documents by their contents?

    Yes, this is possible with cFolders 4.5 release.

  • ADF Report output from PL\SQL Table

    Hi,
    I am some complex calcualtions in the report and the report has a fixed number of columns and reports. Is there any way i can do all the programming in pl\sql and call this procedure/package from ADF and return the pl\sql table type?
    Can i create a VO from pl\sql table?
    Thanks,
    Lakshmi.

    On Database
    create or replace type empRow as object (
    Employee_ID Number,
    First_Name Varchar2(20),
    Last_name Varchar2(25)
    create or replace type empTable as table of empRow;
    create or replace function getEmployees
    (aDepartmentID Number)
    return empTable
    PIPELINED
    as
    begin
    for rec in (select Employee_ID, First_Name, Last_name
    from employees
    where Department_ID = aDepartmentID) loop
    pipe row(new empRow(rec.Employee_ID, rec.First_Name, rec.Last_name));
    end loop;
    return;
    end;
    THEN create a VO based on this Query below:
    select * from table(getEmployees(:deptid)
    and you are ready to Go.

  • Can Centura SQL Base Can be Used as a Source for SQL Server Reporting Services

    I have bunch of Centura Report Builder and need to show them inside .NET WPF UI. I was thinking to convert those reports to SSRS and then show. But database here is SQL Base
    and want to know whether SSRS supports SQL Base as a source. Also let me know is there a way to show Centura Report Builder inside WPF without converting to SSRS.

    Hi JAISH,
    In Reporting Services, a set of data processing extensions are automatically installed and registered on both the report authoring client and on the report server to provide access to a variety of data source types. But the SQLBase is not included.
    However, custom data processing extensions and standard Microsoft .NET Framework data providers can be installed and registered by system administrators. So we can install and register the data processing extensions and data providers on the report server
    to process and view a report; we can install and register them on the report authoring client to preview a report. But data processing extensions and data providers must be natively compiled for the platform where they are installed.
    For more information about Implementing a Data Processing Extension, please refer to the following document:
    http://msdn.microsoft.com/en-IN/library/ms154655.aspx
    As the issue about how to show Centura Report Builder inside WPF, it related to WPF. It is out of the support boundaries of our forum, I suggestion you post the question in the following forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf. It is appropriate and more experts will assist you.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can a 2008 Reporting Server Connect to a 2012 SQL Database

    The current report server and database server are both SQL Server 2008 R2 Enterprise.  We have a 2012 SQL Server that we will be migrating the database to so my question is, will there be any problems connecting to the 2012 SQL Sever database from a
    2008 Report Server?  We will be moving the report server to 2012 eventually but not anytime soon.  Any feedback would be appreciated.  Thank you.
    - Tae
    tae yang

    It seems to be working fine provided if you keep the compatibility level to 100.
    Refer this link
    https://msdn.microsoft.com/en-us/library/ms156016.aspx
     The schema of the report server database must be compatible with the report server instance. If the database is in an older format,
    you will be prompted to upgrade it to the current format. Newer versions cannot be down graded to an older version. If you have a newer report server database, you cannot use it with an earlier version of a report server instances
    --Prashanth

  • What easy to use (MS or third party) tool can I use to create and host a webservice API on a SQL server database

    I'm looking for a (MS or third party) tool with which I can create, publish and host webservice API's on a custom SQL database. For example a API which presents all customers, or validates a user login.
    I prefer a tool that can be used without .NET programming skills, just using database scripts and queries.
    Could somebody suggest a tool for this?
    Many thank,
    Slowytech

    Use Visual Studio (Microsoft Visual Studio Express 2013 for Web ) and the WebAPI framework.  You can easily create REST endpoints for your data.  You can even
    use ODATA to enable RESTful queries over your data.
    See
    http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Problem printing using Report server

    I have sucessfully installed Developer server
    version 6.0 on NT. I am trying to output my job to the network printer using Reoprt Queue Manager. Unfortunately, I am not unable to do that. The message says " JOB SUBMITTED TO THE REPSERVER", and it just hangs there. My repserver is running on NT as a service and I can get the report to diplay on my screen.
    Does anybody have any idea why it's not printing to the printer?
    I will really appreciate your help.
    dinesh

    Hi Dinesh,
    I don't know whether this will help you but I am using all my reports converted into *.pdf format so that I can take a print out where ever I want .
    null

  • How to find the jobs in reports server queue

    Hi All,
    I am using oracle forms & reports 10g and Oracle application server is 10g.
    Here we have 100 reports servers, so using this URL we can able to find a particular report server.
    http://dhabiapp1.dof.ae:8080/reports/rwservlet/showjobs?server=auh_1
    Is there any possibilities to find all the reports server in a single page.
    Thanks & Regards
    Srikkanth.M

    Hi ccortez,
    Thanks for you reply.
    I have executed the command and its listing all the report servers, but my requirement is to list all the reports server with queue. Is there any possibilities from the front end screen to see all the report server in a single screen.
    Thanks & Regards
    Srikkanth.M

Maybe you are looking for

  • Can't update or factory restore Apple TV

    I noticed the Apple TV I just bought for my Living Room hadn't updated to 1.1 even though I'd ran the installer a couple of weeks ago. So I tried running it again - I gave it the "Update Now" prompt, it restarted and when it rebooted I was still stuc

  • How to start and stop an embedded sound

    I'm putting a sound of a cat purring in the intro to my animation. I've been asked to make it possible for viewers to turn the sound on and off with buttons. I can do it with an outside sound file by using URLRequest. Is there a way to start and stop

  • Windows 7 only booting with 2GB of ram instead of 8.

    I used Bootcamp (newest version) to install Windows 7 Ultimate on my partitioned hard drive on my Mac Mini. The computer has 8GB of RAM, but when I open the Task Manager in Windows, I can only see that 2BG of RAM is being used. How can I get it so th

  • HT1386 my computer crashed and I am using an xp pro 64 bit now and can't get itunes to download on it

    My computer crashed and I need a download for itunes for xp pro 64 bit. It is very frustrating to not be able to access my itunes and sync my phone. I have an old iphone 3. Can anyone help?

  • APEX - Moving apps between databases

    APEX applications are stored in the database, correct? What happens to the APEX applications when you need to recreate the database on another server? Are the APEX apps backed up as part of a database backup and/or Export? How do I move forms from on