DESTYPE=LOCALFILE

Im trying to get my reports to output to a file on the clients PC in an Excel format.
So far Ive managed to get an Excel file to save on to my Server but my clients dont find this acceptable.
I read in the documentation that I can use the destype=localfile but whenever I use this it prompts me for the location to save rw60cgi.
Has anyone managed to save report output locally ?

This is what I have in my cgicmd.dat file:
report=c:\report.rdf userid=usern/pass@dbase server=servername destype=file desname="C:\filename.csv" pagestream=yes desformat=DELIMITED DELIMITER=, cpref=%1
The output is an Excel file, comma delimited but it is always saved to the server machines hard drive and not the local machine.
My clients need it to be saved locally and not to the reports server machines hd. What am I missing ?

Similar Messages

  • Report destype=localfile problem

    Hi everybody,
    I have the following problem:
    When I execute a report in the browser like this:
    http://myserver/reports/rwservlet?report=prueba.rdf&userid=a/b@c&destype=file&desformat=pdf&desname=myfile.pdf
    everything goes well and the file "myfile.pdf" is generated in "myserver".
    When trying to get the file in the client executing like this:
    http://myserver/reports/rwservlet?report=prueba.rdf&userid=a/b@c&destype=localfile&desformat=pdf&desname=myfile.pdf
    the report finishes well, as indicated in the server's queue, but the file doesn't appear in the client or in the server.
    Is there anything I am doing wrong?
    Just in case you give me an answer to the problem, if I submit the report from the BBDD, via the SRW package, is the server in which the BBDD the client?
    Thanks in advance,

    Hi Rodolfo.
    First of all thank you for your answer.
    Maybe it depends on the version you are working with. I work with Reports Builder 10.
    If you look at the Destype System Parameter there are 7 options: screen, file, printer, mail, sysout, cache and localfile.
    In the "Help" says for DESTYPE=LOCALFILE:
    Valid only for rwservlet, rwclient, and rwcgi. Sends the output to a file on the client machine and forces a synchronous call.
    And that is my case because I am using rwservlet.

  • Store reports in client m/c using destype=localFile in rwservlet

    Hi,
    i am trying to store the reports in client machine using rwservlet(http://<<report server name>>:7777/reports/rwservlet). i gave the destype as localFile. but in screen displays a msg : "Oracle Job Status" as some number. i cannot able to trace what is the reason for this problem. If any one knows to generate reports and store that in client side using rwservlet, let me know. i badly require solution for this. Thanks in advance.
    regards,
    srini

    Hi,
    The job status is to indicate the process of the job, it was run ok you can go to the location specified in the URL to look for the report. I assume that you also have a report's name in the URL too.
    The problrm is it cannot save to the local machine. IF you specified a location that is not on the server then you would have gotten an error saying that the device is not ready, cannot send output... If you specified a drive that is similar to the server then the output went to the server, for example, you put c:\ then the report went to C:\ on the server, or if you put c:\mydir but that directory does not exist on the server then you would have gotten the error.
    All above applies to running the report outside the form and in the 9i environment, using the browser and providing the URL. Now, in the URL, for IE only, if you don't add &desname=.... part then YOU WILL GET THE SAVE AS DIALOG then you CAN SAVE to the local machine. The problem is if you save it as a PDF file then you won't be able to open it (you will see an error), somehow it did not close the file at the end of the save properly; if you save it as a RTF file then you can open it with any text editor just that the layout is messed up.
    Now, if calling from the form the report will go the location on the server as before, but it also brings up on the screen and you can save it locally using the SAVE button of the editor.
    Below is my url when running from browser:
    http://igoracledba:7777/reports/rwservlet?report=f:\9ifiles\sirc_case_report.rep&userid=hotline/hotline@desgnr9i&server=report9i&destype=localfile&desformat=pdf&desname=c:\myreport.pdf -- will save to c:\ on server (this is also used in the WEB.SHOW_DOCUMENT in the form).
    http://igoracledba:8888/reports/rwservlet?report=f:\9ifiles\sirc_case_report.rep&userid=hotline/hotline@desgnr9i&server=report9i&destype=localfile&desformat=pdf -- will get the Save dialog
    And that's what I 've been getting my project during the testing of the 9iDS suites.
    Good luck.

  • Destype and desname parameters don't work properly

    Hi,
    We have a j2ee webApp that uses oracle reports to run reports. One report in particular could be really long and slow (b/c it contains lots of dynamically generated jpegs) depending on what parameters a user chooses. So for this report, we'd like it to run asynchronously, notify the user when it is finished, and store the pdf on that user's local machine. So our report url looks like this:
    http://appServerHostName:portNumber/WebApp/rwservlet?report=someReport.jsp&server=ourServer&destype=LOCALFILE&desname=$TMP/test.pdf&cmdkey=someKey&desformat=pdf&ENGINERESPONSETIMEOUT=50&NOTIFYSUCCESS=[email protected]&NOTIFYFAILURE=[email protected]&background=yes&ourSpecificParameters...
    I got the first 2 things working by doing background=yes&notifysuccess=someEmailAddress
    However, I can't get the report to be downloaded to the user's machine after it's done running. I've tried:
    1) destype=localfile&desname=$TMP/test.pdf
    2) destype=localfile&desname=C:\temp\test.pdf and other ways.
    I also tried to see if I could store the pdf on our UNIX appServer:
    destype=file&desname=$TMP/test.pdf but that didn't work either.
    No matter what I set destype to (localfile, cache, or file), the pdf ALWAYS gets stored on our appServer at $ORACLE_HOME/reports/cache and the name of the pdf gets derived from the value of desname plus some 8-digit random numeric string. So in the 1st case above, the generated pdf was:
    test25136488.pdf
    And in the second case, the C:\temp\ wasn't interpreted as a directory, but as part of the filename so the result was an ugly filename:
    C:\temp\test14257852.pdf
    This is only a problem for us for this 1 report (and possibly others in the future) b/c our other reports typically run pretty fast so the user can just wait for the pdf output to pop up in their web browser.
    Any help on how to get destype and desname working properly (or if you have a better solution for dealing with really time and memory consuming reports) would be much appreciated.
    Thanks.

    Hello,
    The behaviour of DESTYPE=LOCALFILE is not the same for rwclient and the reports servlet :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/bld_destype.htm
    It is not possible to save an ouput returned by an URL automatically with a browser.
    If you want something automatic, you have to use a free utility like curl or lynx
    http://curl.haxx.se/
    http://lynx.isc.org/lynx2.8.5/index.html
    or write a small application in java. There are many examples on the web :
    http://www.devdaily.com/java/edu/pj/pj010011/index.shtml
    Learn how to download the contents of a URL
    using Java's URL class
    http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Java Tip 34: POSTing via Java
    Learn how to POST data to Web servers in Java
    http://www.exampledepot.com/egs/java.net/Post.html?l=rel
    e135. Sending a POST Request Using a URL
    http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html
    Reading Directly from a URL
    Regards

  • Creating file on local drive while running the report on web

    I am using text_io package to write data to a file in reports. When I run it on my local machine, it creates the file (in C drive) perfectly but, when I am running this same report on the report server, it doesn't create the file. Looks like report server doesn't understand where to create the output file. I hard coded the path(C:\xyz.csv) in my report as to where to create the file, but the report server is not creating the output file. Any suggestions how to create the output file on my local machine while running on the web.

    Bhasker,
    You will have to use destype=localfile
    Please refer to appendis on commandlines in
    http://otn.oracle.com/products/reports/htdocs/getstart/docs/a92102_01.pdf
    Thanks
    The Oracle Reports Team

  • CANNOT DISPLAY A WORD/EXCEL DOC IN BLOB FIELD INTO A PDF REPORT

    We created a report that should display several kinds of documents at one time.
    These documents are stored in BLOB columns in database. We had no problem to
    display txt, gif or jpeg, but we could not display doc, xls, pdf or html
    documents.
    In this report we set three different fields in which display different kinds
    of documents depending on mimetype. The first field has FileFormat property set
    to 'Text' in order to display 'text/plain' and 'text/html' mimetype documents.
    The second field has it set to 'Image', which allow to display 'image/bmp',
    'image/gif', 'image/x-png', 'image/pjpeg' mimetypes. The third field has this
    property set to 'OLE2', and here is where we would like to display other
    mimetype documents as 'application/msword', 'application/vnd.ms-excel',
    'application/pdf'.
    We run the report on the web using:
    http://<server>:<port>/dev60cgi/rwcgi60
    ?server=<report_server>
    &report=<rdf_name>
    &destype=localfile
    &desname=<report_name.pdf>
    &userid=<user>/<password>@orcl9i
    &desformat=pdf
    <6meters>
    I have already read a lot of notes in Metalink but I could not find any
    solution. Is there any way to display a Word/Excel document from database in a
    report?
    We tried to convert Word/Excel docs to html format, but when we tried to
    display an HTML document in the report, we found that Oracle Reports displays
    the source code instead of the HTML format document. So, this did not work.
    What can we do?
    We also read somewhere that a possible solution would be to convert Word/Excel
    documents to a common format like GIF, JEPD or PDF. If processed as gif or jped
    the file could be displayed in the report. If processed as pdf the document
    could be linked in the report.
    I tried to display a PDF in the report but a blank box is displayed. How can I
    do this too?
    Any solutions?

    Hi,
    I have the same problem. I need to show up a BLOB, word file(.doc), in a custom report. I made a simple query, extracting file_date( the column having the blog (.doc) file) from the database, in the report and placed it on a layout by assigning it to a field "F_1". I addressed the file format as OLE2.
    But when I run the Report in APPS, it shows up an error "REP-1814: Report cannot be formatted. Object 'horizontally and vertically' can never fit within 'F_1'.". I also played with the layout by changing its size but the response had no change.
    I am using Reports6i and the output format of the report is PDF. Is there a way to resolve the issue? Please share the solution if you have any for this.

  • How to run a 10g report in quiet\batch mode

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    So the server (we will call it server1) you have "Redwood Cronacle 6.0.2" installed on has a C: drive and a D: drive. On the D: drive is installed Developer 6i (D:\ORADEV6I). You can install Developer Suite 10g also on the D: drive (D:\ORADEV10G for example). After that, setup Oracle iAS on server2. The good news is you have to change very little code. You can:
    Not use the iAS server at all and use the following command (similar to how you are doing it now) in Redwood:
    return 'D:\ORADEV10G\BIN\RWRUN.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' batch=yes paramform=no destype=file'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE';If you want to use the iAS server, you have to consider where the report will physicall exist. You can have it exist on the reports server or you can have it brought back to the client. If you bring it back to the client you will lose the ability to run this asynchronously (or in batch mode). You will have to play with some of these parameters to get it to work perfectly, but this should be a good start. These are examples of have the report results saved locally on server1...not server2:
    1. Use rwclient to submit a report request
    return 'D:\ORADEV10G\BIN\RWCLIENT.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';2. Use rwservlet to submit a report request
    return 'D:\ORADEV10G\BIN\RWSERVLET.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';I would think that Cronacle 6.0.2 can submit a url as a job and wait for the results to be streamed back, so you could look into doing that also, in which case the url you would submit for the job would be something like:
    return 'http://server2:7777/reports/rwservlet?'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=cache'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';

  • Cannot connect to the report server

    I try to submit a report using RWCLIENT (see below), but getting the error:
    "REP-0178 Cannot connect to the report server 'rep_M2003-056DVM_ora10gas' "
    If I use URL, the report runs fine.
    Please advise.
    Thanks,
    Dmitri
    C:\OraDev10g\BIN\rwclient userid=user/password@database module=txr1020 batch=yes paramform=no DESTYPE=LOCALFILE desformat=pdf desname="M:\txr1020.pdf" AUTHID=ias_admin/iasadmin1 server=repser

    We have Reports 10.1.2.
    RWCLIENT (10g iDS) is installed on different machine.
    On OracleAS I have started the Naming Service: namingservice.bat 14021
    On client I updated the rwnetwork.conf with OracleAS hostname and 14021.
    What is wrong? Maybe I need to start Naming Service using OPMN for report server to register.
    Thanks.

  • Oracle Reports to Excel via Conc Mgr

    Hi-
    I'm trying to get Oracle Report to Excel output via the Conc Mgr. I've tried various options including Desformat=DelimitedData, Destype=localfile, Desformat=Delimited. I'm unable to get it to Open in Excel in any legible format.
    The best results I've gotten is using Desformat=Delimited w/in the rdf, View Requests - Choose Excel for Output, Choose Save to desktop, open w/ Excel and change text to data. My problem is that the delimiter is set to comma, but my data has commas in it. I tried creating a user parameter DELIMITER default Value = |; I tried setting up options in Conc Prog Reg screen DESFORMAT=DELIMITED DELIMITER='|', as well as setting System Parameter DESFORMAT= DELIMITED DELIMITER='|' w/in reports. It sets the delimiter as desired if I run it from my desktop and generate to a local file, but as soon as I move it and run it thru conc mgr it switches the delimiter back to comma.
    Thx-Tara

    Hi,
    You could use SYLK or BI Publisher. Check out my blog posts here:
    SYLK:
    http://garethroberts.blogspot.com/2007/10/excel-file-output-from-oracle.html
    XML / BI Publisher:
    http://garethroberts.blogspot.com/2007/09/standard-report-to-csv-file-via-bi.html
    Note that neither of these outputs are "native" binary Excel - SYLK is its own format and BI Publisher is XHTML.
    Regards,
    Gareth

  • Parameter form in web reports

    Hi All !!
    I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
    If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
    then as destype is local file so client can store it in notepad on his M/C.
    In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
    My problem is :
    As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
    can't select localfile as a option in this case.
    Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
    Thanks in advance

    Hi All !!
    I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
    If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
    then as destype is local file so client can store it in notepad on his M/C.
    In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
    My problem is :
    As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
    can't select localfile as a option in this case.
    Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
    Thanks in advance

  • Matrix with excel output?

    Hi
    I was wondering if creating a matrix report with excel output is possible?
    _*                                                                                                                                                                           

    Hi
    Are you referring to creating matrix report with excel output by specifying
    destype=localfile desformat=DELIMITED delimited_hdr=yes?
    Also, I am aware that we can create well formatted excel output with jsp reports. Has anyone given that a try with matrix reports or only rdf would work?
    Thx!

  • Report output generated on server

    hi, i am using developer 10g. My report's output destination is cache, file, mail etc.
    while i am creating a file as an output through my reports, it sends the output file to server instead of local machine. how can i generate the output file on client. i am using the oc4j instance of server while generating reports.
    thanks

    Hello,
    You can use DESTYPE=LOCALFILE with rwclient. If rwclient is not available on the "Client PC", you can use a free utility like curl.exe and execute a command like :
    curl "http://server:port/report/rwservlet?server=repserver&destype=cache&desformat=pdf&report=test" -o c:\tmp\output.pdf
    Regards

  • Important / Oracle 9i Reports Functionality

    Hi,
    I am using Oracle 9iDS and Oracle 9iAS.I need help on the following
    topics.
    a)Can i generate files on the client side.Now the files are being generated at the Server side.Is there any workaround.
    b)Can i take printouts on the printer attached to the client PC.Now the printouts can be taken on a network printer.Is there any workaround.
    Thanks in advance.
    Regards
    Deepak

    Hello Deepak,
    You can do both the operations you have mentioned in using Oracle 9i Reports.
    1. You can generate files on the client side using the DESTYPE=LOCALFILE option to rwclient.
    2. You can print to a printer attached to the client m/c using ORARRP, the Oracle Reports Remote Printing utility. Please refer to the following OTN link for details on how to use ORARRP: http://otn.oracle.com/sample_code/products/reports/content.html#orarrp
    Thanks,
    The Oracle Reports Team.

  • REP-0171 when using rwclient.bat to run report in 11g

    Hi,
    I m using rwclient.bat in oracle 11g to run a report. Destype=localfile, desformat='PDF'.
    In this case, REP-0171 is occured. How to avoid this issue.??
    Note : If i use Destype=File it works fine.
    I m trying to use Destype=localfile so that the PDF is saved directly at the client machine.

    Hi,
    "LocalFile" surely works on the Application Server. But, if i run a report from the client machine using LocalFile the output is not saved on the local disk of the client machine.
    Saving the file directly on the client machine is my concern.

  • How to query using CGI path for 'IN' sql statement

    Some problems that requires help:
    I have a report that requires a query which has 'IN' statement in SQL query. For example: SELECT EMP_ADDRESS1 FROM EMPLOYEE WHERE EMP_NO IN (:EMP_NO).
    I am going to query the result of this query using CGI. My peoblem starts here - I can't be passing a list of parameter for ':EMP_NO' because the path does not accept escape characters. I can't be put a query path below:
    <HTML>http://172.188.2.7/dev60cgi/rwcgi60.exe?server=9iAS&mode=default&destype=localfile&desformat=\\pri_wnt\generic&report=gcgd1.rdf&userid=comm/comm@employee<B>&emp_no='A','B','C'<B></HTML>
    What I am doing is that I will have a front end written in JAVA and display a listing of Employee available in the company. The user will be able to choose whatever employee on the front end. Then, I will call the CGI path to display the result to the user.
    Pls help. Kindly email personally([email protected]) or reply here.
    Thank you

    You'll need to escape your single quotes using %XX where XX is the hex code corresponding to the special character you want to use. I'm not sure what the escape code is for quotes. I know that if you wanted to have a space, this:
    ....../rwcgi60.exe?key+P_city='San Francisco'+....
    would need to look like:
    .../rwcgi60.exe?key+p_city=San%20Francisco+...
    You'll need to find out what the number for quote is. HOpe that helps a bit.
    Toby

