Load command in Oracle
Hi,
I have some data file exported from DB2.
I ever tried to use the following command to do the data loading on isql*plus,
LOAD DATA INFILE 'C:\tmp_0123\aba.del' APPEND INTO TABLE dclsuser1.aba FIELDS TERMINATED BY ';' (BANK_NUM, BANK_NAME, BANK_ABA_NUM, BRNCH_TYPE, BANK_ADDR_LINE1, BANK_UPD_DATE, BANK_ADDR_LINE2, BANK_CITY, BANK_STATE, BANK_ZIP_CODE, BANK_PHONE, BANK_FAX, MESSAGE=, BANK_EFT, CLAIM, UPDATE_TIMESTAMP, UPDATE_USER, BANK_ZIP_CODE1, BANK_ZIP_CODE2)
However, there is an error message shown as following,
SP2-0851: Command beginning "LOAD DATA ..." is not available in iSQL*Plus
Where is the problem?
1. Is the command is wrong? How can I modify above one?
2. I execute in wrong place? If so, where should I run this query?
Many thanks,
J.
Load Data is not an isql command; it is a SQL*LOADER command.
Commonly you'll find load data in the CONTROL File for SQL*Loader.
The sqlldr executable calls this CTL file to get information what to do.
If you used OMWB to generate the CTL file OMWB also created a batch or shell script for you to call sqlldr. You should edit the *.sh pr *.bat file according to your env; then run the shell/batch script.
If you're not familiar with SQLLDR you might have a look at Metalink notes like:
Article-ID: Note 174237.1
Title: A quick overview of the syntax in SQL*Loader
In addition the documentation of OMWB will give you more details as well.
Similar Messages
-
How to create a load job in Oracle 9i
How do you create a basic load job in Oracle 9i? I'm really struggling with the syntax.
This is what I have so far and its not working. I am a Microsoft SQL Jr. DBA, Oracle is not a strong point :/.
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
VARIABLE jobno NUMBER
BEGIN
DBMS_JOB.SUBMIT(:jobno,
'load data',
'infile oracle.csv',
'into TABLE HUB.PROVLKUP_LOAD_MATT',
'fields terminated by "|"',
'TRAILING NULLCOLS',
'(PROV_NO,PROV_NAME,FIRST_NAME,MI,TITLE,ADDRESS,CITY,COUNTY,STATE,ZIP,PHONE1,PHONE2,SPECIALTY,TAX_ID,PROV_NETWORK,EFF_DATE,TERM_DATE,PROV_TYPE,DO_NOT_REFER,DNR_DATE,DO_NOT_USE,NOTES)',SYSDATE, 'SYSDATE + 1');
COMMIT;
END;I actually want this job to be only run by the DBMS_JOB.Run command and not on auto schedule. Is there a way not to include a run date?
Edited by: 1007692 on May 23, 2013 11:38 AM
Edited by: 1007692 on May 23, 2013 11:39 AMWelcome to the forum.
Oracle 9i is a database version from the previous century.
But:
You can read about DBMS_JOB in the 9i documentation here:
http://www.oracle.com/pls/db92/homepage
Or do some searches on http://asktom.oracle.com
Anyway: if you want the job to run once, then omit the interval...
Oh, and don't forget to read {message:id=9360002} from the SQL and Pl/SQL FAQ here:
SQL and PL/SQL FAQ
Edited by: Hoek on May 23, 2013 8:09 PM -
0% idle time of cpu states from top command in oracle 8i /solaris 5.9
Hi,
for long time idle time is 0% in top command :
database version:oracle 8.1.7.4.0
operating system : sun solaris 5.9
load averages: 9.32, 5.78, 6.13 15:22:13
404 processes: 387 sleeping, 13 running, 4 on cpu
CPU states: 0.0% idle, 78.2% user, 21.8% kernel, 0.0% iowait, 0.0% swap
Memory: 16G real, 7535M free, 5842M swap in use, 9965M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
6928 oracle 11 20 0 0K 0K run 2:20 12.62% oracle
23518 oracle 21 31 0 0K 0K run 24:37 11.69% oracle
9664 oracle 20 30 0 0K 0K run 12:41 10.83% oracle
15764 oracle 12 21 0 0K 0K run 2:18 10.28% oracle
9214 oracle 19 21 0 0K 0K run 5:52 8.58% oracle
13734 oracle 173 21 0 0K 0K cpu/3 311:23 6.11% oracle
19271 oracle 1 59 0 0K 0K cpu/0 726:20 4.45% oracle
10436 oracle 1 59 0 0K 0K sleep 81:41 4.39% oracle
22400 oracle 11 59 0 0K 0K sleep 3:22 4.35% oracle
9297 oracle 20 59 0 0K 0K cpu/2 7:39 3.66% oracle
22175 oracle 19 59 0 0K 0K sleep 6:55 3.41% oracle
9494 oracle 1 30 0 0K 0K run 0:02 2.99% oracle
10719 oracle 1 59 0 0K 0K sleep 132:48 1.55% oracle
210 oracle 1 59 0 0K 0K sleep 86:56 1.04% oracle
22084 oracle 24 59 0 0K 0K sleep 2:50 0.92% oracle
and sometime load average goes to 25-30 and cpu states is 0% idle in that load so how i can tune my database:
Regards
PrakashHi,
here 0% idle, 0% iowait
one of the query explain plan i am posting over here:
Operation Object Name Rows Bytes Cost TQ In/Out PStart PStop
SELECT STATEMENT Hint=CHOOSE 77 K 11800
COUNT STOPKEY
VIEW 77 K 32 M 11800
SORT UNIQUE STOPKEY 77 K 10 M 8384
HASH JOIN OUTER 77 K 10 M 4968
HASH JOIN 77 K 9 M 4477
HASH JOIN 54 K 2 M 3071
TABLE ACCESS FULL GA_INSTANCE 10 140 1
HASH JOIN 75 K 2 M 3069
HASH JOIN 75 K 1 M 2351
INDEX FAST FULL SCAN CUST_ACCT_ADDR_PK 75 K 960 K 282
TABLE ACCESS FULL ADDRESS 199 K 1 M 1960
TABLE ACCESS FULL CUST_ACCT 112 K 1 M 593
TABLE ACCESS FULL IQARA_CNR_ACT_LOG 89 K 6 M 1150
TABLE ACCESS FULL NI_STATIC_IP_ADDR 21 K 317 K 60
Reagrds
Prakash -
Hi,
After ORACLE 11G software installation i tried to change the ORACLE_HOME directory.
OS : RHEL 4.5
DB : 11.2.0
Previous Home Location :
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/prod/tech_st/product/11.2.0/db_1
Current Home Loc:
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/db/tech_st/product/11.2.0/db_1
When i am trying the DBCA command i am getting the below error:
[oracle@localhost ~]$ dbca
java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:405)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
[oracle@localhost ~]$
I tried all possible ways with google help but still i am facing the same issue.Kindly check and suggest to solve the issue.
Thanks in advance.
Vijay.Hi all,
I give you the clear details about the issue what i am currently facing,
1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
5. But when i am trying to create one more db using DBCA utility it is through the above error.
Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
Thanks. -
After upgrading from 10.2.0.2 to 10.2.0.4, I am unable to run any Console commands. The errors I get are as follows:
l1eddb01:L1CORP > emctl status dbconsole
Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller
Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller
Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller
OC4J Configuration issue. /opt/oracle/edmdb/product/10.2.0.4/oc4j/j2ee/OC4J_DBConsole__L1CORP not found.
l1eddb01:L1CORP >
Does anyone have any idea what happened during the upgrade that would have caused emctl, emca, etc. commands to stop working?Don't know why it has not re-created the OC4J container.
Do you have anything in /opt/oracle/edmdb/product/10.2.0.4/oc4j/j2ee/
Have you tried re-creating it?
./emca -config dbcontrol db
If not try re-running dbua. -
How can I use unix commands from oracle report
I have to use the following command from oracle reports.
In oracle forms we can use the HOST command but what about oracle reports2.5.
I have to email the attached file 100245.pdf from oracle reports to the given email id
uuencode 100245.pdf 100245.pdf | mailx -s "test" [email protected]Hi,
It's because .bat (or .cmd) files are scripts and not executables and are interpreted using the command line executable - which is normally cmd.exe (although you can buy others).
So you need to call cmd.exe passing the bat file name as a parameter, something like
cmd.exe /c batchfilename
Without the /c you will never get a response.
However, this brings us to the bizarre conclusion that you are going to:
call cmd.exe (a shell interpreter)
to launch a batch file
that calls cygwin (another shell interpreter)
which then runs ls
When shouldn't that just be:
call cmd.exe to run the dir command
Or better yet, If you are just after a file name listing and you seem to understand Java stored procs, why not just write a JSP to list the contents of a directory? No problems with OS dependant commands, scripts and 3rd party interpreters. Plenty of examples of that out on the internet as well.
HTH
Chris -
Hello,
I am quite rusty with Robohelp, but trying to get back up to
speed. wWhen I open a project, the following message is displaying:
Unable to load command 4.
It doesn't stop the project loading, I haven't tested to see
if it has any impact when I edit a topic, but does anyone know what
is causing this? I have searched the online help, but this error is
not mentioned..
Also, robohelp has changed quite a bit since I last used it
& I am struggling to come to grips with some of the folder
layouts - I understand the projects are now .xpj, but the root
level of each sub folder contains a.fpj file. I read somewhere that
this allows multi user access to the same project, but can't see
how this works - I certainly couldn't open an individual folder
using this file anyway! Can anyone point me to documentation that
explains what this is about & what it does or doesn't do? or
quickly explain this for me?
many thanks
MaxineWelcome to the forum
Are you using RH under Vista? That error message was reported
yesterday in another post by someone who was.
The project is opened through the XPJ file instead of the MPJ
in older versions. The FPJ file is not there for you to use in any
way. I believe it is used by RoboHelp in connection with multi
authoring and source safe. It is not a file to be used or touched
by you. -
How can I use custom WLST commands for Oracle SOA Suite in Weblogic
Hi There,
I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
However, my WLST shell is not recognizing the commands and giving me the NameError!
wls:/devDomain1/domainRuntime> listLogs()
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: listLogs
I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
- Launched the WLST shell from Oracle Home.
cd ORACLE_HOME/common/bin
./wlst.sh
- Tried to run the listLogs command from domainRuntime()
I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
There is no SOA Suite installed.
Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
Please advise if this is possible and how?
Cheers.
SatishI have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
I hope this can help -
Using FDM to load data from oracle table (Integration Import Script)
Hi,
I am using Integration Import Script to load data from oracle table to worktables in FDM.
i am getting following error while running the script.
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
Attaching the full error report
ERROR:
Code............................................. -2147217887
Description...................................... Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
At line: 22
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 6260
IDENTIFICATION:
User............................................. ******
Computer Name.................................... *******
App Name......................................... FDMAPP
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... DBNAME
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SCRTEST
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... FDM ACTUAL
Category ID...................................... 13
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ True
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I am using the following script
Function ImpScrTest(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM Integration Import Script:
'Created By: Dhananjay
'Date Created: 1/17/2012 10:29:53 AM
'Purpose:A test script to import data from Oracle EBS tables
Dim cnSS 'ADODB.Connection
Dim strSQL 'SQL string
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs object
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
'Connect to SQL Server database
cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= +server+;Initial Catalog= +catalog+;User ID= +uid+;Password= +pass+"
'Create query string
strSQL = "Select AMOUNT,DESCRIPTION,ACCOUNT,ENTITY FROM +catalog+.TEST_TMP"
'Get data
rs.Open strSQL, cnSS
'Check for data
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records to load!"
Exit Function
End If
'Loop through records and append to tTB table in location’s DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = RES.PlngCatKey
rsAppend.Fields("PeriodKey") = RES.PdtePerKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Amount") = rs.fields("Amount").Value
rsAppend.Fields("Desc1") = rs.fields("Description").Value
rsAppend.Fields("Account") = rs.fields("Account").Value
rsAppend.Fields("Entity") = rs.fields("Entity").Value
rsAppend.Update
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "Import successful!"
'Assign Return value
SQLIntegration = True
End Function
Please help me on this
Thanks,
Dhananjay
Edited by: DBS on Feb 9, 2012 10:21 PMHi,
I found the problem.It was because of the connection string.The format was different for oracle tables.
PFB the format
*cnss.open"Provider=OraOLEDB.Oracle.1;Data Source= servername:port/SID;Database= DB;User Id=aaaa;Password=aaaa;"*
And thanks *SH* for quick response.
So closing the thread......
Thanks,
Dhananjay -
SYSTEM HANGS WHILE RUNNING EXP COMMAND IN ORACLE 10G
WHEN WE ARE RUNNING THE EXP (EXPORT) COMMAND IN ORACLE 10G
TO TAKE THE BACKUP IT GETS HANGED FOR A LONG TIME AND THEN IN THE LOG FILE WE FIND THE FOLLOWING ERROR MESSAGE.
SOMETIMES AFTER RESTARTING THE SERVER WE ARE ABLE TO RUN THE EXP COMMAND.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user MANHAR
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user MANHAR
About to export MANHAR's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
*********************************** AT THIS POINT THE SYSTEM HANGS FOR A LONG TIME.
EXP-00056: ORACLE error 24324 encountered
ORA-24324: service handle not initialized
EXP-00056: ORACLE error 24324 encountered
ORA-24324: service handle not initialized
EXP-00000: Export terminated unsuccessfully
THE EXP COMMAND THAT WE USE IS AS FOLLOWS:
EXP MANHAR/MANHAR FILE=F:\BACKUP\MANHAR.DMP LOG=F:\BACKUP\MANHAR.LOG BUFFER=1000000 GRANTS=Y CONSTRAINTS=Y
WE ARE RUNNING THE EXP COMMAND ON THE SERVER ITSELF.
THE SERVER OPERATING SYSTEM IS WINDOWS 2003 SERVER.
Kindly give us a solution at the earliest.You should ask Oracle support for help. There's only one entry for this error stack (Bug 3361288 - Export of XMLSCHEMA may fail with ORA-24324 in UTF8), but it should have been fixed for your DB version and , as far as I can see, you don't have a Unicode database.
Werner -
Re: the similar decode sql command (in Oracle) in ABAP
Dear ABAP Expert,
Could you let me know where there is a similar decode command in Oracle in ABAP?
Thanks.
ArthurHi,
You can specify case statement between SELECT and ENDSELECT. However this may lead to performance problems. Please take care.
Example:-
SELECT FIELD1 into LOC_FIELD FROM TAB.
CASE LOC_FIELD.
WHEN 'ABC'.
WRITE: 'ABC'.
WHEN OTHERS.
WRITE: 'REST'.
ENDCASE.
ENDSELECT.
Thanks and Best Regards,
Dinesh. -
How to run command SQLLoader Oracle in c#
Hello,
How to run command SQLLoader Oracle in c#. I try my sourcode for run this SQLLoader, but nothing happen and error "No process is associated with this object.". Please tell me how i fix it. Thanks.
This is my code:
System.Diagnostics.Process process1;
process1 = new System.Diagnostics.Process();
process1.EnableRaisingEvents = false;
string strCmdLine;
strCmdLine = @"/C SQLLDR XL/secreat@O11G CONTROL=E:\APT\LoadXL.ctl";
System.Diagnostics.Process.Start("CMD.exe", strCmdLine);
process1.WaitForExit();
process1.Close();jesperdj ,thanks:)
actually,i am using eclipse to run my ant tasks programmatically,but I got trouble with the AntRunner class.it seems that i should config a proper classloader for it,but i just don't know how.please lend a hand:)thanks
robin -
Hello,
I am trying to repair my Firefox profile, but I cannot open profile manager in Mac OS 10.5.8. When I follow the directions for opening profile manager in my Terminal utility, I get the following error: "dyld: unknown required load command 0x80000022 Trace/BPT trap".
At this point, Firefox (v 5.0 or previous versions), is not running.
Thanks.[http://asqueella.blogspot.com/2010/12/dyld-unknown-required-load-command.html Here's an Explanation]. Basically you need to add "arch -i386 " at the beginning of the command because 10.5 is 32-bit only and more recent versions of Firefox default to 64-bit.
-
Problem in loading Ntriple to Oracle
Hello,
Can some one please point what could be wrong in loading of Data in Ntriple format using the Code provide by Oracle to convert RDF data in N-Triple format to
Oracle's RDF storage type, SDO_RDF_TRIPLE_S in Oracle10g R2.
called TestNTriple2NDM.java
C:\prateek\semdis\sdordf_converter>java TestNTriple2NDM Data/timestamp.nt TIMEST
AMP_RDF_DATA TIMEMODEL 3
ID: 1403 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
ID: 3641 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
ID: 5835 Error: java.sql.SQLException: Unsupported feature
Rows: 10000
ID: 10754 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
ID: 10755 Error: java.sql.SQLException: ORA-13199: RDF:Error occurred
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 322
ID: 10868 Error: java.sql.SQLException: Unsupported feature
ID: 12002 Error: java.sql.SQLException: Unsupported feature
ID: 12818 Error: java.sql.SQLException: Unsupported feature
time (sec): 2342.0
time (min): 39.03333333333333
It loads the data,but I see all these errors.
Thanks
PrateekHi Prateek,
I have posted a response at Problem in loading Ntriple to Oracle .
Melli -
OS Command in ORACLE LINUX platform
Hi All,
I am facing the same issue while using OS Command in ORACLE LINUX platform.
I am using the command as ls -1 /home/oracle/data > /home/oracle/data/All_FILES_NAMES.txt
Its working in terminal, But not in ODI procedure.
Its throwing error as 'wrong process return code-2'.
Kindly help me.
Thanks,
HareeCKMs moves the error records to E$ table. In your case I believe you can achieve it through procedure by having first step to copy the error record in MISSED_REC table and then have a second step to read from this tabel and send our email through oditool.
Maybe you are looking for
-
Installing solaris on netra T1 (no cd rom)
Hi all, Sorry for my poor English ;-)) I have a "beautiful" Sun Netra T1 (without cd rom drive connected to it...)and i want to full reinstall it with the new sun solaris 9.... How can i do it ? nb : i have other sun 5.6 or 5.7 solaris ultra 10 in th
-
Apple Mail replies to all on Listervs no matter what
I work for an organization that is having a little trouble with our Listserv. This problem is only with people with use mail through Apple, and there is no correlation between the operating systems that they use. When they get an email from the Lists
-
PSE 10 will not launch after installation of new hard drive
Hello Everyone, I spent a considerable amount of time chatting with the Adobe Help Center yesterday trying to rectify this problem. In a nutshell, I had to get my harddrive replaced yesterday and when I tried to re-launch the program it says that I
-
How do I edit a rotoscope shape after it's created?
I have read the manual, but can't get my roto shape (made with b-splines) back into edit mode to adjust the position of my control points. I've read the manual (yes, I did), and on page 279 of the Motion 3 manual it describes how to do this, but it j
-
Quicktime 7.6.2 currupted files
Hi everybody, I have a problem when exporting files with Quicktime that I can't seem to solve. I'm studiing at an online Animation school and have to upoad my assignment videos every week using the H.264 codec with distinct settings. When I upload th