Discoverer command line +Deploying eex und Dis Files?

Hi,
i have one eex file and one dis file. Now i want to deploy the two files from an development server to an integration server.
Is there any command line interface to deploy the two files?
thanks a lot
Wolle

Hi,
I've been exporting and uploading Disco objects including workbooks via disco admin command line / .eex files (not .dis) at least since 4i (if not 3i, but can't remember that far back now!), windows cmd file e.g. for Disco 10g
Download:
set PATCH=XXXX_YYYY
set DISCO=C:\oracle\BIToolsHome_1\BIN\dis51adm.exe
set USER=EULOWNER
set RESP=XXXX Resp
set DB=DEV
set PASS=password
%DISCO% /CONNECT "%USER%:%RESP%/%PASS%@%DB%" /APPS_USER /EUL EUL_US /IDENTIFIER /EXPORT XXXX_YYYY.eex XXXX_YYYY_BA /WORKBOOK XXXX_YYYY_WB /WORKBOOK XXXX_YYYY_2_WB /FUNCTION XXXX_YYYY_FN /LOG %PATCH%_DL.log /SHOW_PROGRESS
Upload (I don't hardcode db/password, use a bit more trickery, but you get the idea):
set EEXFILE=XXXX_YYYY
set PATCH=XXXX_YYYY
set DISCO=C:\oracle\BIToolsHome_1\BIN\dis51adm.exe
set USER=EULOWNER
set RESP=XXXX Resp
set EEXNAME=XXXX My BA
set db=TEST
set pw=password
REM Sometimes better to delete BA first, but you need to be sure noone is changing the BA in target env
REM %DISCO% /CONNECT "%USER%:%RESP%/%pw%@%db%" /APPS_USER /EUL EUL_US /DELETE_BUS_AREA "%EEXNAME%" /LOG %PATCH%_UL.log /SHOW_PROGRESS
%DISCO% /CONNECT "%USER%:%RESP%/%pw%@%db%" /APPS_USER /EUL EUL_US /IMPORT %EEXFILE%.eex /REFRESH /LOG %PATCH%_UL.log /SHOW_PROGRESS /IDENTIFIER
Regards,
Gareth
http://garethroberts.blogspot.com

Similar Messages

  • How to pass a command line argument to a jsp file...

    Hi guys,
    I'm writing a jsp file in which I have some java codes. I want to pass some command line arguments to that jsp file. In other words, I have some files located somewhere on my C drive and I want to pass the path to these files to my jsp file. How can it be done? I have never done before.
    Any suggestion will be very hepful...
    Thanks....

    I dont know if I truly understand your problem...
    For instance, when you place the url of your jsp you can add, at the end some parameters. For example:
    http://myserver/myapp/myjsp.jsp?MyParameter=C:\Temp\JavaTutorial.html
    In your JSP, you can place this code on a scriplet to get the value:
    String path = request.getParameter("MyParameter");
    Hope it helps.

  • Creating a command line program reading AEP/AEPX files?

    I'm new with After Effects SDK, and I wanted to know if it's possible to use SDK to implement a command line program that gets information such as duration and frame rate in AEP/AEPX files.
    aerender, a command line render program provided by After Effects, prints out these information before rendering. But it doesn't seem to be able to print out the information without doing rendering.
    I saw a related thread here: http://forums.adobe.com/thread/844341
    But what I want is simpler. I don't need to alter the AEP/AEPX files. I just want to obtain the information quickly from an AEP/AEPX file. Is it possible to write such a tool using SDK?
    Thanks!

    hi eliang.cs!
    yes, i'm the same guy who answered on the other thread.
    everything the API does, it does through AE as a plug-in.
    so if you have AE running (even just the renderer), your project loaded and your plug-in present, you can access all the data you described with no problem, and export it out in whatever way you want. (a plug-in is actually a DLL, so you can do anything you want, even on an OS level)
    you can access the data on all elements of the project including comps, layers, footage, render queue, ect...
    having said that, you can do all of this using a script instead of a plug-in.
    scripts are much easier to build.
    perhaps there's even a script out there that does what you're looking for, or something very close that could easily be adjusted.

  • PS3 droplet called from command line in XP reads in files but does not execute action

    Hello.
    I am a researcher interested in anxiety disorders in young children. As part of a functional magnetic resonace brain imaging study we need to compare children's responses to familiar and unfamiliar faces. The latter are no problem, but for the former we need to take pictures of the children's mothers and process them "on the fly" so that they can be incorporated into stimulus sets presented in the MRI machine (otherwise known as the "magnet").
    For presentation in the magnet, the images have to be in a particular format. I have created an action that produces the appropriate format, and a PS3 droplet that behaves appropriately (outputs correctly modified files to the stated address) when a Windows XP (SP3) folder is dropped on it.
    However, I need to automate the procedure further because it will be executed by individuals with little or no understanding of PS etc.
    It occurred to me that I could call my droplet from the XP command line with the folder containing the relevant files as an argument (and then I would be able to incorporate this function into an overall control program).
    However, I have found that this approach loads the relevant files into CS3, but that the actions don't run.
    I would very much appreciate any help with this problem.
    Thank you.
    Adrian Angold.

    A command line script might work, but would lack a user interface. Error
    processing and logging capabilities would also be limited.
    I would consider writing a small application in a language such as Visual
    Basic or C# that uses Photoshop's automation interface. The automation SDK
    is provided on the Photoshop DvD.

  • How to pass command line parameters in calling ant file

    Hi All, I m using a Build file which calls another build file.
    That build file is run from the command prompt by give ant -lib <path of jars it needs for executing>.
    Now i m calling this file from main build file but it does not work as i m not able to set <b>-lib </b>.
    Pls can anybody let me know how to set such command line parameters to call the build file in ant script.
    Thanks in Advance.
    Ketan.B.Parekh

    Create the control file dynamically (and fill one of the columns with the file name as a constant) before you start SQL*Loader
    Another option is to use external tables
    Re: Data Loading
    Message was edited by:
    Jens Petersen

  • Command line deployment of an ear

    Hello,
    I need to be able to deploy an ear via the command line so that i can script the deployment into an installer.
    The only method i can find is via the management web site.
    Can someone tell me how to do it, or point me to some docs that will tell me,
    Thanks a lot,
    Paul Robinson.

    If you are using standalone OC4J please look at Standalone User Guide http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf . If you are using Oracle9iAS install then please look at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/core.902/a92171/dcm.htm#620714
    regards
    Debu

  • Code coverage using command line always produces a binary file nearly full of zeros, not workable by Visual

    I'm using Professional Edition 2013. I try to generate a coverage report for a C project, using the command line interface.
    In Visual, configuration of the Linker : Configuration Properties -> Linker -> Advanced -> Profile.
    Then:
    vsinstr.exe my.exe /COVERAGE
    I've got messages from Visual that the instrumentation went well.
    VSPerfCmd.exe /START:COVERAGE /OUTPUT:my.coverage
    my.exe
    VSPerfCmd.exe /SHUTDOWN
    The my.coverage file is created. But it's a binary file, more or less full of zeros. Dropping it into Visual just opens it as a binary file. Full stop.
    I've tried the same commands on very different .exe files and it seems like the my.coverage file has always the same content.
    What am I doing wrong ?
    Thx

    Hi Fred35,
    If you test it with other language project, how about the result? For example, a console app or winform app.
    Reference:
    http://www.codeproject.com/Articles/590346/CodeplusCoverageplusforplusRegressionplusTestsplus
    Based on your description, I think the steps have no issue like this blog here:
    http://blogs.msdn.com/b/cellfish/archive/2008/11/16/native-c-code-coverage-reports-using-visual-studio-2008-team-system.aspx
    So I'm afraid that we would think about others. Maybe it is the dependent dll file issue.
    http://stackoverflow.com/questions/17867591/code-coverage-in-visual-studio-2010-for-native-c-exe-dll
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Running Discoverer command line

    Hi Everyone,
    Hope all is well,
    1) I have a situation, where a .bat file is successfully opening the Discoverer query
    BUT
    Windows aborts Discoverer before the parameter screen gets a chance to display.
    .bat file:
    C:\oracle\BIToolsHome_1\bin\dis51usr.exe
    /connect testUser/testPswd@odsp8
    /opendb SREG.Advisor_CAD_M3
    /sheet all
    2) We keep our reports under another user id called SREG.
    In the above .bat file:
    file uses SREG as prefix for the the query name
    so that i am signing in as myselfas testUser
    BUT executing a query from another signin (SREG)
    Now:
    a) if i run the .bat file directly from Windows explorer, the query opens at the parm. screen successfully
    BUT
    b) if i run the .bat file from Visual Basic using the shell command,
    then Windows aborts with a msg that pgm had to close
    at the point right before the parm. screen would open.
    c) the shell command will run the .bat file:
    if i first save the query to database under my signin
    then go to .bat file to remove the prefix SREG
    d) please note we use Sungard Banner, and are reporting off of ODS, and we upgraded to ODS 8
    your ideas and advice would be appreciated, would be glad to email you the small Access mdb and bat file
    tx, sandra
    Edited by: [email protected] on Jan 12, 2010 2:31 PM
    Edited by: [email protected] on Jan 12, 2010 2:34 PM
    Edited by: [email protected] on Jan 12, 2010 2:35 PM
    Edited by: [email protected] on Jan 12, 2010 2:35 PM
    Edited by: [email protected] on Jan 12, 2010 2:36 PM
    Edited by: [email protected] on Jan 12, 2010 2:39 PM

    Hi Rod,
    I got help from an Access forum, to execute this code from within Access bec. i wanted to evoke shell
    from a command button on an Access form.
    I do not have experience with vb script, so maybe i will research that...
    I found this link: http://www.pcreview.co.uk/forums/thread-3837274.php
    and tried 2 of their suggestions:
    from run: sfc /scannow
    from run: eventvwr.msc
    below is error info for discov. abort:
    Event Type:     Error
    Event Source:     Application Error
    Event Category:     None
    Event ID:     1000
    Date:          1/14/2010
    Time:          11:54:48 AM
    User:          N/A
    Computer:     <=== i erased computer name
    Description:
    Faulting application dis51usr.exe, version 10.1.2.48, faulting module dis51usr.exe, version 10.1.2.48, fault address 0x000c3eaf.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 70 70 6c 69 63 61 74 Applicat
    0008: 69 6f 6e 20 46 61 69 6c ion Fail
    0010: 75 72 65 20 20 64 69 73 ure dis
    0018: 35 31 75 73 72 2e 65 78 51usr.ex
    0020: 65 20 31 30 2e 31 2e 32 e 10.1.2
    0028: 2e 34 38 20 69 6e 20 64 .48 in d
    0030: 69 73 35 31 75 73 72 2e is51usr.
    0038: 65 78 65 20 31 30 2e 31 exe 10.1
    0040: 2e 32 2e 34 38 20 61 74 .2.48 at
    0048: 20 6f 66 66 73 65 74 20 offset
    0050: 30 30 30 63 33 65 61 66 000c3eaf
    0058: 0d 0a ..
    Is the above info helpful? tx, s

  • How to refer the SQL*Loader command line parameters in the control file

    The problem I am trying to resolve is to insert the input file name when SQL*Loader is loading the record from the file. I have multiple files to load and it is nice to associate a record with a particular input file.

    Create the control file dynamically (and fill one of the columns with the file name as a constant) before you start SQL*Loader
    Another option is to use external tables
    Re: Data Loading
    Message was edited by:
    Jens Petersen

  • 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

  • Assessing Command 'Analyze Source Files' via Command Line when running TestSTand Deployment Utility

    Our Software Configuration Manager is running the TestStand Command Line Deployment Build Tool (Ref: https://decibel.ni.com/content/docs/DOC-38947).
            When he builds the application,  the code will not be at the same location it was in development. 
    If you are Manually running the TestStand Deployment Utility, This is not a problem because everything is relative in the workspace.   Simply go to the Distributed Files Tab (of TestSTand Deployment Utility) and hit the, "Analyze Source Files" button.  This finds the required files and apparently creates an updated hard path to be used during the build (probably in the *.tsd).
    PROBLEM:  We auto-run the Command Line Deployment Build Tool (Command Line), and we do not have access to the, 'Analyze Source Files' command.
                As a result, our build consist of many warnings and the output is missing many files (the location of the files have not been updated).
    If we could access the 'Analyze Source Files' Command via command line, that would fix the issue. 
    FYI:  We use an automatic builder called Quick Build as our builder.
    Attachments:
    TestSTand Deployment Utility-Distributed Files Tab.PNG ‏76 KB

    Unfortunately it looks like Analyze Source Files does not have a command equivalent for the command line based on this article and attached PDF:
    https://decibel.ni.com/content/docs/DOC-38947
    That may be a good post for the TestStand Idea Exchange for consideration in future versions of TestStand.
    Michael K.

  • 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

  • Command line command for combine jpeg files into a pdf file

    I want to learn if we have any command line sentence to combine jpg files.
    normally from the windows explorer window
    i can select all jpg files and when i click on right button on the window they shows Combine supported files in acrobat and then i check if single file is selected and i clicked on combine files button.
    and then i put name of the file and press the save button.
    But i want to process this steps via command line commands.
    Can you show any answer to me.

    You don't say what version of Acrobat you are using, but I expect you could do it with Acrobat XI's Actions feature. Maybe even in 10.0. Since this is an enterprise deployment forum, I suggest you find a better forum and ask about Actions and Batch Processing.
    hth,
    Ben

  • Robohelp HTML command-line utility overwrites merged files in .hhp file with absolute paths. Any way to prevent this?

    I have a Robohelp 11 HTML project which uses merged CHM files. I have a help build script which compiles this project using the RH command-line utility. Whenever this runs, RH overwrites the names of the merged CHM files in the .hhp file to use absolute paths (even if the .hhp file is read-only!). I've searched Adobe forums and this appears to be a RH bug. In my case, it doesn't stop the project performing the merge, but it looks like it causes problems when searching the resultant parent CHM (topics matching the search simply don't show up in child projects), as the search cannot necessarily find the merged files referenced in the .hhp when someone performs the search on a different machine. I notice that if I compile via the RH UI, the .hhp entries are not overwritten. So, a workaround is to do the build manually. However, we'd like to automate our help build. Is there any way to prevent the command-line compiler overwriting the merge file entries in the .hhp?

    This was a problem with Rh9, see Item 13 at Using RoboHelp 9
    I haven't seen it reported since but maybe something at that link will help.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • File format for username/password file for -vcusersfile command line option

    In what format do I specify username and password in a file that I can use for
    the -vcusersfile command line option?

    The text file should contain name/password pairs separated by an equal sign. Example:
    myname1=password1
    myname2=password2
    Hope that helps,
    Susan Doan

Maybe you are looking for