Command Line Discoverer 10g

Hello Forum Friends,
Long time no comms!! Hope all the regulars are keeping well.
Question, the majority of my experiences with Discoverer have come from version 4, including admin and desktop. I've recently transferred to a new job, and although they have access to 4, some of their customers only have 10g.
Could someone tell me if the functionallity of uising command line prompts such as;
DIS51USR.EXE /connect user_name/password@database /apps_user /apps_responsibility "Resp_name"
/opendb "user_name:workbook_name" /sheet ALL
is still available in version 10g? I've hit a few stumbling blocks today, and a few errors, i think could be related to the <workbook name> syntax, but have also read on the forums that 10 g (is this also called plus?) does not really have the same functionality when it comes to creating batch files etc?
Many thanks
Simon

Good Morning.
After reading through a few bits and pieces on the OTN, i've now attempted to use the following command line syntax but to no avail;
C:\oracle\BIToolsHome_1\bin\dis51usr.exe /connect sysadmin/password@db/apps_user/opendb
I reveive the error "Failed to Connect to database - ORA - 12154: TNS: could not resolve the connect identifier specified" , okay so this tells me there is an issue with my tns names connection, but upon review this all seems fine, i can connect using the same "DB name" in the syntax above logging in manually, i'm connecting to both standard and applications euls, there are no entries in the GYWID or the Foundation name within tools options conections in Desktop, but this makes no difference to my manual connection, in fact when i do add the standard entries of;
Gateway User ID: applsyspub/pub
Foundation Name: apps
i can not connect manually.
Any suggestions would be great, many thanks in advance.
Simon
Discoverer Desktop Version 10.1.2.55.26

