How to run a script using the OMB tcl
I'm trying to run a tcl script using the following syntax in cmdD:\app\Username\product\11.1.0\db_2\owb\bin\win32 > ombplus.bat c:\t.tcl
and I get the error
OMB01001: Not connected to the repository.
The tcl script was basically accompanied by a tutorial and I can't continue the OWB tutorial, unless I run it first
Departure ombplus.bat
You can then start the script with the source command such as
source C:/t.tcl
Be careful with the backslash (he is not C:\t.tcl)
You must also add a connection before your script to OWB with the OMBCONNECT
OMBCONNECT $UserLogin/$UserPassword@$DBHostName:$DBHostPort:$ServiceName USE REPOSITORY '$RepositoryUser' USE MULTIPLE_USER_MODE
Replace the parameters $ with your own value.
And then your script, you can disconnect:
OMBDISCONNECT
Success
Nico
Documentation is here for the 11g OMBCOMMAND
http://download.Oracle.com/docs/CD/B28359_01/OWB.111/b31279/TOC.htm
Tags: Business Intelligence
Similar Questions
-
How to run a script in the idle task
Hi all
Successfully, I wrote and performed a routine of idle task that periodically executes a simple method. now, I need to add a feature to this method so that it performs a simple javascript.
Here is my code:
...
UInt32 myTestIdleTask::RunTask)
UInt32 appFlags, IdleTimer * timeCheck) {}
If (appFlags &)
(IIdleTaskMgr::kMouseTracking
| IIdleTaskMgr::kUserActive
| IIdleTaskMgr::kInBackground
| IIdleTaskMgr::kMenuUp))
{
Return kOnFlagChange;
}This-> runTestScript();
Return kmyTestFvExecInterval;
}void myTestIdleTask::runTestScript() {}
This is the test script
PMString myTestScript ("app.activeDocument.exportFile (ExportFormat.pdfType, File(\"/Users/testuser/testing.pdf\"),false);" ');
I think that I should call CScriptRunner::RunScript()
somewhere here but without success}
Any help on how to run the Javascript code for myTestScript from the runTestScript() method?
Thanks in advance,
Halin
Already, I solved my problem by using "IExtendScriptUtils".
For those who are interested, here is my solution:
void myTestIdleTask::runTestScript() {}
This is the test script
PMString myTestScript ("app.activeDocument.exportFile (ExportFormat.pdfType, File(\"/Users/testuser/testing.pdf\"),false);" ');
PMString engineName ("myengine");
Int32 errorCode is Utils
()-> RunScriptInEngine (engineName, myTestScript);. }
Good luck.
halin
-
How to run SQL scripts using OWB process flows?
Hello
I have a few SQL Scripts. I run them using process flow OWB.
Can I get a document or a link that helps me to achieve this?
Thanks in advance,
SriGPHi SriGP,
You can call SQLPLUS using the external process activity.
Order: Give the full path of the SQLPLUS executable
Script: specify what you want to do in SQLPLUSThank you
Fati -
How to run a script in environment unix and how to run this program into a toad
Hello guys
Please help me!
How to run a script in the unix environment (Group of programs (cursor, programs...) stored in a file file.sql).
file.sql luks like this
WHENEVER OSERROR EXIT FAILURE
WHENEVER SQLERROR EXIT SQL. SQLCODE
SET the position
SET serveroutput size 1000000
coil ins2aais_jobs;
SELECT "FILE IS: ins2aais_jobs' FROM dual;"
SELECT "STARTED:' began, to_char (sysdate," YY/MM/DD HH24:MI:SS) TIME FROM dual; "
DECLARE
lv_upd_ct number: = 0;
lv_ins_ct number: = 0;
lv_exp_ct number: = 0;
---------------------
date of lv_FROM_date;
date of lv_to_date;
lv_mon_or_week varchar2 (20);
date of lv_week_end_date;
lv_month_indicator varchar2 (8);
-------------------------------------------------
Aais CURSOR IS
SELECT the ID substr (ID, 1, 7), SSN, FNAME, LNAME
, SUCCESS, COMPENSATE, INSTALLATION
, MODU, DRIVE, REVERSE, SUCC_RATE
TRANS_TOTAL, FILE_NAME, WEEK_END_DATE
RUN_DATE
OF weekly_aais;
-------------------------
I aais % rowtype;
-------------------------
PROCEDURE p_ins (r1 aais % ROWTYPE) IS
BEGIN
BEGIN
INSERT INTO AAIS_JOBS
(ID, SSN, SUCCESS, COMPENSATE, INSTALL, MODU
, DRIVE, REVERSE, SUCC_RATE, TRANS_TOTAL
FILE_NAME, WEEK_END_DATE, RUN_DATE
AAIS_FNAME, AAIS_LNAME
)
VALUES
(r1.ID, r1. SSN, r1. SUCCESS, r1. COMPENSATE, r1. INSTALLATION, r1. MODU
r1. DISK, r1. CONVERSELY, r1. SUCC_RATE, r1. TRANS_TOTAL
r1. File_name, r1. WEEK_END_DATE, r1. RUN_DATE
r1. FNAME, r1. LNAME
);
lv_ins_ct: = lv_ins_ct + 1;
EXCEPTION
WHILE OTHERS then
DBMS_OUTPUT. PUT_LINE ('ERROR IN THE INSERT STATEMENT');
DBMS_OUTPUT. Put_line (SQLERRM);
lv_exp_ct: = lv_exp_ct + 1;
END;
END;
------------------------------
PROCEDURE p_disp_msg IS
BEGIN
DBMS_OUTPUT. Put_line (' number of insertion: ' | to_char (lv_ins_ct));
DBMS_OUTPUT. Put_line (' number of Exceptions: ' | to_char (lv_exp_ct));
lv_ins_ct: = 0;
lv_exp_ct: = 0;
END;
---------------------------
BEGIN
lv_FROM_date: = to_date ('& 1', 'DD-MON-RR');
lv_to_date: = to_date ('& 2', 'DD-MON-RR');
lv_mon_or_week: = 'and 3';
lv_month_indicator: = di.get_month_ind (lv_mon_or_week, lv_FROM_date, lv_to_date);
------------------------------------
REMOVE FROM AAIS_JOBS
WHERE WEEK_END_DATE = lv_to_date;
-------------------------------------
COMMIT;
Aais OPEN;
LOOP
EXTRACT the aais IN i;
OUTPUT WHEN aais % NOTFOUND;
BEGIN
p_ins (i);
END;
END LOOP;
Aais CLOSE;
commit;
DBMS_OUTPUT. PUT_LINE ('INSERT INTO TABLE JOBS AAIS');
p_disp_msg;
-----------------------------------
END;
/
SELECT "FINISHED: ' | '. TO_CHAR (sysdate, "MM/DD/YY HH24:MI:SS'") FROM dual
/
spool off
"exit";
and also how we organize this into a toad?
Thank you.Hello
You vous connecter connect to oracle through unix and SQL prompt, run these commands in a .sql file.
Toad, you can run the instructions individually by selecting the sql statements or in a set with the F5 key.
Kind regards
AJR -
How to run a script for all the images in a folder?
How to run a script for all the images in a folder?
You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.
-
Run a script on the server side
someone at - not how to run a script out server php with him sending variables or receive all the variables and not to open a new window.
#2030 error: end of file was encountered. This is the error I get when you use this code
What is the file php is encode flv files. He calls him self saying that all videos uploaded in the database cue list are converted. So I have download 3 videos the script takes and makes the 1st file then 2nd, then 3rd. In the flash player I get error 2030 whenever the script call it is oneself.
If I call the script php outside of flash with a browser, it works perfectly.
I use all kinds of variations of URLRequest and URLLoader really puzzled. Thank you flexperts.
private function encodeHandler(event:DataEvent):void
{
var variables: URLVariables = new URLVariables();
variables.fileName = has ';
variables.fileExt = of ';
var request: URLRequest = new URLRequest ("""http://" " + ModelLocator.SERVER + ' / scripts/videoConvert.php"")
request.method = "get";
request.data = variables;
var loader: URLLoader = new URLLoader();
loader.dataFormat = can.
loader.addEventListener (Event.COMPLETE, completeHandler);
loader.addEventListener (flash.events.HTTPStatusEvent.HTTP_STATUS, onStatus);
try
{
//status.text = "video encoding".... » ;
loader.load (request);
trace() 'start encoding');
}
catch (error: error)
{
//status.text = "unable to load URL";
trace()"coding error cannot load url");
}
function onStatus(event:HTTPStatusEvent):void
{
If (event.status! = 0) {}
//status.text = "encoding error";
trace('encoding error');
}
}
function completeHandler(event:Event):void
{
//status.text = "complete encoding";
trace(() 'complete encoding');
}
}
Very well, please close this thread.
-
Why not be able to run MRT.exe using the batch file?
When I run the following script using the batch file, MRT cannot be run.
Does anyone have any suggestions?
Thanks in advance for your suggestions
off @echo
C:\WINDOWS\system32\Mrt.exe/q/fHello
· The computer is connected to a domain network?
· What is the error you get when trying to execute the batch file?
If the computer is connected to a domain network, I suggest you to report this issue in Windows XP IT Pro Forums: http://social.technet.microsoft.com/Forums/en-US/category/windowsxpitpro
Thank you.
-
How can I reset passwords using the hidden administrator account?
Original title: hidden admin account
How can you reset pass using the hidden account dmin. ? That can make the admin account hidden?
I have windows vista and I am the only administrator and user of my laptop.
Hello
You cannot use the hidden administrator account to reset the password. If you forget your only means of password to reset using the password reset disk. See the article below for further assistance.
What to do if you forget your Windows password
http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-you-forget-your-Windows-passwordActivate hidden administrator account gives you access to the files or the privileges if you are denied access in some cases.
Hope this information helps.
Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly. -
How to create IT strategy using the BES administrator API
Hi all
Can tell me, how to create IT strategy using the BES administrator API.
Please provide me with the code example.
Thanks in advance.
Kind regards
Sampath
Hi Sebastian,.
The Administration of BlackBerry API does not support the creation of it political. This feature is currently with the development of control and review for a future version of the BlackBerry Web Services for the Administration of the company.
Kind regards
-
How can I read or use the unallocated Partition?
My external hard drive has two partitions. We're "Healthy (primary partition)", the other is "unallocated".
I can see health as a disc but not the unallocated partition. How can I read or use the unallocated Partition?
When I right click on the partition menu popup are faded/not usable.
You can create a partition in the unallocated in disk management space.
Right-click on the unallocated space and create a partition.
If you have a partition on the disk using all the space you need to set as GPT instead of MBR. Windows will not accept a partition of about 2 GB max on a game of MBR disk.
-
How sleep windows 7/8 using the command line?
How sleep windows 7/8 using the command line?
for example:-l is for disconnection, what command should I give to sleep?
Hello
Powercfg command-line options
http://TechNet.Microsoft.com/en-us/library/cc748940 (v = WS.10) .aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
If I subscribe to the applications Adobe CC all (students and teachers).
How many computers can I use the package?
Please check the FAQ - Licensing FAQ: can I install Creative Cloud on several computers?
Thank you
Bev
-
So I just brought the creative plan Cloud photography student and Teacher Edition (one year) and no idea of how to get and start using the programs?
Hello
Go to creative.adobe.com and you identify with your Adobe ID
From there, you can download the applications you purchased.
Normally, you are taken there immediately after the purchase.
-
How can I continue to use the serial number I already paid?
. I have a student 2013 Adobe Suite, but when I download creative cloud on my new laptop, there is not even a prompt to enter the serial number? How can I continue to use the serial number I already paid?
To continue to use the serial you paid for you simply continue using the software that the license has been purchased is valid for (which is all what you have bought in 2013). Your Adobe Suite has no relationship with the creative cloud. Your serial number is only valid for the product for which it was purchased. If you want to use cloud products, you must purchase a subscription.
Creative cloud plans
-
I have already installed my CS6 on my pc and my laptop. Now, I need to change my computer. How can I continue to use the license?
Hi, you just have to disable it first on your "old" computer before any unistallation. In any application, choose help > Deactivate.
See also support Activation & deactivation
Maybe you are looking for
-
Load the url in tab of firefox running via cmd versions
I launched several version of firefox with the following command."\Program Files\Mozilla Firefox 18\firefox.exe" - profile "C:\f18" - no-remote"\Program Files\Mozilla Firefox31\firefox.exe" - profile "C:\f31" - no-remoteBoth versions are running, now
-
Is that all models Tecra are supported on Windows 2003?
Hello Is all models Tecra are supported on Windows 2003?, if I buy a model Tecra with Vista business or XP Professional, is it possible to install os W3K on this laptop? If so, please let me know the same thing, or is there an official link which wil
-
Hi again, I think I've had a few 'Thinkpadmania '... I bought a cheap A31p ($99), 80 Gb HD, 256Ram and 15 "LCD (at least that was the description on ebay) the laptop arrived yesterday with a 14" screen, and installed Win XP. No, the model is AUU 2653
-
How can I take several consecutive steps of a frequency meter and keep the previous measure?
I'm sorry, I'm very new to view lab and I am taking several consecutive steps of a frequency counter. I place the sub measures VI and the indicator with a loop and then set N to the number of iterations. The problem is that I don't get a box in my di
-
InvokeTargetReply finished() signal not shooting?
I have a problem like that in the original post in this thread: http://supportforums.BlackBerry.com/T5/native-development/invokation-framework-slot-for-signal-Finis... The poster of thread apparently solved their problem for their use case by invokin