Extracting .flh from OpenDos Sun supplementary ISO
Hello.
I have a Sun supplementary CD image for upgrading my BIOS for a w2100z workstation. I would like to extract a .flh file from the OpenDos image boot.img on this disk. When I boot the CD, it goes into OpenDos and I can find the file, but I have no way of getting that file otherwise.
I've tried mounting boot.img as -t vfat, -t umsdos in linux, but it is not recognized as a mountable filesystem.
How can I get this file out of boot.img? Is there anywhere else I can get the file?
The BIOS upgrade crashed in the middle and now the machine wont go past POST. I tried resetting the CMOS with the jumpers on the motherboard and removing the battery to no avail. I was trying to get the flash file off the disk so I can give it to a friend who has the tools to flash the CMOS directly.
Thanks for your help!
I am still stuck. Following up on my own post, there is blog post on how to mount boot.img on a supplemental disk in Solaris:
http://blogs.sun.com/ip/entry/how_to_mount_your_supplemental
Paraphrasing the commands:
# lofiadm -a /export/boot.img /dev/lofi/2
# mount -F pcfs -o ro /dev/lofi/2:c /mnt
And the content of boot.img is under /mnt.
I don't understand why a similar mount command wont work in Linux.
Similar Messages
-
Not able to run a program to extract news from news channel websites.
Let me start with stating the fact that I am a super greenhorn, so please be ultra elaborate with the answers .
This is my code, I copied it from Mr. Alvin Alexander (http://alvinalexander.com/java/edu/pj/pj010011?). I am trying to use it to extract news from news channel websites.
I used the following URLs:
1.http://in.reuters.com/
2.http://timesofindia.indiatimes.com/
3.http://www.hindustantimes.com/
// JavaGetUrl.java: //
// A Java program that demonstrates a procedure that can be //
// used to download the contents of a specified URL. //
// Code created by Developer's Daily //
// http://www.DevDaily.com //
import java.io.*;
import java.net.*;
public class JavaGetUrl {
public static void main (String[] args) {
// Step 1: Start creating a few objects we'll need.
URL u;
InputStream is = null;
DataInputStream dis;
String s;
try {
// Step 2: Create the URL. //
// Note: Put your real URL here, or better yet, read it as a //
// command-line arg, or read it from a file. //
u = new URL("http://200.210.220.1:8080/index.html");
// Step 3: Open an input stream from the url. //
is = u.openStream(); // throws an IOException
// Step 4: //
// Convert the InputStream to a buffered DataInputStream. //
// Buffering the stream makes the reading faster; the //
// readLine() method of the DataInputStream makes the reading //
// easier. //
dis = new DataInputStream(new BufferedInputStream(is));
// Step 5: //
// Now just read each record of the input stream, and print //
// it out. Note that it's assumed that this problem is run //
// from a command-line, not from an application or applet. //
while ((s = dis.readLine()) != null) {
System.out.println(s);
} catch (MalformedURLException mue) {
System.out.println("Ouch - a MalformedURLException happened.");
mue.printStackTrace();
System.exit(1);
} catch (IOException ioe) {
System.out.println("Oops- an IOException happened.");
ioe.printStackTrace();
System.exit(1);
} finally {
// Step 6: Close the InputStream //
try {
is.close();
} catch (IOException ioe) {
// just going to ignore this one
} // end of 'finally' clause
} // end of main
} // end of class definition
This is the error i am getting, every time I run it on Eclipse:
Oops- an IOException happened.
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at JavaGetUrl.main(JavaGetUrl.java:33)
Also, when I try a local server URL, the output screen goes blank, which I guess is due to lack of Text on the local URL. So, the little research that I did, made me believe that the code not running on external server was due to firewall on the server side. Please help me run it. Also : I work on a proxy network.( if that has something to do with this).
P.S : Advanced gratitude for any assistance.any decently secured server would reject such a blatant attempt to steal its content.
-
How to extract data from web URL
I was doing one project which need to extract data from web pages and then analyze these data. the question is how to extract data from there, using html parser? need help, thanks a lot
I was doing one project which need to extract data
from web pages and then analyze these data. the
question is how to extract data from there, using
html parser? need help, thanks a lotTry this:
http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html
Or, like you said yourself, use an HTML parser:
http://java-source.net/open-source/html-parsers -
ODI Scenario fails to extract data from Essbase
Hello,
We are running ODI 10.1.3.6.0. When we run a scenario it fails when trying to export data from Essbase. I am pretty new to ODI and can't seem to find the information to fix this error. Thanks in advance for your help. Below is the error.
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.wrapper.EssbaseRecordFetchException: Cannot get result string. Essbase Error(-1): null at
com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.hasNext(Unknown Source) at
com.hyperion.odi.essbase.ODIEssbaseResultSet.next(Unknown Source) at
com.hyperion.odi.essbase.ODIStagingLoader.loadData(Unknown Source) at
com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at
org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java) at org.python.core.PyMethod.__call__
(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyInstance.invoke
(PyInstance.java) at org.python.pycode._pyx1.f$0(<string>:1) at org.python.pycode._pyx1.call_function
(<string>) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java) at org.python.core.Py.exec(Py.java) at
org.python.util.PythonInterpreter.exec(PythonInterpreter.java) at org.apache.bsf.engines.jython.JythonEngine.exec
(JythonEngine.java:144) at com.sunopsis.dwg.codeinterpretor.k.a(k.java) at
com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java) at
com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java) at
com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java) at
com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java) at
com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java) at
com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java) at
com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java) at
com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java) at
com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java) at
com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java) at com.sunopsis.dwg.cmd.e.k(e.java) at
com.sunopsis.dwg.cmd.h.A(h.java) at com.sunopsis.dwg.cmd.e.run(e.java) at java.lang.Thread.run
(Thread.java:595)Caused by: com.hyperion.odi.essbase.ODIEssbaseException: Cannot get result string. Essbase Error
(-1): null at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.fillBufferWithNextChunk(Unknown
Source) ... 35 moreCaused by: com.essbase.api.base.EssException: Cannot get result string. Essbase Error(-1): null
at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source) at
com.essbase.server.framework.EssOrbPluginDirect.essMainGetString(Unknown Source) at
com.essbase.api.session.EssOrbPlugin._invokeMainMethod(Unknown Source) at
com.essbase.api.session.EssOrbPlugin._invokeMethod2(Unknown Source) at
com.essbase.api.session.EssOrbPlugin._invokeMethod(Unknown Source) at
com.essbase.server.framework.EssOrbPluginDirect._invokeProtected(Unknown Source) at
com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source) at
com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source) at
com.essbase.api.session.EssOrbPlugin.essMainGetString(Unknown Source) at
com.essbase.api.base.EssSequentialIterator.isEndOfData(Unknown Source) ... 36 more
com.hyperion.odi.essbase.wrapper.EssbaseRecordFetchException:
com.hyperion.odi.essbase.wrapper.EssbaseRecordFetchException: Cannot get result string. Essbase Error(-1): null
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.h.A(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)Hello
Could you provide the name of the KMs used and the code generated by the step causing the error ?
Thanks -
Error while extracting data from essbase
Hi All,
Now I'm tring to extract data from essbase by ODI, and at the sametime, I need to do some transformations, such as join with other relational tables or flat files to get more information about metadata. But unfortunately, once I add join into the interface, an error occurs. And it works fine if I extract directly (with no joins).
Is there any other way except using staging table? Our data vloume is large, using staging table will waste lots of storages.
The messages as below.
2011-07-12 23:34:00,931 INFO [DwgCmdExecutionThread:null:49]: ODI Hyperion Essbase Adapter Version 9.3.1.1
2011-07-12 23:34:00,931 INFO [DwgCmdExecutionThread:null:49]: Connecting to Essbase application [CORPPROD] on [172.18.93.150]:[1423] using username [admin].
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Successfully connected to the Essbase application.
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase data extract LKM option EXTRACTION_QUERY_FILE = D:\ODI_ESS_QUERIES\QUERY.TXT
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase data extract LKM option EXTRACTION_QUERY_TYPE = ReportScript
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option PRE_CALCULATION_SCRIPT = null
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase data extract LKM option EXT_COL_DELIMITER =
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option PRE_EXTRACT_MAXL =
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option POST_EXTRACT_MAXL =
2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option ABORT_ON_PRE_MAXL_ERROR = true
2011-07-12 23:34:00,962 DEBUG [DwgCmdExecutionThread:null:49]: inside getAppData()
2011-07-12 23:34:00,962 DEBUG [DwgCmdExecutionThread:null:49]: Got Source Metadata
2011-07-12 23:34:01,119 ERROR [DwgCmdExecutionThread:null:49]: The number of columns returned by script [13] is less than the source data columns exposed [14]
com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [13] is less than the source data columns exposed [14]
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.validateColumns(Unknown Source)
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.init(Unknown Source)
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.GeneratedMethodAccessor769.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx85.f$0(<string>:1)
at org.python.pycode._pyx85.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
2011-07-12 23:34:01,119 INFO [DwgCmdExecutionThread:null:49]: Logging out and disconnecting from the essbase application.
From the working steps, I found a redundant column (Entity) was added while creating work table. Is it the reason?
create table HYP.C$_0CUX_ABC_HYP_INTERFACE
C14_HSP_RATES VARCHAR2(80) NULL,
C3_ACCOUNT VARCHAR2(80) NULL,
C10_PERIOD VARCHAR2(80) NULL,
C7_SCENARIO VARCHAR2(80) NULL,
C9_CURRENCY VARCHAR2(80) NULL,
C15_YEAR VARCHAR2(80) NULL,
C6_DATATYPE VARCHAR2(80) NULL,
C2_VERSION VARCHAR2(80) NULL,
C1_CATEGORY VARCHAR2(80) NULL,
C12_ENTITY VARCHAR2(80) NULL,
C13_ENTITY VARCHAR2(80) NULL,
C11_DEPARTMENT VARCHAR2(80) NULL,
C8_PROJECT VARCHAR2(80) NULL,
C5_DATA NUMBER(18,8) NULL
Appriciated!Extract the essbase data to a staging area and then do the transformations in another interface.
The adaptor needs to extract the data first.
Cheers
John
http://john-goodwin.blogspot.com/ -
Facing Issue while Extracting Data from Essbase using CalcScript
Hi All,
we are getting this error while extracting data from Essbase by CalcScript using ODI.
Does anyone have the answer
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1030009): Name too long (C:\NewFolder\ACAD) in ESSAPI function EssCalcFile
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx5046.f$0(<string>:1)
at org.python.pycode._pyx5046.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.h.A(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1030009): Name too long (C:\NewFolder\ACAD) in ESSAPI function EssCalcFile
at com.hyperion.odi.essbase.wrapper.EssbaseCalcDataIterator.init(Unknown Source)
... 33 more
Caused by: com.essbase.api.base.EssException: Cannot calculate file. Essbase Error(1030009): Name too long (C:\NewFolder\ACAD) in ESSAPI function EssCalcFile
at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
at com.essbase.server.framework.EssOrbPluginDirect.essMainCalcFile(Unknown Source)
at com.essbase.api.session.EssOrbPlugin._invokeMainMethod(Unknown Source)
at com.essbase.api.session.EssOrbPlugin._invokeMethod2(Unknown Source)
at com.essbase.api.session.EssOrbPlugin._invokeMethod(Unknown Source)
at com.essbase.server.framework.EssOrbPluginDirect._invokeProtected(Unknown Source)
at com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source)
at com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source)
at com.essbase.api.session.EssOrbPlugin.essMainCalcFile(Unknown Source)
at com.essbase.api.datasource.EssCube.calculate(Unknown Source)
at com.hyperion.odi.essbase.wrapper.EssbaseApplication.executeCalculationScript(Unknown Source)
... 34 more
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1030009): Name too long (C:\NewFolder\ACAD) in ESSAPI function EssCalcFile
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.h.A(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)Hi Now i am getting this error.
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1030214): User [admin] cannot access calc script: ACAD
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx5054.f$0(<string>:1)
at org.python.pycode._pyx5054.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.h.A(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1030214): User [admin] cannot access calc script: ACAD
at com.hyperion.odi.essbase.wrapper.EssbaseCalcDataIterator.init(Unknown Source)
... 33 more
Caused by: com.essbase.api.base.EssException: Cannot calculate file. Essbase Error(1030214): User [admin] cannot access calc script: ACAD
at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
at com.essbase.server.framework.EssOrbPluginDirect.essMainCalcFile(Unknown Source)
at com.essbase.api.session.EssOrbPlugin._invokeMainMethod(Unknown Source)
at com.essbase.api.session.EssOrbPlugin._invokeMethod2(Unknown Source)
at com.essbase.api.session.EssOrbPlugin._invokeMethod(Unknown Source)
at com.essbase.server.framework.EssOrbPluginDirect._invokeProtected(Unknown Source)
at com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source)
at com.essbase.api.session.EssOrbPluginEmbedded.invokeMethod(Unknown Source)
at com.essbase.api.session.EssOrbPlugin.essMainCalcFile(Unknown Source)
at com.essbase.api.datasource.EssCube.calculate(Unknown Source)
at com.hyperion.odi.essbase.wrapper.EssbaseApplication.executeCalculationScript(Unknown Source)
... 34 more
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1030214): User [admin] cannot access calc script: ACAD
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.h.A(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595) -
How can i extract text from Power point files,wod files,pdf files
hi friends,
i need to extract text from the power point files,word files,pdf files for my application.Is it possible to extract the text from the those files .If yes plz give solution to this problem.i would be thankful if u givve solution to this problem.My reply would be the same.
http://forum.java.sun.com/thread.jspa?threadID=676559&tstart=0 -
Hi, extract data from xml file and insert into another exiting xml file
i am searching code to extract data from xml file and insert into another exiting xml file by a java program. I understood it is easy to extract data from a xml file, and how ever without creating another xml file. We want to insert the extracted data into another exiting xml file. Suggestions?
1st xml file which has two lines(text1.xml)
<?xml version="1.0" encoding="iso-8859-1"?>
<xs:PrintDataRequest xmlns:xs="http://com.unisys.com/Anid"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://com.unisys.com/Anid file:ANIDWS.xsd">
<xs:Person>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://com.unisys.com/Anid file:ANIDWS.xsd">
These two lines has to be inserted in the existing another xml(text 2.xml) file(at line 3 and 4)
Regards,
bubblyJadz_Core wrote:
RandomAccessFile? If you know where you want to insert it.Are you sure about this? If using this, the receiving file would have to have bytes inserted that exactly match the number of bytes replaced. I'm thinking that you'll likely have to stream through the second XML with a SAX parser and copy information (or insert new information) as you stream with an XML writer of some sort. -
Extracting Data from Essbase using ODI fails with: Cannot calculate file.
I'm try to Extract Data from Essbase using ODI KM (LKM Hyperion Essbase DATA to SQL). I'm using
CalcScript for EXRACTION_QUERY_TYPE. CalcScript in my case resides on Essbase App directory, so I
just specify the name (i.e. FULLEXP) for EXTRACTION_QUERY_FILE. Before creating ODI interface
I ran CalcScript successfully from EAS. Also, ODI and Essbase are on different servers. ODI Agent
is not running on Essbase Server, but ODI Agent has access to file generated by CalcScript.
EPM Fusion Version 11.1.2.2. Essbase running in LINUX and ODI 11g running on Windows Server.
Created the ODI interface where source is my Planning Cube and target is a relational table using SYNOPSIS
MEMORY Engine for staging area. I make it thru the following ODI interface steps OK:
1 - Loading - SrcSet0 - Drop work table
2 - Loading - SrcSet0 - Create work table
3 - Loading - SrcSet0 - Begin Essbase Data Extract.
I then fail at:
4 - Loading - SrcSet0 - Extract Data
I get the following Message in ODI Operators console.
org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 1, in <module>
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1013131): Failed to start Asynchronous thread
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:662)I'm try to Extract Data from Essbase using ODI KM (LKM Hyperion Essbase DATA to SQL). I'm using
CalcScript for EXRACTION_QUERY_TYPE. CalcScript in my case resides on Essbase App directory, so I
just specify the name (i.e. FULLEXP) for EXTRACTION_QUERY_FILE. Before creating ODI interface
I ran CalcScript successfully from EAS. Also, ODI and Essbase are on different servers. ODI Agent
is not running on Essbase Server, but ODI Agent has access to file generated by CalcScript.
EPM Fusion Version 11.1.2.2. Essbase running in LINUX and ODI 11g running on Windows Server.
Created the ODI interface where source is my Planning Cube and target is a relational table using SYNOPSIS
MEMORY Engine for staging area. I make it thru the following ODI interface steps OK:
1 - Loading - SrcSet0 - Drop work table
2 - Loading - SrcSet0 - Create work table
3 - Loading - SrcSet0 - Begin Essbase Data Extract.
I then fail at:
4 - Loading - SrcSet0 - Extract Data
I get the following Message in ODI Operators console.
org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 1, in <module>
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot calculate file. Essbase Error(1013131): Failed to start Asynchronous thread
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:662) -
Problem Extract Data from Essbase
Hi all,
I have this error when I try to extract data from essbase :
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.wrapper.EssbaseRecordFetchException: Out of memory error.
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.hasNext(Unknown Source)
at com.hyperion.odi.essbase.ODIEssbaseResultSet.next(Unknown Source)
at com.hyperion.odi.essbase.ODIStagingLoader.loadData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
For information :
I use an reportscript which extract 400 000 records. I think that the problem comes from the staging area. How to modify size of the management of the memory?
I don't have this problem when i extract just 2 000 records for exemple.
Best regards,
BenHi,
Are you using a local or a defined agent?
Are you using the memory engine as the staging area.
Anyway you can increase the memory being used by the JVM depending on the above.
Cheers
John
http://john-goodwin.blogspot.com/ -
I want to extract float from string (%f %s) or (%s %f) separated by tab, whitespace etc., Since I am using jdk1.3.1 I can't use regular expression can anybody suggest a simple (one or two or few line code - compact) to get the float in (sign+/-)#.#### format ignoring other characters ?
I tried:
e.g.,
String d="4.000 [tab]4";
source string resulted from "SUBSTRING query of mySQL" can be of :
" -4.543 XYZ ",
" XYZ -4.546 ",
" xx-yy 6.58 3 ",
"6.0 xxx yyy zzz",
the expected results for float from the string should be:
-4.543
-4.546
6.580
6.000
If String containing data separated by comma:
e.g.,
"4.120 1 ,
AAXXFE ,4.206 1 ,
4.000 1,
4.201 1,
4.189 1,
4.204 1,
S DDERSF-RSA"
The result should be: "4.120,4.206,4.000,4.201,4.189,4.204,0.000"
The string is created by:
ResultSet rs1 = stmt.executeQuery(S1);
while (rs1.next()) {
String d = rs1.getString("SUBSTRING(FIELD1,LOCATE(\""+s2[i]+"\",FIELD1)+"+ k_st + ","+ length+")");
System.out.print(d+",");
May be I don't know how to use the following:
float f1 = Float.parseFloat(d);
===
String pattern = "###.###";
//float value = -2100.578f;
DecimalFormat myFormatter = new DecimalFormat(pattern);
String output = myFormatter.format(d);
System.out.println(d+" " + pattern + " " + output);
===Hi
You made the best choice. JRegex is closer to java.util.regex.* and fine works with excellent performance in any JVM version so you can use examples/tutorials from both JRegex and Java.Sun.Com to learn more about regular expression.
About the regular expression in my last post, there are two capturing groups: the first for float numbers in IEEE format specification (also see Java Language Specification) and the second for any sequence of chars, groups using with any amount of blank spaces (spaces, tabs, etc :: see regular expression definition) as delimiter. The anchors "^" and "$" are being used to exactly match pattern in target string and you can relax this constraint as needed.
How to use JRegex? no secrets!
import jregex.*;
// a float number and string with any blank delimiter
String patternString ="^([+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?)\s+(.*)$";
Pattern pattern = new Pattern(patternString); // different from Sun regex package syntax
// below is identical in both packages
Matcher m = pattern.matcher(anyTargetString);
if (m.matches()) {
Double d = Double.parseDouble( m.group(1) );
String scratch = m.group(2);
// your stuff goes here
..Remember to put JRegex jarfile in classpath!
Regards and Success. -
How to extract data From Hyperion Essbase to Flat Files
Hi ,
Can anyone tell me how to extract data from Hyperion essbase to Flat file(e.g. .csv , .txt ,...) or Oracle Table using ODI.
Regards,
AvneetHi sutirtha,
I have make one column as key column now i am getting this error,
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx7.f$0(<string>:1)
at org.python.pycode._pyx7.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Caused by: com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.validateColumns(Unknown Source)
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.init(Unknown Source)
... 33 more
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source) -
Unable to extract data from an AS/400 system.
Hello experts.
We are trying to extract data from an AS/400 system but not having any success until now.
I´ll write down you the stepts that we have followed until now:
1.- Create a DB Connect between both systems
2.- Create a Source System from AS400 in the workbench under DB Connect Directory
3.- Generate datasources from tebles specified in the schema of the connection
break point -
At this point, we had a problem with some tables with at least one fieldname containing character "Ñ".
After asking some possible solutions to SAP, the told us this is not supported, as the system can´t have any object with character "Ñ", so the transfer structure was unable to activate with this fields in the datasource.
--- end of brek point --
4.- After those issues, we´ve decided to implement, in another schema, views from those tables which had the fieldnames with that character "Ñ", changing them to an "N".
5.- We´ve created another source system with that schema, and user than can see that schema.
6.- To be able to see those views, in transaction RSDBC, we had to deactivate the two checkboxes in the first window ( Choose tables and Choose views) .
7.- Right afeter, we could generate correctly the datasources from this logical tables.
8.- We have designed the hole dataflow for this datasources and everithing went rigth.
9.- But wen we tried to execute the infopackage to extract data from those logic tables, we cannot get any registers. Acctualy the charge remains yellow after the job have finished.
Please, I would appreciate any help you could give us on this problem.
Thank you very much
Regards
JoaquinI´d like ti add something to this thread, and maybe clarify a littel bit the question.
The only way that the BW system recognizes those logical tables, through transaction RSDBC is checking out the two boxes on this transaction, "Select Tables" and "Select Views".
I don´t know haw these logical tables have been created, bus does this mean that the are not neither tables or views as BW understand them.
Please, if someone knows anythin about this, answer to this thread.
Thank you very much.
Joaquin Sobrido -
Extracting Data from APO PP/DS to BW
Hi Gurus,
I'm trying to extract data from APO PP/DS (SCM 5.1) to BW (BI 7.0). I'm new to SCM and am not sure how the extraction from SCM to BI happens other than that we need to read data from LiveCache.
The extractor we are interested are
0APO_PPDS_RESCAPREQ_01
0APO_PPDS_PROD_CUST_01
0APO_PPDS_OPERATION_01
0APO_PPDS_ORDER_01
Pls kindly help me out with the procedure.
Thanks in advance.Hi
Have a look at the below urls..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f229690-0201-0010-84ba-9ee5a8958a05
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fe5d590-0201-0010-6c8d-ada86492cf11
Re: APO to BW Design Question
Re: APO BW Integration
Hope it helps
Thanks
Teja -
What key fields should i set in DSO extracting data from 2LIS_02_ITM
hi experts
i extract data from 2LIS_02_ITM into a DSO, i know the DSO isn't a must, becoz the 2LIS_02_ITM delta type is ABR, but i want to keep the info in change log.
so, what the key fields should i set in the dso? just ebeln and ebelp is enough?
hunger for ur advice and thanks a lot!If you extract ITM toa DSO you cannot maintain a log of every change....the data will come ....but when the data must be activated the reference of the ebelp ebeln will remain only a single record....if you want to maintain all the data you must create another field in extractor with you can difference all the changes for one single ebelp ebeln...
Regards
Maybe you are looking for
-
Will not boot up with maverick installed
MAC PRO WILL NOT BOOT UP AFTER INSTALLING MAVERICK
-
Unable to create a webi report and 3 times it prompting for logon credentai
Hi, We have a issue, 1.We are unable to create a webi report and 3 times it is prompting for logon credentials. 3.After giving the logon credentials 3 times then it is working fine. 4.We are using IIS Jakarta redirector . 5.We are able to view the
-
Web.ProcessBatchData performance issue - optimised way to insert 20000 records.
Hi all, I am trying following code for inserting the 20000 items into sharepoint list. I have used the "Thread.Sleep(999999999)" for complete the processbatch inserting the items. But after some time I am getting error: "Thread was being aborted" I w
-
Hi all, I am novice in the develpment of applications using EJB's. I have created the table and inserted the records in the oracle database using the J2EE where by the J2EE creates the table autometically. The application is working fine. But my main
-
How to keep photos in order i have them on Iphoto album when I burn a CD?
How can I keep my photos in the order I have them on IPHOTO in albums when I burn them to a CD. They do not stay in order, but scatter all over the CD. I number them starting at 1 using no 0 nor double numbers. When I need a double number I use a