Command line export, using citrix

Running the following script to export a workbook to csv file.
dis51usr.exe /connect xxx/xxx@SID /apps_user /apps_responsibility "XXX GL Inquiry" /opendb "GL_Headers" /sheet 1 /export csv "C:\Discoverer_ScheduledWorkbooks\gl_headers.csv" /batch /logfile NUL
The command works fine when directly logged on to the citrix box as user xxx. When run as a scheduled task, in the background, the settings for max number of rows is being ignored and only 10,000 rows are being retrieved/exported. The scheduled task is set to run as user xxx and is running, just the export is stopping at 10,000 rows. The user xxx is set in the Query Governor to not have a row limit (the box is not checked)
I suspect this has to do with the user not being directly logged on and the incorrect registry settings/preferences being used.
Any ideas? suggestions?

Hi
In order to get Discoverer Desktop to work on Citrix someone, presumably your administrator, has to do the initial install. That initial installed would have been done on a Microsoft Server of some sort. This is where the default registry settings are.
From this point on, whenever a user clicks on the Discoverer icon they don't run their own version of Discoverer but a copy of the Discoverer from the Citrix server. As a launch point the registry settings from the server are used as the launch point but overwritten with the user's personalized settings if and only if you are using named accounts, not anonymous accounts, and the user is a local administrator. However, it is very unlikely that many end users, if any, will have been given permission to be a local administrator and so they have to reply on the administrator having set the correct registry settings on the server.
Your administrator needs to physically go to the server and log on. Then, as I mentioned in a previous posting, they need to place the server into change mode. This is done at the DOS level. With the server in change mode whatever registry settings that need to be applied should be applied. This can be done using a REG file as mentioned in a previous posting. Next, the administrator needs to make the server execute those changes so that they become permanent and for everyone not just for the server. It is vitally important that the server is in change mode for the briefest amount of time and that only changes which are needed for everyone should be applied.
With all of this done you should see the settings working for a user. Your Citrix administrator should know all about the above steps because he / she will have had to make similar changes and set ups for other applications. Beyond helping with the Discoverer settings, because this is an Oracle forum I can't post answers that are purely Citrix in nature. If you need help with the inner workings of Citrix you'll have to take that up in a Citrix forum.
As an FYI, getting Discoverer to work in a Citrix Metaframe environment can be tricky and needs planning and thought and some expertise at the admin level. In addition, as you may well be aware, running Discoverer in a Citrix environment is unsupported by Oracle and as such there is limited help available. You also need to purchase as many Desktop licenses as the number of users who will be using Discoverer. Many companies fall foul of this and end up under licensed but those that do it right and get the administration set ups correct are able to run Discoverer effortlessly.
Best wishes
Michael

