Error running batch file ODI scenario
Hello, everyone!I load data into Essbase 11.1.2 views of MS SQL Server using ODI 11.1.1.5.0 and Local agent. I've created an interface that goes well if run manually ODI.
Next, I created the script called MyScenario for this interface and odiparams.bat update file *...\agent\bin* file as follows:
Set SECU_DRIVER = weblogic.jdbc.sqlserver.SQLServerDriver
Set SECU_URL = jdbc:weblogic:sqlserver: / / < servername >: 1433; databaseName = < DatabaseName >
Set SECU_USER = < user name for master repository >
Set SECU_PASS = < coded for MasterRepository UserName password >
Set ODI_USER = SUPERVISOR
Set ODI_PASS = < coded for the SUPERVISOR password >
Set WORK_REPOSITORY = < name of the repository to work >
Then I created the batch file in which I wrote: *...\agent\bin > startscen MyScenario 001 GLOBAL 5 *.
However the script is not executed with the following error message:
ERROR ODI - 1132 internal Agent encountered a warning: ODI-1414: connection to the internal agent error: a JDBC error occurs when connecting to the master repository. Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: cannot get data source connection: java.sql.SQLRecoverableException: IO error: the network adapter could not establish the connection
I'll be very grateful for any advice!
The variables for the master repository are:
ODI_MASTER_DRIVER, etc.
Tags: Business Intelligence
Similar Questions
-
How can I give permissions only to a running batch file?
I have a batch file, I created and dropped on the user workstation on our network. I need him to run it but don't want to hiim to read or see his text if it just right-click on it and choose 'change '. I tried just giving him access under advanced performance options and it did not work. With "read and execute" it can always display the contents of the batch file (which includes the admin password). Is it possible to have him not being able to see the contents of the batch file, but still be able to run it? The workstation is XP SP3
batch file is a text file, so any user can view. If you want to hide the data, you must create an application and run by the Scheduler.
-
Error running batch utility load - epmerpi-107600 fdmee
Hello
You try to run the load of a batch:
Password data load uid GL Y Y replace r N Mar13 Apr13 full SYNCHRONIZATION
Receive the error message:
EPMERPI - 107512:Invalid the value passed for the execution Mode setting.
I tried all 3 run modes:
Snapshot
Incremental
Full refresh
No idea why he does not like this?
Thank you!
S/b FULLREFRESH full refresh
-
Batch files are running very slow
Original title: batch files do not work!
Recently, whenever I try to run a .bat (batch file) it will slow down my computer until she reached the point where I can ONLY move the cursor. If I'm lucky I can sometimes get it to open but it doesn't do anything and once again I have to force reboot to get my computer to respond. If I open CMD directly and type in that what it is supposed to do manually will work. I need to be able to run batch files for some programs I run. I can not even "start iexplore.exe" as a batchfile to run. If anyone can help that would be greatly appreciated. Now I need to run batch files on my old laptop that can barely run and they take FOREVER. Thanks for the help!Hello
The issue you reported is Batch files and will be well suited in the TechNet community. Click on the link below.
http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads
Thanks and regards.
Thahaseena M
Microsoft Answers Support Engineer.
Visit our Microsoft answers feedback Forum and let us know what you think. -
Passage of the maxl script batch file value.
Hi gurus,
I want the user to select the scenario he wants to clear the data for a specific intersection in a cube of ASO for running batch file. Files and newspapers is as below
Batch file:
ECHO please select a scenario:
ECHO A. actuals
B. Budget echo
choice/m C:AB '-> > enter a letter for the scenario you want to delete: "%1 '"
IF ERRORLEVEL is 1 Set ScenarioName = law
IF ERRORLEVEL == 2 Set ScenarioName = bud
E:\Oracle\Middleware\user_projects\epmsystem3\EssbaseServer\essbaseserver1\bin\startMaxl.bat "C:\Users\TCleardata2.mxl" % ScenarioName %
MaxL file:
spool to 'C:\Users\Cleardatalog.txt ';
/ * Value Variables * /.
Set vScenarioName = $1;
Echo script: "$vScenarioName";
connection username pwd on "IP:1423 Server";
/ * Erase data * /.
ALTER database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;
echo * clear full *;
disconnection;
spool off;
Log file:
Scenario: law
MAXL > connection username pwd on "IP:1423 Server";
OK/INFO - 1051034 - user [username@pqr] connection.
OK/INFO - 1241001 - connected to Essbase.
*****************************************************************************
MAXL > alter database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;
ERROR - 1260052 - syntax error in a MDX query on line 1 to token entry ' "$1".
*****************************************************************************
Full Claire *.
MAXL > disconnect;
Username is disconnected
___________________________________________________________________________________-
in the MAXL if I write: law instead of ' $1 ' it works fine, but I can't take the user input, it is question of syntax?
Below the command works fine:
ALTER database abc.abc clear data in the region '{(law, Final, FY15, P2, ACC_1011640)}' physical;Can someone please let me know what I'm doing wrong here?
Thank you
RN
I don't think that (alone) allows in this case - the problem is that the single quotes around the specification of the whole region removes extension variable (see Variables).
Double quotes lose about $1, but also replace the single quotes around the specification of the entire region with quotes, i.e.:
ALTER database abc.abc clear data in the region '{($1, Final, FY15, ACC_1011640, P2)}' physical;
-
Windows 7 keeps looping in my batch files
I recently bought a new computer and Windows 7 came over her. I like it so far. I just have a problem. I can't run batch files.
If I open the command prompt and type:
stop s f
everything works fine. I gives me a notice that my computer shuts down in less than a minute. But I put exactly the same inside a file, I named "shutdown.bat" command prompt appears and shows exactly what I typed, skip a line, then it displays again and again and again and again...
So I am confused. I've been reading about people having problems with batch files in Windows 7, but my problem seems completely different from theirs.
Now all I know is:
- command prompt will still receive the shutdown command
- My batch file run when double click
- contents of the batch file will not run
If anyone can help?
It is a classic case of the dog bites his tail. When you put the command
stop s f
in your batch file then this command executes the batch itself rather than shutdown.exe, as shutdown.bat is located in the current folder! There are several ways to solve this problem, but the safest is to avoid at all costs to name your batch file identical to a system file. Rename it to MyShutdown.bat and your problem will be solved.
-
Run a batch file in windows separated box to call DRM client batch
I need your suggestions on what follows.
ODI & DRM are installed on separate boxes.
Now, I want to ODI to call a batch file (kept on DRM - Windows box, this batch file called client batch DRM for export metadata). I tried to use the notion of shared folder, but without success.
Pointers please?
This should work for you-
Create a batch on your current server (ODI) file and write in the path to the other file of commands on the other server.
Server2completename/D$/path/yourbatchfile.bat
Calling your batch file that you created on the same machine... which inturn will call the other on another machine batch file to run the batch client from the ODI.
Also you can paste errors that you can get... need to check if you get any specific problem related to this.
Thank you
Denzz
-
Get the error when importing topology, 11.3 to 11.5 ODI scenarios
Hello
Recently, I had installed ODI 11.1.5.
Now, I'm importing topology and scenarios exported from my former ODI 11.1.3 via script shell on a Linux machine.
There are about 25 topology and about 40 scenarios. When I run the script on these some topology and scenarios imported and the rest I get following error.
Imported files are not persisted. Sometimes even any resulting file and when I run the next time the same file gives an error.
oracle.odi.oditools.OdiToolException: this ODI tool must be connected to the repository but failed to connect to repository
at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:133)
at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:47)
at oracle.odi.ToolRunner.main(ToolRunner.java:75)
Caused by: oracle.odi.core.config.MasterRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: a timeout occurred while connecting to the database
at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:79)
at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:491)
to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:544)
at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
at oracle.odi.ToolRunner.initInstance(ToolRunner.java:36)
at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:128)
... 2 more
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: a timeout occurred while connecting to the database
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:180)
at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:374)
at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:77)
at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:492)
... 6 more
Caused by: oracle.odi.jdbc.datasource.ConnectionTimeoutException: a timeout occurred while connecting to the database
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:117)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:180)
at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:375)
... 8 more
Please guide me in this regard.Ritika you should go for
C:\Users\Current_User_name\AppData\Roaming\odi\oraclediIn the oracledi folder, you will get the userpref.xml
Thank you.
-
HOW to run a batch file in BACK 6.22?
I wrote a batch file that works fine in the Windows command prompt, but I would like to be able to run after POST in the BACK. I copied my code AUTOEXEC. BAT file that runs automatically; However sometimes with syntax errors when it reaches the call control and the rest.
echo. This script is counting the # of POSTs. echo. The POST # value is saved in TEST.txt. echo. call:myPOSTTest for /f "tokens=* delims=" %%x in (A:\TEST.txt) do echo POST# %%x echo. &pause&goto:eof ::-------------------------------------------------------- ::-- Function section starts below here ::-------------------------------------------------------- :myPOSTTest - here starts my function identified by its label set var=0 if EXIST A:\TEST.txt ( for /f %%x in (A:\TEST.txt) do (set /a var=%%x+1) ) echo %var% >> A:\TEST.txt goto END :END
Thank you
Hello
Many of us being volunteers do not have the expertise to help. Refer the question to the TechNet Script Center.
-
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.
-
Previously, work job FTP in the batch file gives message "error opening script file.
I have two FTP jobs on two separate machines that I've been running as tasks scheduled for a few years with success. They are on the same network, but we're on the field, the other is out of the field. Both are Windows XP SP3.
Starting this week, two of them fail when you try to load the actual script FTP file. Here is an example of the ftp command that I use: FTP d - n-i-s:C:\scripts\getmyfiles.txt
The message says "Error opening C:\scripts\getmyfiles.txt" and displays help FTP. I should also mention that the FTP seems to work fine if I connect from the command prompt, and does not use a script file manually.
Both of these batch files containing similar (different but calling script files) FTP commands were executed the week last successfully.
Any suggestions are appreciated!
Hi Kristin,
The question you have posted is better suited to the MSDN forums. You can ask your question in the help link.
http://social.msdn.Microsoft.com/forums/en/categories/
Hope the helps of information.
-
I have several computers on a home network with WiFi and Ethernet access to a NAS network.
Using a batch file, card readers network at startup, etc.A for (I have 4) computers fails to map the network drive. All other computers work fine with the same batch file.Specifically, when the following command has been executed in the batch file:NET use * /d /yThe computer responded with:50 system error has occurred.The request is not supported.When the batch continues running and map network drives, each command mapping «net use z:...» ' produces the following:53 system error has occurred.The network path was not found.This particular computer in question is a laptop and all other software and functionality seems to work very well.It looks like a problem with Windows, but after some research, I found that many variations in Windows can produce the same above error codes.Help!Hi Roger,
Have you been able to solve the problem?
System Error Codes are very broad. Each of them can occur in one of hundreds of locations in the system. As a result, the descriptions of these codes cannot be very precise.
Please visit the following link to learn more about the system error 50:
System (0 to 499) error codes
http://msdn.Microsoft.com/en-us/library/ms681382(v=vs.85).aspxPlease let us know the status of the issue.
-
Batch file xcopy creating cyclical error
Hi all
I have a little problem here when creating a piece of simple code for a batch file important that I write. Maybe its a PEBKAC issue because I worked at it for too long...
Because it is big enough, I like to create Variables that you can centrally manage twist as and as needs to be. The xcopy command will work very well on its own with the paths specified model, but when I run it with the variables, it gives me various errors. I tried in vain below:
Example 1:
off @echo
CD.
CLS
SET O_PATH = %SystemDrive%\OLDPATH\*.*
SET N_PATH = %SystemDrive%\NEWPATH\xcopy % O_PATH % N_PATH % / e/y
Error : Invalid number of parameters.
Example 2 :
off @echo
CD.
CLS
SET O_PATH = %SystemDrive%\OLDPATH\
SET N_PATH = %SystemDrive%\NEWPATH\xcopy % O_PATH % N_PATH % / e/y
Error : Cannot perform a cyclic copy.
Example 3:
off @echo
CD.
CLS
SET O_PATH = %SystemDrive%\OLDPATH\
SET N_PATH = %SystemDrive%\NEWPATH\xcopy % O_PATH % N_PATH % / e/y
Error : Invalid number of parameters.
Example 4:
off @echo
CD.
CLS
SET O_PATH = %SystemDrive%\OLDPATH\*.*
SET N_PATH = %SystemDrive%\NEWPATH\xcopy % O_PATH % N_PATH % / y
Error : Invalid number of parameters.
Example 5:
off @echo
CD.
CLS
SET O_PATH = %SystemDrive%\OLDPATH\
SET N_PATH = %SystemDrive%\NEWPATH\xcopy % O_PATH % N_PATH % / y
Error : Invalid number of parameters.
Many thanks in advance,
Tom
Tom
This issue is beyond the scope of this site and must be placed on Technet or MSDN
-
I want my procedure to return the error message in the batch file
Hi team,
I have a requirement from users of the company. Could you please provide your suggetsion to achieve this.
We have a batch file that is short on time, in this batch file, I'll call you a SQL script.
In the SQL script, I called you a procedure to run.
Inside the procedure, I have the following statement,
Select, insert and update commands.
and I use ANOTHER exception to handle errors.
My requirement is to pass the error messages for the batch file when one of the orders was not not run and send a notification e-mail to the group with the error text.
Please provide your suggestion.
Thank you and best regards,
Robette.
Could you please tell me, inside the procedure I have to remove the OTHER exception and how I can pass the value to the command file and where I add the content of the e-mail notification.
I suggest that you write modular code instead.
1. create a log table
2 modify the procedure to log on to the error log table or exceptions
3. that others suggest have the recovery/return procedure an exception in the client/batch file
4. for an exception have the batch file to call a procedure to do the emailing if there were exceptions
IMHO, it's a MISTAKE to try to put all these features in a single file. It is NOT scalable and makes it almost impossible to update the batch file if the requirements change in the future.
Logging should be a separate process with a separate log table so that you can capture ALL of the information that may be necessary, now or in the future. Enter information in a table of newspaper, it is EASY for ANYONE to query to see what problems are occurring in the process.
Emailing should be a separate process so that it can be used for your batch file current, files of future orders or even by procedures or functions in the database.
Do not try to create a solution "a script does everything."
-
Run the PLSQL Script from Batch file
I am trying to run a PL/SQL script in a batch file in sp1 Windows 7 Prof
N ° 1) I wrote a simple PL/SQL script:
--
-The scope of variables
--
DECLARE
v_sal number (7.2): = 50000;
v_comm number (7.2): = v_sal *. 20;
v_message varchar2 (100): = 'eligible for the commission;
BEGIN
declare
v_sal number (7.2): = 50000;
v_comm number (7.2): = 0;
v_total_comp number (7.2): = v_sal + v_comm;
Start
v_message: = "not committed not" | v_message;
dbms_output.put_line (' message of sub-block is ' | v_message);
dbms_output.put_line (' subblock v_comm is ' | v_comm);
end;
v_message: = 'seller '. v_message;
-dbms_output.put_line ('Main block v_total_comp' | v_total_comp); -Error: not visible in the main block
dbms_output.put_line ('Main block v_comm' | v_comm);
dbms_output.put_line (' main block message is ' | v_message);
END;
/
Step 2) then I wrote a simple batch TstBatch.bat file
sqlplus scott/tiger@orcl < PLSqlVarInputTst1.sql > > TstBatch.log
Step 3) in the BACK of cmd, I tried to run TstBatch.bat
C: > TstBatch.bat
The log file tells me that I have connected to Oracle Database 11 g Enterprise Edition Release...
Then a lot of SQL > SQL > SQL >... 26 times
Procedue of PL/SQL completed successfully.
Disconnected from Oracle database
I also tried running the PLSQL script in SQLPlus:
SQL: > @PLSqlVarInputTst1.sql
Tell me the procedure completed successfully.
QUESTION: So, where is the output of the PL/SQL script?
Hello
You must activate the output: Add the following line at the beginning of your PL/SQL script:
SET SERVEROUT ON
...
Maybe you are looking for
-
No mails a file with header showing the number of unread emails!
My Mozilla Thunderbird works very well for several of my Gmail, Hotmail and Yahoo email accounts. However, for one of my Yahoo accounts, I have several records that show the number of unread in this folder but no mail mails that can be downloaded or
-
HP Jet - Power we or Admin password SYSTEM OFF after 3 trys
I have a hp flow and average said 76247682
-
Construction of an RGB Image using IMAQ ReplaceColorPlane VI
Hello world I'm trying to familiarize myself with the Vision Development Module on LabView student edition of 2009 because I want to manipulate images in real time. Currently, I am trying to split an image RGB in R, G, and B pixel values then recombi
-
VI causes CPU load after several days of running
Hello I have a strange problem. I have craeted a control test VI bench and it runs on five computers, five test of control systems. All PCs have almost the same hardware, same card mother, same processor, etc. Normally the CPU load is around 50% when
-
Is received call from Virtual PC Doctor scam, any threat to the security of my PC?
I was called by Virtual PC Doctor around 14:00 today. They knew my name, address and telephone number and went through their usual field. When they asked me to go to my computer and tell them what was on the screen, I told them that I had to check ou