Disco 4i Command Line
All:
Trying to locate ALL of the export options for the command line, docs don't show it all.
E.G. to export to a .txt format you specify TEXT, .xls is XLS.
So what are the others, in particular I'm interested in exporting to .prn which I
can do from within the interactive app, however when I try to export type prn or print
I get the invalid command line option.
Thanks
Please take a look at Re: Scheduling reports to run and export into a particular folder
Similar Messages
-
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
WolleHi,
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 -
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 -
Business area creation in command line
Dear Pals,
My discoverer version is
Discoverer Version:Server 10.1.2.55.26 with EBS r12.0.4.
I created EUL using eulapi and given SYSADMIN full access on the same. I've also imported Discoverer loader files. Now it is possible to create a Business area in command line. Now , I dont have Disco admin edition , so I couldn't able to create a business area using that. I have to do it in Command line. The requirement that 2 business areas has to be cretaed for Module HRMS.
Is it possible to create a Business area in command line ?
Please guide
KaiHi,
Is it not possible to create business areas in discoverer viewer and discoverer plus ?. No, it is not possible.
You could using the eulapi load command to load all HR database objects into an HR business area. However, this would not create any joins between objects so would not be very useful for creating reports using Discoverer viewer and plus.
If you need to develop a custom EUL then you need to use Discoverer Administrator.
Rod West -
Vague error message with Administrator command line
OS: Windows XP
Discoverer Administrator 10.1.2.1
Disco Admin client 10.1.2.48.18
Oracle Database 10.2.0.4.0 64bit
I am trying to export a report from our EUL that is encountering the error "Join "" not found in the EUL. Attempt to open workbook failed". However, when I try to run this through the command line, I get a completely vague and unhelpful error message:
dis51adm.exe /connect euluser/pass@database /export "C:\report_export.xml" /workbook "ReportName" /xmlworkbook
I get the error message "Command failed."
If I run the above command and output a log file, it looks like this:
3/25/2011 12:08:13 PM
dis51adm.exe /connect /export C:\report_export.xml /workbook ReportName /xmlworkbook /log C:\dis_log.txt
Exporting the following Business Areas:
Exporting the following Folders:
Exporting the following Items:
Exporting the following Hierarchies:
Exporting the following Functions:
Exporting the following Summaries:
Exporting the following Workbooks:
ReportName
3/25/2011 12:08:15 PM
Exported the following Data:
Exported the following Business Areas:
Exported the following Folders:
Exported the following Item classes:
Exported the following Item Hierarchies:
Exported the following Date Hierarchies:
Exported the following Functions:
Exported the following Summaries:
Exported the following Workbooks:
ReportName
Exported the following Automated Summary Management Policies:
Command failed.
I know that I've been able to do this in the past (very long ago, and I don't remember exactly how I accomplished it...). What am I doing wrong?
Thanks!Hi,
I am not sure about the error but try the export again using the EUL owner.
If the join wasn't found that it will find it using the EUL owner.
Tamir -
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 -
Exporting Discoverer to Excel file - using command line ....
Hi Everyone,
The discoverer report has the parameter in the title.
When I click on the Xcel button in Disco., the title with parm gets included in spreadsheet
-but-
I really want to run the command line to send Disco. output to Excel.
The title line is not there!!!! (but column headings with data are there)
I really need the parm value to be included in the Excel header. Any ideas, pls? tx, Sandra
command line:
C:\oracle\BIToolsHome_1\bin\dis51usr.exe /connect testuser/tstuser123@odstest /opendb "testuser.ToWeb_Elective_Tally.DIS" /sheet ALL /parameter parm_AcademicPeriod "200910, 200920" /export XLS "C:\ARG_99_Scripts\ARG_99_DailyElectives_script\ToWeb_Elective_Tally.xls" /batchHi,
You could try using /export HTML but keep the file type as .xls. Then you will open the HTML file in excel and most of the formatting and title will be preserved.
However, you will not be able to use /sheet ALL with the /export HTML option.
Rod West -
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,
OlivierHi,
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 -
Open and Close a command line exec via OpenG.lib in seperate VIs
Hi,
I'm aiming to perform tests on my UUT - over a command line based executable which established a USB connection, so - sendings commands and checking the return string.
So far i'm reusing the pipeNight.vi which is shared in the following post.
http://forums.ni.com/t5/LabVIEW/How-to-pass-input-to-a-DOS-executable-that-is-running-in/m-p/1763182...
However i wish expand from LabVIEW and utilise NI-TestStand sequence files to ramp up the test coverage and perform the tests automatically.
The issue i've encountered - every time i call the pipeNight.vi from a TestStand sequence Step, the USB connection is build up and torn down.
Although i'm not encountering any performance issues to date, i would ultimately like to open a session (i.e.establish the usb connection) - at the beginning of a sequence file, send a bunch or commands and check return strings, before closing the session at the end of the sequence file. This is surely a more effecient and elegant solution.
Is it somehow possible to split the pipeNight.vi into several VIs to realise this objective?
- Open
- Write/Read
- Close
i'd appreciate and help or alternatice solutions on this!
B.Regards
Kech
Solved!
Go to Solution.I had tried to explain in my initial post, that if i call the pipeNight.vi from a TestStand sequence file step, then establishes a USB connection and tears it done - for every command that i send/ respectively every sequence step that i run in TestStand. As i envisage multiple (several hundred) test steps, i woul like to improve effeciency by establishing the ESB connection once instead of multiple times.
-
How to send report output to two detinations at a time from command line?
Hi ,
how to send my report to two detinations at a time from command line i.e FILE and Mail ?
i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
i want to send my report out put two destinations at a time insted of running two times.
thx in advance.....
raghuhello,
did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
regards,
the oracle reports team -
Could not view data in the Em while in the command line query works
Hi, all,
I have met with this problem for several times.
I have an Oracle 10.0.2.0 running on Redhat linux E3.
After I insert or just input some data in a table. I could see the new data in the command line.
SQL> select * from tablename;
But I could not see the new data in the EM. If I export the table to, say, MS Access, the new data doesn't show. The data is there, but I have to wait for some time. (several mins to hours)
Do you have any idea of it??
Thank you very much!
QianThank you for your reply.
Why sometimes it doesn't show in other sessions, but sometimes it shows?
Any way, I will perform commit to see....
Qian
Message was edited by:
QianChen -
GUI Applications unable to use command line tools
Hi All-
I've searched, but I can't find a thread about this one, so...
On OS 10.4.5:
Whenever I use a GUI app that wants to use a command line tool (e.g. curl, df, java), the app fails giving an error message to the effect of "unable to find curl" or the like. It is as if the GUI cannot find my unix $PATH.
Examples:
-- Eclipse refuses to launch, because it appears to use "java xxxxxxx" to launch.
-- Automator fails to run certain Safari actions because they use curl to navigate web pages.
-- Carbon Copy Cloner fails to launch, because it can't find a tool (df, IIRC) to read drive/volume info
Possibly relevant details:
-- I can use the tool in question from the command line, so they are present, and in my $PATH, but the GUI can't find them.
-- I recently moved from an old G4 to a relatively new G5, and had issues migrating files, so I eventually just copied my entire home directory from the old machine to the new, replacing the freshly created one on the new machine. I feel like that missed something that tells the GUI where your $PATH is, or some other link between GUI and command line.
-- I created a new user, and that user does not experience the same troubles. This adds to my suspicion that it is account/PATH related.
Any help anyone can give it greatly appreciated.
-p
PM G5 dual 2.0 Mac OS X (10.4.5)Did you by any chance create an evironment.plist file? It is located in ~/.MacOSX/ If you don't know about it or don't know to look (.MacOSX is normally invisible), try this:
In Finder.app, in the "Go" menu select "Go to Folder..." (shift-command-G), type ~/MacOSX in the text field and hit OK, the finder should then open a window or complain.
If it opens a window and you find in it a file named environment.plist move that file to the desktop and try your applications. Do they work as advertized? Try again after logging in/out if things don't work. Do they work now?
Whatever hapens, tell us more... -
Error Received When Trying To Create DSN From The Command Line
All,
Your help is greatly appreciated in advance. I am having trouble packaging Oracle 10G for a batch file deployment. Everything is done except for getting the DSN created which is causing me major problems. We am working with the Oracle 10G R2 10.2.0.1.0 Client on Windows XP Professional SP2. The Oracle database resides on a Windows 2000 Professional Server SP4 running Oracle 9i.
Our Environment: I am creating two packages of the Oracle 10G client. The first is for a batch file distribution via LANDesk and the other package is for normal batch file install if someone from IT is installing this from a user's desk. Both scripts are really identical the only differences are how they are laid out. I only need help with the DSN creation as everything else is ready to go. I am going to focus on the Non-LANDesk batch file as once I fix this in one script the other one should also be fixed.
The Problem: The batch script copies the neccesary files to the temporary directory. I then extract the setup files to the temp folder. I run a custom Oracle install using the RSP file from a recorded install. After the install is complete I copy the TNS Names file to the proper location. I then try to call a CMD file with the ODBC command seen below the main script.
Script (May be easier to read if you download using link below):
@ECHO ON
::This batch files installs Oracle 10G Release 2 Version 10.2.0.1.0 with a Custom Response File
::Installation is Interactive
::All files are extracted from the ZIP file via the 7-Zip command line tool
::The Net Configuration Assistant TNS Names File is copied to its proper location
::The CCR ODBC connection is created once the install is complete
::All folders used for installation are cleaned up-deleted
@ECHO Setting Variables
set NetworkPath=\\dc-landesk\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
set DefaultPackagePath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
set ExtractionPath=C:\Temp_Oracle10G
set TempInstallFromPath=C:\Temp_Oracle10G\SetupFiles
set FileFolderCleanupPath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent
@ECHO Creating Directories
mkdir "C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD"
@ECHO Copying Files to DefaultPackagePath
copy /Y "%NetworkPath%\7za.exe" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\CCR-ODBC.cmd" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\Oracle10GCustom.rsp" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\SetupFiles.zip" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\tnsnames.ora" "%DefaultPackagePath%"
@ECHO Changing to Extraction Directory
cd "%DefaultPackagePath%"
@ECHO Extracting Files to path with no spaces
"%DefaultPackagePath%\7za.exe" x SetupFiles.zip -o%ExtractionPath% -aoa
@ECHO Please Open the "Task Manager" manager, Sort by "CPU" Descending
@ECHO Watch Task Manager For Javaw.exe, press any key when the process Disappears
@ECHO Install using Custom Response File
"%TempInstallFromPath%\setup.exe" -responseFile "%DefaultPackagePath%\Oracle10GCustom.rsp" -force -silent -noconsole
pause
@ECHO Copying NETCA (Net Configuration Assistant) TNS Names File to proper Location in Oracle Product Directory
copy /Y "%DefaultPackagePath%\tnsnames.ora" "C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora"
@ECHO Creating ODBC Connections Using Oracle Driver installed by this Batch File
call "%DefaultPackagePath%\CCR-ODBC.cmd"
@ECHO Waiting 20 seconds before proceeding
ping -n 21 127.0.0.1 >NUL
@ECHO Remove Temp Files and Folders created during Install
rmdir /S /Q %ExtractionPath%
del /Q "%DefaultPackagePath%\*.exe"
del /Q "%DefaultPackagePath%\*.ora"
del /Q "%DefaultPackagePath%\*.rsp"
del /Q "%DefaultPackagePath%\*.reg"
del /Q "%DefaultPackagePath%\*.zip"
rmdir /S /Q %FileFolderCleanupPath%
@ECHO The Oracle 10G installation has been Completed
pause
ODBC Script
odbcconf.exe /a {CONFIGSYSDSN "Oracle in OraClient10g_home1" "DSN=CCR|Description=CCR_data|SERVER=BWB|Database=CCR"}
As soon as the command is called I see the following error message appear.
"CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259"
The really strange thing though is that if I let the main part of the script run (Not the ODBC call) and then immediately manually start the ODBC call script it works just fine. So, I don't really understand why the script can't add it itself. Or, I can go the Administrator Tools>Data Sources (ODBC)>and then add it manually which also works. I have tried just pasting the command directly in the main script, therefore, bypassing the call feature but it doesn't make a difference.
Link (Zip with all scripts mentioned above): http://www.cbridegum.com/Fourms/Oracle/Files.zip
Has anyone ever seen this kind of issue before? Does anyone have any idea on how to fix this? Any thoughts or suggestions would be great.
Thanks so much for your help in advance,
Clif BridegumAll,
I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
Thanks,
Clif Bridegum -
Single Sign On and Command line
Hi!
We have application without any logon form which executed from command line by BAT file:
app.exe Username Password par1 par2 ...
where par1, par2... is parameters of application
So question is: can Oracle Single Sign On set user credentials to the command line? Can we use OSSO for application without logon form?
Thank you.SSO is for web apps, you could try to use OID to perform the autentification of your application but you should change your application so it looks for the users in LDAP.
Greetings. -
Can't run JavaFX app as a jar file from command line
I'm trying to build a JavaFX app from scratch (that is, by including the jar file from the JavaFX SDK rather than by using the special JavaFX project type from NetBeans). It runs fine in NetBeans. However, when I try to launch it as a jar file from the command line (using "java -jar dist\TestApp") I get the following. Has anybody seen this before, and if so how can I fix it?:
*** Fallback to Prism SW pipeline
Exception in thread "main" java.lang.RuntimeException: java.lang.UnsatisfiedLink
Error: Can't load library: C:\dev\TestApp\dist\bin\mat.dll
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
289)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:68)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
pl.java:145)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
27)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\dev\RedactionT
oolPrototype\RedactionToolPrototype.Core\dist\bin\mat.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoad
er.java:155)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoad
er.java:85)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:
30)
at com.sun.glass.ui.Application$1.run(Application.java:28)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:26)
at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:33)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
Factory.java:20)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
Factory.java:17)
at com.sun.glass.ui.Application.Run(Application.java:51)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
279)
... 5 moreUnsatisfied link means that Java is trying to access a native library, but it cannot be found. As to why this error is being thrown, here is my guess:
If you open up one of the sample jars with a zip viewer, you will see that the Manifest file has the following entries:
>
Manifest-Version: 1.0
JavaFX-Version: 2.0
implementation-vendor: Oracle
implementation-title: BrickBreaker
implementation-version: 1.0
JavaFX-Application-Class: brickbreaker.Main
Created-By: JavaFX Packager
Main-Class: com/javafx/main/Main
>
In other words, a JavaFX project works a bit differently than a normal Java project. com/javafx/main/Main is used as the Main class and your "Main" class is called later.
If you are trying to build this from a normal Java project, then com/javafx/main/Main will not be created and it will call your Main class right away. Thus, whatever setup is needed to run JavaFX will not occur.
Maybe you are looking for
-
I just restore my ipod touch following the version 5 update...and now all the music and half of the apps are gone. I restored the backup, redownloaded music...but the music is nowhere on my computer, and now the download button in the store won't le
-
Can i have more than one phone number on my itunes account?
My son and I use the same apple ID. He has a separate phone number to me and wants to use imessage on his ipad. How can I set up my account to use more than one mobile number?
-
Checkbox item renderer populated with data from 2 sources
I have a list object that has a check box and a label (using an inline item renderer). The list itself is populated with an array of objects and whether the checkbox is selected takes those objects and adds them to another list (for outbound purpose
-
10.1.3.5 patch installed on soa 10.1.3.1
dear team, We applied patch 10.1.3.5 on SOA 10.1.3.1 instance (basic install). Jdeveloper version we are using is 10.1.3.5. when logged into bpel console we are getting the below error. "No domains accessible to the user logged in." Can u please sugg
-
Can someone explain the process of remapping hardware devices internally?
1) I would like to remap a hardware device (sustain pedal for example) to control other parameters. How can i tell logic to make 64 (sustain) control pan or any other parameter? 2) is there a way to do this that doesn't involve the environment? 3) Is