Maybe you are looking for

  • Migrating Logic and all plug ins from old mac to new mac

    Hi, I understand Migration Assistant will bring over all my old files from my Macbook Pro to my new Mac Pro.  My question is, I have Logic Pro 7 and authorization key (USB), my new Mac Pro has Logic Pro 9, can I use all my old music files by just usi

  • Portal Runtime Error after System Refresh

    Did a system refresh and now when I select a BI workbook that executed before the refresh I receive the error "portal runtime error an exception occurred while processing your request exception id:09:27_07/02/11_0018_2780350 see the details for the e

  • And I thought iphoto was complex

    Sorry ... me again. So I go to Advanced and convert selection to MP3 and it not only duplicates all the selections in the library list but puts a duplicate in all the album folders in the library in finder. This means I have to go to each and every a

  • Strange path led to unbootable MacBook. Tried everything to revive.

    Happy Holidays everybody. I have a problem that manifested itself Christmas night and I have yet been able to resolve it. I wasn't running much (Firefox, Hardware growler, quicksilver) when this problem occurred. I was following a recipe online and a

  • IMovie slow to load after installing SSD

    Hi everyone, I have just installed an SSD in the spare optical drive bay of my Mac Pro and added RAM. (Specs below.) I did a clean install of SL. Before I did this I was booting from the 320GB drive that came with the computer and I have all my photo