Run report using command utility

Hi All,
I am working on OBIEE 11.1.1.6.0.
can it is possible, Using command utility, we can run obiee report, and it's output should be any format other than text.
and also this report schedule on hr basis, without using delivers.
if this possible, then please suggest me how to achieve.
Thanks in advance,
Prashant

Hi Veera,
I ran the report using nqcmd and to achive the desired result I had also specified the path by giving -0, which had also generated the pdf file for the same but the problem is when I'm opening the pdf file it throws an error saying "could not open 'quar3.pdf' because it is either not a supported file type or because the file has been damaged". Below is what I had passed in cmd.
D:\MI2\Oracle_BI1\bifoundation\server\bin>nqcmd -d coreapplication_OH1426052389
-u weblogic -p weblogic_1 -s C:\quar3.sql -o C:\quar3.pdf
I tried creating .xls, .doc which gets generated but it is not in a tabular format.
Please help....
Thanks,
KD

Similar Messages

  • Execute OBIEE report using Command Utility

    Hi All,
    I am working on OBIEE 11.1.1.5.0
    I'm trying to execute/run OBIEE report through command utility and the output should be in any format other than text.
    This report should be scheduled on hourly basis at particular destination/ location without using delivers scheduler.
    Thanks in advance.
    KD

    Hi Veera,
    I ran the report using nqcmd and to achive the desired result I had also specified the path by giving -0, which had also generated the pdf file for the same but the problem is when I'm opening the pdf file it throws an error saying "could not open 'quar3.pdf' because it is either not a supported file type or because the file has been damaged". Below is what I had passed in cmd.
    D:\MI2\Oracle_BI1\bifoundation\server\bin>nqcmd -d coreapplication_OH1426052389
    -u weblogic -p weblogic_1 -s C:\quar3.sql -o C:\quar3.pdf
    I tried creating .xls, .doc which gets generated but it is not in a tabular format.
    Please help....
    Thanks,
    KD

  • Get a Report crashed error while running report using the mode character

    Hello,
    I'am getting an "Enable to run report - Report as crashde" issue only when I'am running reports using the mode character. The same report with desformat pdf never has any problems. I have changed the englife (set to one) increase the cachesize but I still have the same issue.
    I'm using report 6i and Oracle 8i.
    Thanks in advance for your help.
    Regards,
    Laurent.

    Hi Thanks for the response,
    In fact the report in character mode is working fine in my environnement but is not working on my customer environnement (which is supposed to be the same as mine). I was thinking of cache size issue or something like this ?
    Regards,
    Laurent.

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.

    Thanks Simon for replying to my question.
    In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
    e.g: rwrun.exe   REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
    BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
    and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
    DESNAME and DESTYPE are the input parameters of the respective report.
    In SSRS, we can run the file from the command prompt and save it.
    rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
    -v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
    But we cannot use same command for printing as you said we need to create another script for printing files.
    I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
    Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"

  • Error when running report using SDK

    Hi, I am getting following error when I am running a report  in boxi r2 sp3 on IIS. Infoview and CMC runs fine but SDK application is not able to connect to CMS. This error does not come all the time. It happens intermittently.
    Error in RetrieveReport: Unable to connect to cluster @hisuatcluster to retrieve updated CMS member list. Logon cannot continue.
    Anyone has seen this and any way to pin point the cause. We have used -ns and -port switch in the command line of CMS and all servers.
    Thanks,

    will try that. But we would not be leveraging cluster benefit then. What happens if that particilar CMS in cluster goes down.
    Below is the logic of SDK.
    1.     Create an EnterpriseSession by calling SessionMgr.Login(the credentials we use to connect on in the web.config file).
    2.     Get a reference to the InfoStore with EnterpriseSession.GetService(u201CInfoStoreu201D)
    3.     Get a reference to the report as an InfoObject by querying the InfoStore u2013 InfoStore.Query(u201CSELECT * FROM CI_INFOOBJECTS WHERE u2026u201D)
    4.     Get a reference to the RASReportFactory u2013 EnterpriseSession.GetService(u201Cu201D, u201CRASReportFactoryu201D)
    5.     Open the report using the InfoObject (line 3) and RASReportFactory (line 4) u2013 ReportClientDoc = ReportAppFactory.OpenDocument(InfoObject.ID, 0)
    6.     Manipulate the reportu2019s connection information.
    7.     Set the vieweru2019s report source with the report (this is commented out in the current tests) u2013 CrystalReportViewer.ReportSource = ReportClientDocument
    8.     Close the session u2013 EnterpriseSession.Logoff()

  • How to run report on command line with user parameter?

    Hi,
    How do I run oracle report on command line (batch) with pre-set User Parameter values ? e.g. :P_1 ='SYSDATE' , :P_2 = 'DEPT_NO'
    Thanks

    Hello,
    If you are using rwrun :
    rwrun report=myreport destype=file desname=c:\temp\myreport.pdf desformat=pdf P_1='SYSDATE' P_2='DEPT_NO' userid=scott/tiger@dbalias
    If you are using rwclient , just add server=<reports server name> :
    rwclient server=myrepsevrername report=+myreport+ destype=file desname=c:\temp\myreport.pdf desformat=pdf P_1='SYSDATE' P_2='DEPT_NO' userid=scott/tiger@dbalias
    Regards

  • Commandline to run Reports using RWSebService

    Hi, I am trying to run the existing reports using the RwWebService from asp.net application here are some sample command lines that I am using, but I am getting the same error. If someone can point me in the right direction, I would really appreciate it.
    REPORT=IEP_CERTIFICATES_R USERID=scott@tiger DESTYPE=file DESFORMAT=PDF PARAMFORM=NO DISABLEMAIL=YES DISABLEFILE=YES P_WHERE_CLAUSE='PART_ID = 6077' AUTHID="ANONYMOUS"
    authid=oracle background=yes jobname="/ias10g/product/10.1.2/mt10g/forms/dmstest/RPT_MOVE_IMPORT_P.rep" desname=/var/spool/dms/dmstest/RPT_MOVE_IMPORT_P43330.pdf desformat=pdf server="repdmstest" expiredays=0 report="/ias10g/product/10.1.2/mt10g/forms/dmstest/RPT_MOVE_IMPORT_P.rep" userid=scot/tiger@dbname p_request_id=20333 arraysize=30 destype=file
    The error I get :
    Terminated with error:
    REP-501: Unable to connect to the specified database.
    I am fairly new Oracle, and would really appreciate all your help.
    Thank you
    KP

    Hi I changed the command lilne as mentioned, however the problem still persists. I am running this from the web service interface. I get the same error when I run the report using the rwservlet. Please help
    Command Line
    REPORT=IEP_CERTIFICATES_R USERID=scot/tiger@repDMSTEST DESTYPE=file DESFORMAT=PDF P_WHERE_CLAUSE='PART_ID = 6077' AUTHID="oracle"
    output:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <ns1:runJobResponse xmlns:ns1="http://oracle.reports.rwclient/RWWebService.wsdl" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xsi:type="xsd:string"><?xml version = '1.0' encoding = 'ISO-8859-1' standalone = 'yes'?> <serverQueues> <error code="51002" component="REP" message="Bind to Reports Server rep_neptune_mt10g failed"/> </serverQueues></return>
    </ns1:runJobResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • "Failed to open report" error while running reports using Crystal Report

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi,
    Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
    It might help you!!
    Regards,
    Amit

  • REP-300 Error while running report using App Server

    Hi,
    I am currently trying to run a report using the Application Server.
    This report is being called from a form.
    I am able to connect to the report server and all configurations seems to be correct.
    But when I execute the report from the form, I am getting error "Unable to run report"
    When I look at the error message in the Report Server queue, I find
    "REP-300 Table or View does not exist.."
    But that table does exist in the database.
    What could be be the problem ?
    Please help.
    The code in the form that calls the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id ,REPORT_OTHER, 'paramform=yes     p_user_connect='||vc_connect ||' p_servername=repsrv'||' p_action=<host>/reports/rwservlet?' );
    v_rep := RUN_REPORT_OBJECT(report_id, parmlist_id);

    The report is working perfectly fine when I run it from the Report Builder. I get the correct output.
    I am getting this error when I try to run the report through a Report server.
    I run the form from the Forms 10g builder. This form has a button "Run Report". When I click on the button the report is run using the Report server.
    This is when I get the error.
    There are other forms that are also called via the same form. Those work fine. The only difference between those forms and this one is that this one has user parameters passed to it. This one also has an attached library attached to it.
    The code in the Form to call the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, 'rep-vena01-xp');
    v_rep      := RUN_REPORT_OBJECT(report_id, parmlist_id );
    v_jobid := substr( v_rep, length( v_reportserver) + 2, length(v_rep) );
    v_repstatus := REPORT_OBJECT_STATUS( v_rep );
    IF ( v_repstatus = 'FINISHED' ) THEN
    v_url := '/reports/rwservlet/getjobid' || v_jobid || '?server=' || v_reportserver ;
    web.show_document( v_url, '_BLANK' );
    END IF;

  • Problem running reports using webutil in Forms 10g

    This is about 3 dll files related to webutil functionality in forms 10g
    d2kwut60.dll
    jacob.dll
    JNIsharedstubs.dll
    I am running report which is using webutil functionality. So when I try to run report, our application server try to download above dlls to my local machine on path C:\Program Files\Java\jre6\bin
    Due to security policy, our company doesn't allow write access to folder C:\Program Files\Java\jre6\bin and hence report is failing to run.
    We need solution for this issue so that we should be able to run report successfully?
    Details as below:
    Application server : Forms 10g - 10.1.2.3 ( Using Sun jre and not jinitiator). We do not want to use jinitiator
    Browser - IE8

    Curious, typically Java will store these "temporary" files in the cache not in the BIN directory. Unfortunately, the only way I know to change the location of the CACHE (temporary files) directory is through the Java Control Panel applet. Open the Control Panel and start the Java Control Panel. On the General tab click the Settings... button in the Temporary Internet Files section. In the Location section - click the Change button which will bring up a "Temporary Files Location" dialog box. Simply navigate to a directory that your security policy will allow files to be written too.
    The ideal solution would be to push this type of change out to all of your users rather than have to manually change each workstation. I don't know if there is a way to push this change out, but you can check the Java website for more information.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Running Reports using DESTYPE=CACHE from Report Launch Form (QMS0012F)

    We are trying to run reports via the web. Since this is a 3-tier setup and our report server is running under UNIX the DESTYPE=Preview and Screen are not valid options. When we choose CACHE as DESTYPE we get the error:
    'Invalid value '||l_value||' passed for parameter DESTYPE'
    I have traced the error down to the QMS0012L.PLL library -> QMS$REPORT (version 6.5.1.3) package -> add_par_to_list procedure.
    Is this a legacy of a client/server type setup? I have modified the procedure to allow for DESTYPE=CACHE. Now by submitting a report with DESTYPE=CACHE it gets submitted to the reports server except it doesn't show report. To display the report I believe we have
    to use the Web.Show Document function to display the report (eg. http://bill:7777/servlet/RWServlet/getjobid8?server=rep60bill) as per the oracle white paper "Integrating Oracle9iAS Reports in Oracle9iAS Forms"
    Has there been a headsdtart patch to include the DESTYPE of CACHE when running reports? or are we the only ones running reports this way.

    Raymond,
    I have recorded a new bug against Headstart for this. We do not
    currently have a fix, but I've looked at the code you mention and
    your fix looks correct.
    Regards,
    Lauri

  • Running report from command line with multiple value for same parameter

    Hey,
    I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
    So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
    This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
    Any help on this?
    Thanks

    Hello,
    Bursting and Distribution may help you ....
    37 Bursting and Distributing a Report
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
    Regards

  • Run reports via command line

    I'm new to Discoverer. I am trying to come up with a batch job so that the operators can run Discoverer reports via the command line.
    The issue I am having is that when I issue the command (shown below), its opens up the Discoverer program (its because of the open command). Is there anyway I can issue a command which immediately runs a sheet inside the Discoverer file and exports it to a file without opening Discoverer. Thanks.
    /connect ofsa_eulowner/[email protected] /open c:\selvi\customer.dis /sheet sheet1 /export xls c:\selvi\customer.xls

    You need to use /batch to run the report.

  • Invalid group section error when running report containing command.

    The error is the following (displayed in Dutch, spent some time changing the language settings, but still CR persists in showing the message in my mother tongue, but the gist of it is: invalid group section or something like that) Process error: Ultimo.Services.ReportService.Core.ReportingException: Error creating export file: LtapList02-01.rpt ---> CrystalDecisions.CrystalReports.Engine.InvalidArgumentException: Deze groepssectie kan niet worden afgedrukt omdat het voorwaardeveld van de sectie niet bestaat of ongeldig is. Maak de sectie op om een ander voorwaardeveld te kiezen. Fout in bestand LtapList02-01 {DEE4EF1C-A138-4AE9-8C64-EF8389263782}.rpt: Ongeldige groepsvoorwaarde. ---> System.Runtime.InteropServices.COMException: Deze groepssectie kan niet worden afgedrukt omdat het voorwaardeveld van de sectie niet bestaat of ongeldig is. Maak de sectie op om een ander voorwaardeveld te kiezen. Fout in bestand LtapList02-01 {DEE4EF1C-A138-4AE9-8C64-EF8389263782}.rpt: Ongeldige groepsvoorwaarde.  at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)  at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)  --- End of inner exception stack trace ---  at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)  at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)  at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)  at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)  at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options) etc. The command is phrased thus: select * from {?DatabaseSchemaPrefix}applfn_LtapStructure(). The error is somehow associated with the parameter used in this command. If I remove it and replace it by the value used when running the report, the report runs successfully. Also, strangely, when I define a default value for the parameter in the command and programmatically add a value for it by the method call parameterFieldDefinition.CurrentValues.AddValue(), also the report will run flawlessly. Without the default value it will fail. But when I want to run the command without a value for the parameter (parameterFieldDefinition.CurrentValues.AddValue("")), so for it to be empty, while a default value is defined for it too, also, running the report will result in an error. My question is: has anyone ever seen this type of thing happening? And is there a solution?

    Hi
         Is it a Date Parameter., ! if so, look for format it is taking. because u said report runs well when default value is assigned. Hope, most probably the problem will be related to data format.
    and
    try to provide details regarding CR version and all., will be helpful to others to help you.

  • Long running reports using java servlets

    Hello,
    I'm running into a problem using java servlets to produce database reports and sending them back to the client browser as excel or html. The problem comes into play when the user has submitted two reports then goes to run a third and the browser hangs. I realized now that this is because of the two active connections that the user already has to the app server. Does anyone have any suggestions on how to get around this? I'm trying to now write the report to the server, and provide the browser with a url, but it seams as though the connection isn't totally closed even though I close the response printwriter.... Any suggestions would be greatly appreciated....

    Unfortunately I dont have an answer to your question, but:
    If the reports are large/long running, should they be generated on demand? You could schedule the reports to be generated every day, month or whenever appropriate, stored on the server and then quickly pulled by the user whenever needed.

Maybe you are looking for

  • How to create  a test plan with specific transactions (or program)

    Hello, I'm a new user in Sol Man ! How to create  a test plan with specific transactions (or program). In my Business Blueprint (SOLAR01) I've created in 'transaction tab' the name of my specific transactions and linked it. In my test plan (STWB_2) t

  • Roles not seen in SU01 of the Partner system

    Hi all, Please help me with this. Generally the ECC transfers HR data to other systems like the CRM, SRM and other systems. So all the roles assigned at the position level reach the corresponding systems. When I check the Position in the CRM I see th

  • Stock Transfer Order No

    Hi All,    Where do i get the Stock Transfer Order No in Delivery Document(VL03N) for the materials delivered to the customer. Regards, Nagendra Prasad.

  • Downloading Photoshop Elements V8

    I need to download Elements 8 and install it on my new computer.  How do I do that?

  • Sequence Audio Is Quiet Help

    I have digitized Beta SP footage (the project is all SP) into a project, my second on Final Cut Pro for a long time AVID user. The audio plays fine in the Viewer, but is silent in the sequence. I didn't have this problem in the first project I cut. T