Similar Messages

  • Command Line Export/Import Utility

    Hi,
    Is there a way to perform a command line export/import as if you were doing this via the Oracle ApEx GUI?
    If so, what is involved?
    Thanks.
    Tony.

    To import using SQL*Plus you are limited to installing an application as the original application ID and into the original workspace (both being the IDs contained in the file itself in various places). You can connect as any schema assigned to the workspace so long as that schema is not also assigned to other workspaces. If it is, you can connect as SYS, SYSTEM, or the FLOWS_xxxxxx schema, options that should be reserved as a last resort because of the undesirability of connecting as these privileged accounts.
    Scott

  • To run a report from command line, when using jdbc-odbc bridge

    Hi,
    How to run a report from command line, when using jdbc-odbc bridge?
    Usually with tns, we do by "rwrun module=<> userid=<user>/<passwd>@tns".
    with odbc, we do by "rwrun module=<> userid=<user>/<passwd>@odbc:DSN"
    Please specify, what is command line arguments for jdbc-odbc bridge driver?
    Environment : Oracle 9i Report Builder on WinNT
    Database : Sybase
    Regards,
    Ramanan

    Hello Ramanan,
    Report Builder : connect JDBC Query in Report Builder is to through Connection Dialog in JDBC Query Editor. User can use a Sign on parameter (can use, default : P_JDBCPDS or can create new) to connect to JDBC Data Source. Connection once made will be mentioned and will be reused through out Reports Builder.
    JDBC PDS allows user to connect one or more same or different kind of databases.
    While running report through runtime or Server, user can pass the sign on parameter(connection string) value, like any other user parameter.
    Syntax for connection string : <username>/<password>@databaseURL . The syntax of database part of connection string depend on the type of JDBC Driver used to connect to Data Source while designing the JDBC Query. databaseURL refer to the location of the database and its format depend on the JDBCPDS river selected in design time while creating the JDBC Query.
    rwrun eg :
    rwrun report=jdbc_odbc.rdf destype=file desname=output.html desformat=html P_JDBCPDS=scott/tiger@database
    Server eg :
    http://server.com:8888/servlet/RWServlet?server=MyReportServer+report=jdbc_odbc.rdf+destype=cache+desformat=html+P_JDBCPDS=scott/tiger@database
    http :
    Please see ORACLE_HOME/reports/conf/jdbcpds.conf for more information.
    With Regards
    Reports Team

  • Custom splash screen only shows up when command line is used...

    Hi,
    Everything in my Java web start application works perfectly but, the custom splash screen only shows up when command line is used ("C:\Program Files (x86)\Java\jre7\bin>javaws -verbose http://www.xxx.eu/AcSentVivresCrus/AcSentJnlp/AcSent.jnlp"), if I use the shortcut on the desktop or in the start menu, the Java 7 splash screen shows up (tested under Windows Vista and Seven). Does someone have any clues?
    Thanks...
    My jnlp file :
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="6.0+" href="AcSent.jnlp">
      <information>
        <title>AcSent : Commande de repas</title>
        <description>AcSent - Commande de repas</description>
        <vendor>AcSent</vendor>
        <homepage href="http://www.xxx.eu" />
        <icon href="acSentIconBiseau.png" />
        <icon href="splashAcSentRC.png" kind="splash" />
        <shortcut online="true">
          <desktop />
          <menu submenu="AcSent" />
        </shortcut>
      </information>
      <security>
        <all-permissions />
      </security>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" max-heap-size="128m" />
        <jar href="AcSentJnlpProgressIndicator.jar" download="progress" />
        <jar href="AcSentJnlp.jar" main="true" version="1.0" />
        <property name="jnlp.packEnabled" value="true" />
        <property name="jnlp.versionEnabled" value="true" />
      </resources>
      <application-desc name="AcSent" main-class="eu.acsent.jnlp.AcSentApplication"
           progress-class="eu.acsent.jnlp.progressindicator.CustomProgress"> 
      </application-desc>
    </jnlp>

    Hi again,
    I made some researches :
    - The link in the generated shorcuts ("C:\Windows\SysWOW64\javaws.exe -localfile -J-Djnlp.application.href=http://www.xxx.eu/AcSentVivresCrus/AcSentJnlp/AcSent.jnlp "C:\Users\Arnaud\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\46\69c1e9ee-1f252d1a") is not the same as the one I use in the command line ("C:\Program Files (x86)\Java\jre7\bin>javaws -verbose http://www.xxx.eu/AcSentVivresCrus/AcSentJnlp/AcSent.jnlp"). Is there a way in the the JNLP file to tell how to generate shortcuts (not the icon, etc., but command line options)?
    - This sample (https://blogs.oracle.com/thejavatutorials/entry/changing_the_java_web_start) displays the splash screen when I click on the the generated shortcuts (I use Windows 7). I have copied the ButtonDemo jar file and the JNLP file on my IIS web server (Windows 2008 Server), this time the splash screen does not show up when I click the generated shortcuts but always shows up when I use the command line. Can someone tell me if it is a trouble with IIS ?
    Thanks again...

  • How are Windows Server Backup and Command Line Tools used in vCSHB installation?

    How are Windows Server Backup and Command Line Tools used during the installation of vCSHB?  Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment?  Are these tools not used in some deployments?

    You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
    Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

  • How do shutdown the weblogic server from the command line prompt using web logic 8.1

    I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
    java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
    How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
    Any help will be greatly appreciated.
    Maria

    Maria <[email protected]> wrote:
    How do I shutdown the weblogic server from the
    command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
    http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
    Hope this helps...
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • Command Line Export/Import for ApEx

    Hi There,
    I was wondering if there is an ApEx Utility that allows the Export and Import of applications/pages/images/style sheets etc from the command line on a Linux box.
    I am using Oracle Application Express v3.0.1
    Thanks.
    Tony.

    Tony,
    Another post in the past has discussed about this already.
    Exporting/Importing a *Bunch* of Applications
    John Scott wrote a blog post about this as well at [http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/|http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/]
    In short, you can use APEX utility - APEXExport to export and standard SQL to import.
    Ittichai
    Edited by: ittichai on Mar 16, 2009 9:38 PM

  • Develop a command-line application using LabVIEW

    Hi,
             Is it possible to generate a command line(CLI) executable using LabVIEW? This CLI exe will be called with certain command line arguments by another application (written in Visual Basic). The LabVIEW Run time engine can be installed separately on the host PC.
    Thanks for your help
    Siddharth 
    Solved!
    Go to Solution.

    There is an example that ships with LabVIEW that shows how to read the command line arguements from an application. THe name of the VI is CommandLine.vi. It is extremely basic though. The power of command line arguements really comes from how you define and parse them. I recommend allowing your command line arguements to be order independent and that they require a label. For comand lines I prefer to use a single letter for the label. Full words are nice but then your command line gets very long. For the applications that we write we allow both the '/' (DOS/Windows style) and the '-' (Unix/Linux style) to designate a command line label.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • 30EA4 - Command Line Exporting Fails (ututil -exp)

    I'm using SQL Developer Version 3.0.03 Build MAIN-03.97 and i'm attempting to export unit tests from SQL Developer to my local file system (windows XP Professional 2002 service pack 3).
    I've written a .bat file to accomplish this (scary i know, much prefer linux :) and for some reason, a couple of test suites are failing with the following error message:
    SEVERE oracle.jdeveloper.db.ConnectionException: Could not connect to database ERS_CON@DEV02. The error encountered was: Invalid connection information specified.
    Verify the URL format for the specified driver.
            oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:514)
    SEVERE oracle.jdeveloper.db.ConnectionException: Could not connect to database ERS_CON@DEV02. The error encountered was: Invalid connection information specified.
    Verify the URL format for the specified driver.
            oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:514)
    SEVERE oracle.jdeveloper.db.ConnectionException: Could not connect to database ERS_CON@DEV02. The error encountered was: Invalid connection information specified.
    Verify the URL format for the specified driver.
            oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:514)Now, i know the connection name is fine since i've scripted this and there are many other suites that are not failing.
    In case this helps troubleshoot / reproduce the error any, here's the bat file i came up with. Please withhold the snickers ... on the few occasions i need to script, it's usually in a *NIX setting :) The basic idea is to start with a SubVersion folder and then use that as the driving source for test suites to export (i want the latest version from SQL Developer assuming the SubVersion code is not the latest version).
    rem need to set values for the repository owner we are going to export the unit test suites from
    set repo_owner=ERS_CON@DEV02
    rem need to set the LOCAL directory where the unit tests are located
    set ut_dir=C:\WORK\SubVersion\concito_DEML\Unit_Test\Test_Suites\
    rem need to set the working directory (or have this in your local PATH) .. the install location will obviously change based on the LOCAL computer
    cd C:\SQL_Developer\sqldeveloper-3.0.03.97\sqldeveloper-3.0.03.97\sqldeveloper\sqldeveloper\bin
    rem assuming everything gets set properly above we begin the mass exporting of unit tests
    for /f %%a IN ('dir %ut_dir% /b *.xml') do ututil -exp -suite -name %%~na -repo %repo_owner% -file %ut_dir%%%aAll of the file names currently have the naming convention of SUITE_NAME.xml (they were originally exported from SQL Developer and the default naming standard wasn't augmented).
    Another oddity is that when i check the exported files (using a subversion DIFF) it looks as though the export actually happened (changes were exported and overwrote the existing file as i was hoping for). So based on that, this isn't extremely critical, just annoying if you have this scripted and expect a clean run.

    I'm getting the same problem - perhaps it's the 64-bit issue? I'll try with SQL Developer 32-bit.

  • Command line rendering using aerender

    I am facing a problem rendering about 200 after effect files using aerender, because i need to specify the comp name for each file.
    Is there anyway where i can render my files and link them to only one comp, since all the files need to be rendered with the same setting.

    All you need to know here:
    Automated rendering using AE render
    Especially note the RStemplate and OMtemplate flags. Construct the string once, then simply create a batch file containing those 200 calls using copy&paste inside the *.bat file. Should be easy enough...
    Mylenium

  • Is there any command line option, so that when I open firefox from command line it uses the already opened firefox, instead of creating a new firefox window.

    for example: this option is available with jedit editor.
    jedit
    above cmd always opens a new jedit instance.
    jedit -reuseview
    above cmd checks if there is a existing jedit instance if yes brings it to focus else opens up a new one.

    Start your '''Computer''' in safe mode with networking. Then start Firefox.
    After a bit, close it. Then open it a few minutes later.
    '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Starting The Computer In Safe Mode;<br>Free Online Encyclopedia]'''

  • APEX Export using command line utility....

    Hi All,
    Just a question about the command line export utility for HTMLDB. It works great for exporting the application itself, is there any way to get it to export the application's CSS as well as any files such as javascript files etc...?
    Cheers, Henry

    There is no easy way to do this in Apex 2.0.
    The upcoming 2.2 release (due out in the next couple of months) has a full fledged deployment system (including table create DDL, files, images and seed data), all in a single SQL file. See http://apex.oracle.com/i22/doc/deployment_how.htm#CHDEAGDI

  • Compressing a large PDF document using command line or Java code without GUI operations

    hi,
    I have a programatically generated very large PDF file with lots of tables and cells in it. The size of the file is few MBs. Using Adobe pro, I am able to reduce the size of the PDF in KBs. I want to achive it either through a command line or using Java API without GUI interaction.
    I am using JDK1.6.
    Thanks.

    I think you need the scripting or SDK forums http://forums.adobe.com/community/acrobat
    As far as I know, Acrobat does not have command line operation

  • Problem Using Sax parser with Eclipse 3.0 and command line

    Hi,
    I am parsing a xml file with sax. When I am running my programm in the command line everthing is ok and I get the right results from parsing.
    But if I am running the programm in Eclipse 3.0 (the same java code) I get an other result (the wrong results).
    Does anybody know what this can be the reason for. Is Eclipse using an other xml parser and if where I can change the parser?
    It would be very kind if somebody can give me a reason for this strange behaviour.
    Thanks in advance

    I have solved my problem.
    In the command line I used jre 1.4 and in Eclipse I used jre 1.5.
    I think jre 1.5 uses an other xml parser so I got an other result.
    If i use in Eclipse jre1.4 I get the same result as in the command line.

  • Regkey Import via task sequence using command line. Running directly from DP.

    I have a package that is going to run straight from the dp called JAVAHOME. Inside this package there is a regkey called JAVAHOME.REG
    If I want to run it as part of a task sequence using a command line.
    The run a command line step has use package called JAVAHOME checked.
    Now to import it, in run a command line I use
    cmd.exe /c reg.exe import javahome.reg
    or
    cmd.exe /c reg.exe import .\javahome.reg
    I always get it wrong when running things directly from the DP.

    To be sure about the behavior, I would use a batch file and use the %~dp0 variable. So, the command line in the batch file would be something like
    reg.exe import %~dp0javahome.reg
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

Maybe you are looking for