Similar Messages

  • Convert fmb to fmt in command line in 10g

    Would anybody out there give me a hint on how to convert fmb file to fmt in a command line in forms 10g ? Which command can we use to start the form converter that we can get from file -> convert on the form developer ? either in
    Windows or Linux environment.
    Thank you in advance
    -ian

    Ian,
    this is what you are looking for
    Forms/Reports 9.0.X, 10.x
    #UNIX Forms Compile
    #compile_forms.sh
    for i in `ls *.fmb`
    do
    echo Compiling Form $i ....
    f90genm userid=scott/tiger@bs817 batch=yes module=$i module_type=form
        compile_all=yes window_state=minimize
    done
    ( For 10gR1 = forms 9.0.4.x, you can use f90gen also)
    ( For 10gR2 = forms 10.x, you can use frmcmp.sh or frmcmp_batch.sh)
    #UNIX COMPILE REPORTS
    #compile_rep.sh
    for i  in `ls  *.rdf`
    do
    echo Compiling Report $i  ...
    rwconverter.sh userid=scott/tiger@bs817 batch=yes source=$i 
        stype=rdffile dtype=repfile overwrite=yes compile_all=yes
    done
    Note: If you dont want to use the X-Display then you can use f60gen,f90gen and frmcmp_batch.sh
    for compiling Forms. Make sure TERM, ORACLE_TERM and NLS_LANG values are properly set.
    ADDITIONAL:
    You can use the information above to compile libraries or menues or
    convert files from binary to text and text to binary too. eg:
    for %%f in (*.pll) do ifcmp60 userid=user/pwd@db module=%%f module_type=LIBRARY batch=yes window_state=minimize compile_all=yes
    for %%f in (*.mmb) do ifcmp60 userid=user/pwd@db module=%%f module_type=MENU batch=yes window_state=minimize compile_all=yes
    for %%f in (*.mmb) do ifcmp60 userid=user/pwd@db module=%%f module_type=FORM batch=yes window_state=minimize parse=YES
    for %%f in (*.mmb) do ifcmp60 userid=user/pwd@db module=%%f module_type=FORM batch=yes window_state=minimize script=YES
    (and similar loops for Unix).

  • Compiling rdf via command line (rwbuilder 10g)

    Hi all,
    Is it possible to compile a report via commant line?
    Report builfder version 9.0.4.0.33
    Thanks
    Vismantas

    I tried using rwconverter:
    rwconverter userid=user/pwd@db batch=yes source=%%f stype=rdffile dtype=jspfile overwrite=yes logfile=log.txt
    The problem is
    In some cases, rwconverter automatically compiles the report's PL/SQL as part of the conversion process. Provided that your conversion destination is not a .rex file, PL/SQL is automatically compiled under the following conditions: converting to a .rep file. If there are compile errors, rwconverter displays an error message and the .rep file is not created. using a .rex file as the source. If there are compile errors, rwconverter displays a warning, but the conversion continues. using a report created on another platform than the source. If there are compile errors, rwconverter displays a warning, but the conversion continues
    So if i use rwconverter and convert my report from rdf to rdf, as i need only to compile rdf, rwconverter does not do the job.
    I have found a work around:
    First to convert rdf to jsp and then convert that jsp back to rdf. Then rdf gets compiled but i do not like it as in some cases rdf becomes crashed.

  • Command Line Issue

    Hey All,
    This batch file works:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb BatchTest /sheet 2010 /batch /export HTML d:\batchtest
    but this one does not:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb "00000 Workbook Analysis Begininng 01 Jan 2009" /sheet ALL /batch /export HTML d:\batchall
    The first batch file executes only ONE worksheet and exports the output to a file successfully. The second batch file executes ALL sheets in the workbook but does not produce the output file. Its execution does not produce any error messages but no output is generated. Removing the '/batch /export HTML d:\batchall' commands opens Discoverer Desktop and executes all worksheets successfully.
    I guess I am just being a silly goose but I cannot find the problem. Any help towards solving the problem will be appreciated.
    Thanks,
    Jerre

    Hi Jerre
    Interesting indeed. The export command, taken from my book, is as follows:
    /export <format><export-file-name> This exports the results of executing a worksheet to the file named, in the format specified. If you do not specify a worksheet on the command line, Discoverer exports the results from the active worksheet. If you nominate /sheet ALL on the command line, Discoverer exports all of the worksheets in the workbook and names the output files as <file><sheet-name>.<ext>, identically to the behavior of the Export Data command.
    First of all, because you are using the ALL sheets switch the file name has to be unique and cannot be named the same as a folder. Do you happen to have a folder named batchall? That would cause a problem.
    Next, I am wondering if there is something with the sheet names that could be causing the issue. Can you take a look at the sheet names and see if there are any characters that might cause an issue? As a test, try renaming the sheets to all one word with underscores.
    Best wishes
    Michael

  • How can I import eex files into Applications EUL from the unix command line

    How can I import *.eex and *.dis files into an Applications EUL from the unix command line?
    Thanks

    Hi
    The simple answer is you either have to use the client tool DIS51ADM to import files using the command line (Discoverer Admin is a windows only client tool), or the Java command line which needs a browser.
    In theory if you have a browser running on your Unix box you may be able to use the Java command line to make this work.
    Best wishes
    Michael

  • How to run Discoverer 10g report from unix command line

    Hello Experts,
    I am aware that discoverer report can run through command line using "dis51usr.exe /connect username/passward@connection_string /opendb "DISCOVERER.<<report name>> /export xls"".
    Can we run discoverer 10g report (stored in database) from server location / unix command line? Is there any command?
    Please assist. Thank you.

    Hi Tamir,
    Can you please mention from where we have to execute/run these commands? After setting enviornmental variable, are these commands run from any location or we have to go to particular server location and then execute (ex. from directory BI or else).
    Thank you.

  • Discoverer 10g on Unix AIX (command line)

    Hello,
    We are on 10g (10.2.0.3.0)
    We would like to generate reports with Discoverer directly on Unix, and save the results of a report into a file on the Unix machine.
    Ideally, I suppose I would like to get the command line...
    I saw dis51pr and dis51ws... but I have a very poor knowledge about Discoverer on Unix.
    Do you have any advice ?
    Thanks in advance,
    Olivier

    Hi,
    You can invoke a web service from PL/SQL using the utl_http package and because you can connect to viewer and run a discoverer workbook from a url then you should be able to run the viewer workbook from PL/SQL using Disco viewer as a web service. e.g.
    http_req := utl_http.begin_request('http://server:port/discoverer/viewer?username= etc', 'POST', 'HTTP/1.1');
    where the url you pass contains all the details of the username, password, database, workbook and parameters.
    Then use utl_http.get_response to obtain the html generated by Disco viewer which you could then write to a file.
    I haven't tried this approach yet with Discoverer, it is a lot of work to set up and get working.
    Rod West

  • Discoverer 10g Command Line Batch Mode

    Hi all,
    Discoverer Desktop Client 10.1.2.48.18
    I want to run a batch of Workbooks and export the query outputs to MS Excel files using a command line batch job. I am trying to confirm whether it is possible to include multiple Workbooks in my batch request and also whether I can produce log files for each individual export.
    I have created a Command File (cmdFile.cmd) as follows:
    /connect username/password@sid /open H:\Discoverer\afr1019.DIS /sheet ALL /export xls H:\Disco10gOutputs\afr1019.xls /batch
    /connect username/password@sid /open H:\Discoverer\ag0521.DIS /sheet ALL /export xls H:\Disco10gOutputs\ag0521.xls /batch
    And to run this command file I run the following command:
    C:\oracle\disco10g\bin\dis51usr.exe /cmdfile H:\Disco10gOutputs\cmdFile.cmdHowever the only output file is the last entry in my Command File i.e.ag0521.xls
    Can anyone explain this phenomenon please?
    Kind regards,
    Gary.

    Hi,
    You will not be able to export more that one workbook using a single Discoverer export. You need to use multiple command files, for example, create a .bat file containing:
    C:\oracle\disco10g\bin\dis51usr.exe /cmdfile H:\Disco10gOutputs\cmdFile1.cmd
    C:\oracle\disco10g\bin\dis51usr.exe /cmdfile H:\Disco10gOutputs\cmdFile2.cmd
    And then have each export in a separate cmdFile.
    Hope that is clear.
    Rod West

  • Discoverer 11g EUL command line error granting privileges

    I'm testing Discoverer 11g (Desktop and Administrator 11.1.3) in order to upgrade from 10g. On 10g we have some scripts that automate many things using EUL command line. The first difference I've found is than in 10g we used directly eulbuilder.jar, now in 11g this jar has moved to $ORACLE_HOME\discoverer\lib and you have to use eulapi.bat located on oracle home's bin directory.
    The second difference is that grant_privilege and revoke_privilege commands had stopped working, they do nothing. I've compared via database dumps what they do in 10g and basically they insert/delete some registers on EUL5_ACCESS_PRIVS and EUL5_EUL_USERS and grants/revoke access to EUL tables.
    10g commands working fine
    -- Revoke all access and privileges
    java -jar eulbuilder.jar -CONNECT E/E@ORCL -eul E -REVOKE_PRIVILEGE -PRIVILEGE all_user_privs -BUSINESS_AREA_ACCESS % -IDENTIFIER -WILDCARD -role <ROLE_NAME> -LOG LOG.LOG
    -- Grant user privileges
    java -jar eulbuilder.jar -CONNECT E/E@ZEUS -eul E -GRANT_PRIVILEGE -PRIVILEGE all_user_privs -IDENTIFIER -WILDCARD -role <ROLE_NAME> -LOG LOG.LOG
    -- Grant business area access privileges
    java -jar eulbuilder.jar -CONNECT E/E@ZEUS -eul E -GRANT_PRIVILEGE -BUSINESS_AREA_ACCESS % -IDENTIFIER -WILDCARD -role <ROLE_NAME> -LOG LOG.LOG
    11g commands doing nothing
    -- Revoke all access and privileges
    eulapi.bat -CONNECT E/E@ORCL -eul E -REVOKE_PRIVILEGE -PRIVILEGE all_user_privs -BUSINESS_AREA_ACCESS % -IDENTIFIER -WILDCARD -role <ROLE_NAME> -LOG LOG.LOG
    -- Grant user privileges
    eulapi.bat -CONNECT E/E@ZEUS -eul E -GRANT_PRIVILEGE -PRIVILEGE all_user_privs -IDENTIFIER -WILDCARD -role <ROLE_NAME> -LOG LOG.LOG
    -- Grant business area access privileges
    eulapi.bat -CONNECT E/E@ZEUS -eul E -GRANT_PRIVILEGE -BUSINESS_AREA_ACCESS % -IDENTIFIER -WILDCARD -role <ROLE_NAME> -LOG LOG.LOG
    Has anybody tried these commands? If so, they worked? I'm afraid this could be a bug, does anybody know how can I report it to Oracle?
    Thanks in advance

    Hi
    I haven't been able to try them and I am surprised to hear that they do not work.
    Assuming that the commands are unaltererd and I would be surprised if the syntax is changed, to report this as a bug you need to raise a service request using MyOracleSupport (formerly MetaLink).
    You basically raise it in the same way you are doing it it in here and ask Oracle if the commands you are provdiing are still valid and then ask them to report it to development if they find out that it is a bug and they can reproduce it. The trick here is getting support to reproduce your issue.
    If you hear anything further please let us know.
    Best wishes
    Michael

  • Error while running a Discoverer Workbook with parameter from command line

    I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
    dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
    Parameter value is entered in correct format(Jan-07).
    When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Did anybody come across this issue before?

    Hello,
    If you have a few minutes, Windows is also aborting for me:
    the differences are, my situation is:
    a) am running the command line from a .bat file
    b) am NOT running with parms, want the discoverer query to come up for the user
    c) am running a query from the database
    i am signing in as myself BUT running a query that was created by a generic user called SREG
    c) if i run the .bat file from Windows Explorer, the query opens fine
    d) if i execute the .bat file from within Microsoft Access using the shell command,
    the query opens and then aborts RIGHT BEFORE the parm screen would display
    e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
    from vb using SHELL command works
    Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
    this is what i posted yesterday, tx: Re: Running Discoverer command line
    tx, sandra

  • Error while running the Discoverer report from the command line.

    Hi All,
    I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
    I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
    dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
    I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
    Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Please anyone reply me.
    Regards & Thanks,
    P. Gayathri Devi

    Hi Gayathri,
    Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
    Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
    Thanks.

  • How to run a 10g report from command line ?

    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 address an report server and run a report?
    Thank you,
    Dmitri

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • Refresh EUL in Oracle Discoverer Administrator using command line

    Hi there! I wonder if there is a way of refreshing the EUL business folders of Discoverer Administrator using a command line, so that it could be done through a batch file process.
    Many thanks in advance

    What do you mean by refreshing the EUL business folders? The definitions of the EUL are updated whenever a workbook/worksheet/business area/hierarchy/ any other object inside the EUL is changed/added/deleted. Also, the contents of your EUL are updated whenever summaries are refreshed (either manually or on a schedule), or when scheduled workbooks run and their contents stored inside the EUL.
    Thanks
    Abhinav Agarwal
    Oracle Business Intelligence Product Management

  • Command line for DISCOVERER 3.1.37

    I try to found the instructions about the command line for DISCOVERER 3.1.37 (how to activate with the username/password with the address of a workgroup on a file server)
    Where can i find informations about Command line mode and examples ?

    Hi,
    I think you need to upgrade Disco to 4.1.48, I don't think 4.1.37 works properly with Applcations 11.5.8.
    Rod West

Maybe you are looking for

  • Authorization error while attaching document in ME22N

    Hi, Scenario 1: I attach a document in ME22N and then save it. Result: I get an authorization error. Error is: "You have no authorization for extensions (activity03)" Scenario 2: I just make a change (say in price) without attaching any document and

  • Photoshop CS6 error : Could not complete the video flames  to layers command because Dynamiclink is not available

    i can´t import videos and mp3  photoshop cs6 error : Could not complete the video flames  to layers command because Dynamiclink is not available .... what it means? who can i fix it?

  • Ssi issues with nested table

    Hi ssi newbie question here. I wanted to include an ssi section in a embeded table layout, have used the ssi include code and inserted it where i want the ssi to work etc . So the it works which is nice but when you look at the physical page in dream

  • [How-to] Create multiple Artboards in existing document?

    Herro, I'm wondering how to create multiple artboards at once in an existing document. I can manually re-arrange them later, that's fine. But I often find myself needing to create 20+ artboards for some of my complex projects. Currently, adding those

  • Error Message: System UIDs Inconsistent

    I got this message after I turned on the phone: "UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable." Can someone put this in plain English for me and tell me what exactly it is telling me and ho