Sqlldr not working in 10gAS
Hi,
I've been having this problem for the last couple of days and have read all the threads on using the sqlldr command with HOST through Forms 9i to load data from application server into the database.
I've tried most of the suggestions but have still come up with a blank. Basically, this is the problem, I have a form that has to load a file that is on the c:\temp into the temp_table table in the database. I have the control file in the c:\temp folder on the application server. sqlldr works fine when I execute it from the command line in the application server with the exact same command I'm passing through the HOST command. But when I execute it through the HOST command, sqlldr doesn't even get loaded because, the log file specified is not even getting created.
The AS has 2 Oracle homes, 1 for 10g Suite and another for the oracle client which includes sqlldr. Both the paths are setup for the path variable in the .env file. I've also tried creating a bat file on the application server which runs perfectly when executed on the application server, but executes everything except the sqlldr command in the bat file. My bat file looks like this -
REM tam.bat
sqlldr>tam3.txt
path>tam4.txt
Out of this, tam3.txt gets created as a blank file, while tam4.txt contains the correct path, including the path to the sqlldr.exe
Is there anything I have missed in configuring this? My HOST command I was using which didn't work, looked something like -
sqlldr user/pass@db control=c:\temp\tam.CTL LOG=c:\temp\tam.LOG DATA=01.txt
Works perfectly when executed on the AS from a command prompt, but just won't work through the HOST command. The HOST command is able to produce other results just perfectly though.
Would really appreciate any help on this, have really been frustrated with this. I know this has been long and windy, but thought I'd give all the facts straight out.
Best regards
Tamim
It appears that you are using Windows and not a Unix platform.
At least two things need to happen in order for SqlLoader to work using HOST:
CHANGE THE SERVICE PROPERTIES
1. Open the Windows Management Console for Services and locate the service for the Mid Tier Oracle Process Manager (OPMN).
2. Open the properties for this service and select the Log on tab. Check the box labeled "Allow service to interact with Desktop". Apply and save changes. This will require that OPMN be restarted.
SCRIPT THE SQLLOADER CALL
Shells started with HOST do not contain any of the system variables. This means that PATH, CLASSPATH, ORACLE_HOME, etc are not set. So when you make a call to an app like SqlLoader which expects certain environment variables to be set, it will likely fail. The problem is that HOST does not report this failure back to the form. You need to script the call to SqlLoader. You must first set all the needed variables. Here are just a few:
PATH
ORACLE_HOME
ORACLE_SID
TNS_ADMIN
See Metalink Note 221533.1 for more info.
Similar Messages
-
Sqlldr not working in linux 9 crontab
hi,
I tried running a .sh file(mod 777),having script
sqlldr file=test.dat contolk=test.ctl log=test.log
it is working manually ,but when i execute it through sqlldr it is not working.my cron file is:
33 * * * * ./test.sh
test.sh is in my home directory.
other rm,mv commands r working fine in crontab,but only sqlldr is not working .
Pls help
regards and
thanksCorrect me if I am wrong.
I think you should allow "oracle" to use crontab (add oracle in cron.allow). And then
crontab -e
Append your scripts.
E.g.:
* * * * * . /export/home/oracle/.bash_profile; /export/home/oracle/script.sh >> /dev/null 2>&1
$ crontab <cron_file> -
Hi all,
I am facing an issue while uploading CTL file using sqlldr command.Initially i was not having sqlldr cmd on my bin folder of orant installation..Later i copied from another instance.now when i am trying to execute same command it not uploading data to sql table even it is not giving any error,Not even making log file.
when i tried to execute the same command on command prompt,it is throughing error:
The procedure entry point sllfnctl could not be located in the DLL oracommon10.dll
Plz help.In addition of proper software installation, if your PC has multiple Oracle_Home, then you will encounter this error as well. Just change the PATH to point to 1 Oracle_Home, as illustrated
Example of mixture of Oracle_Home in PATH:
PATH=C:\oracle\client_1\bin;c:\oracle\client_2\bin;c:\windows;c:\windows\system32
Change to 1st Oracle Home, and try sqlldr
PATH=C:\oracle\client_1\bin;c:\windows;c:\windows\system32
If failed, try next Oracle_Home
PATH=c:\oracle\client_2\bin;c:\windows;c:\windows\system32
Please note you can safely remove all jdk, jre directory that is not require by sqlldr. This will make the PATH more readable and easier to troubleshoot
Note: Actual PATH will be longer. Above is mainly to highly multiple Oracle Home that require by sqlldr, not for other Oracle programs, nor any software that installed by individual user
All installation software, including Oracle registered the DLL into Windows registry. So it is crucial to use the installer to install in order to have all the registry setting. For UNIX, copy the file works, as they don't rely on the registry. However, you need to include oraInventory, /usr/local/bin, /etc/oratab, and /etc/oraInst.loc -
SQl loader is not working in 10g but working in 9i
In My PC i have installed both 9i and 10g. could you please tell me why it is not working
"SQL loader is not working" is rather like "my car won't start" http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
The 9i Oracle Client install includes sqlldr. The 10g Oracle Client install does NOT include sqlldr. You'd have to do a "Custom" Install and specifically select "Oracle Database Utilities" to install.
See MetaLink Note#437377.1
Edited by: Hemant K Chitale on Dec 31, 2008 3:58 PM
Edited by: Hemant K Chitale on Dec 31, 2008 4:00 PM -
Java Discussion Forum - Post topic not working
I've deployed the Java Discussion Forum contributed by CLAURENT in Knowledge Exchange. Deployed to 10gAS in JDev 9051. I've modified a few deprecated classes and made the appropraite changes to orion-applications.xml to point to the correct JPDK jars when deployed under Linux.
The application is operating properly with no errors. The administartion portlet can modify and create new forums. However, Posting a topic does NOT work. And it doesn't throw any errors on screen or in the console log (application.log) or the log4j log (forumprovider.log). Has anyone run into a problem like this?
Thanks. LEHI have exactly the same problem on the Portal 10g release 2.
Normally the "dit of a new topic" calls the EditPostAction but after submitting the form, nothing reachs this action.
I check this in debug mode and add several logs and I don't see nothing appearing for this action.
Did you find a solution? -
Hi ,
We are running a unix script as part of batch job which uses sqlldr command. It was working fine for the past few year . They ran some patch two weeks back and the problem started. The sqlldr command behaves randomly. sometimes it works and some times its not.
we are getting
SQL*Loader-128: unable to begin a session. ORA-01017: invalid username/password;
error.
following are the command we are executing . and we have a script which called at the begginning of main script which exports all the environment variables and it also set the oracle environment by . oraenv command.
echo $(/csapps/oracle/scripts/schema_password -s $ORACLE_SID -o $username)|$SQLLOAD $username@$ORACLE_SID control=$LOCATION_CTL/$WIP_DATA data=$LOCATION_FTP/$WIP_DATA_FILE \
log=$WIP_DAT_LOG bad=$WIP_DAT_BAD silent=FEEDBACK BINDSIZE=$WIP_MAX_BINDSIZE DIRECT=TRUE
Any help is much appreciated.Hello user648844.
You are going to want to identify what was patched. Since the problem seems to be authentication, check first to see if the user/password is valid. Second, I'd recommend checking to see if schema_password was patched. All other commands are OS or database related and I would expect that the scope of the impact would be much larger if something there was changed and not working.
Hello Jean-Valentin.
user648844 is passing the password by using echo $(/csapps/oracle/scripts/schema_password -s $ORACLE_SID -o $username)|$SQLLOAD This works because SQL*Loader will start to log on, find that it hasn't been provided a password and then it will prompt for one...the pipe passing the password to that prompt. I expect that the schema_password program accesses files containing the passwords for different users for different databases. If you are considering using this approach, please keep in mind that execution can be logged and in that case the password may appear in the logs; I'm not sure if the password could be viewed through ps with this approach.
Hope this helps,
Luke -
Not work tablet UI on Prestigio 5080 PRO tablet
I read that browser.ui.layout.tablet = "1" can fix this problem. But it not works. I can work only in pnone interface that is not good for my 8'' tablet.
Would it be possible for you to share the problematic pdf and OS information with us at [email protected] so that we may investigate?
Thanks,
Adobe Reader Team -
Why self-defined access sequences of free goods can not work?
Hi gurus,
I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
when i used the standard access sequences ,it is OK .
Can anybody tell me why?
thanks in advanceDear Sandy,
Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
Make sure that these fields are flowing in your sales order.
I hope this will help you,
Regards,
Murali. -
Adobe bridge raw not working with windows vista in photoshop cc, why?
adobe bridge raw not working in photoshop cc, is there a fix?
Your sure your using photoshop cc on windows vista?
I was under the impression that photoshop cc would not even install on windows vista.
What version of camera raw do you have?
In photoshop under Help>About Plugin does it list Camera Raw and if so which version is it?
(click on the words Camera Raw to see the version)
Camera raw doesn't work if it's a camera raw file or some other file type such as jpeg or tif?
What camera are the camera raw files from?
Officially camera raw 8.3 is the latest version of camera raw that will work on windows vista. -
Adobe Bridge CS5 in windows 7 not working?
Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
Tried to install creative cloud..again some error. Error code : 82
Could you please advice how I can fix my adobe bridge.https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager -
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
-and step by step http://forums.adobe.com/thread/1440508?tstart=0
-and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html -
Partner application logoff not working
We have a partner application registered with sso with custom login screen. The login works fine. We use the following code to logoff the partner application in logoff.jsp
response.setHeader("Osso-Return-Url", "http://my.oracle.com" );
response.sendError(470, "Oracle SSO");
session.invalidate();
but the logoff is not working properly. It is not invalidating the session and the logout http request is not going from the application server to the sso server.
Are there any additional configurations for SSO logoff.Any help is appreciated.
ThanksHi
The WF should also trigger if i add the Partner function in UI.If i change any Attribute the WF triggers but i dont want to change the attribute when i add the partner function.
If i have only one event for WF that is Partner Change the WF will not trigger it for the 1st time when i save the UI. But next i come to the same saved doc and add a partner function then the Wf triggers.
So this means that Partner change is active.
the issue here is i need to trigger the WF on , the 1st time i save the UI, for which i wil be using Attribute Change and next time when i come back to saved doc the and add only the partner function and no changes are made to attributes the WF should again trigger.
Thanks
Tarmeem -
IPhone 4 Voice Memos not working/saving
Hi there,
I'm having trouble with my voice memos too. Up until yesterday they were working fine and now, even though the record button works, the stop button does not and I can only pause them. Worse again is that the button to go into the menu to view all voice memos is not working so I can't play them from my iPhone and nothing new is saving to my iTunes. Please help!I've always had the "Include Voice Memos" option selected. I think that only pertains to syncing voice memos from iTunes to the iPhone after it has been copied to iTunes. It has to be the new OS/iTunes not communicating that new memos have been recorded. For some reason they won't sync when I want them to, and then a few syncs later they magically appear.
By the way, I'm VERY comfortable with the iTunes and iPhone systems. I've been using iTunes for 5 years, and I've been recording class lectures with the iPhone voice memo app (and another app) for a couple years. It's not an error of not seeing that the memos were added; they don't exist in my library or music folders.
JUST OUT OF CURIOSITY, POST WHICH FIRMWARE YOU ARE RUNNING EXACTLY!!!
I'm on an iPhone 4, running firmware 4.0.1 -
Installed Premiere Pro CS4 but video display does not work?
I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
2) the UI is way too slow for my big beefy system.
My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
Any ideas how to solve this CS4 install issue?
RonI would like to thank Dan, Hunt, and Haram:
The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
My PC is brand new with the following "beefy" components:
Motherboard
nForce 790i SLI FTW
Features:
3x PCI Express x16 graphics support
PCI Express 2.0
NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
Overclocking tools
NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
ESA Certified
NVIDIA DualNet and FirstPacket Ethernet technology
Registered
CPU: Intel Core 2 Quad Q9550
S-Spec: SLAWQ
Ver: E36105-001
Product Code: BX80569Q9550
Made in Malaysia
Pack Date: 09/04/08
Features:
Freq.: 2.83 GHz
L2 Cache: 12 MHz Cache
FSB: 1333 MHz (MT/s)
Core: 45nm
Code named: Yorkfield
Power:95W
Socket: LGA775
Cooling: Liquid Cooled
NVIDIAGeForce GTX 280 SC graphics card
Features:
1 GB of onboard memory
Full Microsoft DirectX 10
NVIDIA 2-way and 3-way SLI Ready
NVIDIA PureVideo HD technology
NVIDIA PhysX Ready
NVIDI CUDA technology
PCI Express 2.0 support
Dual-link HDCP
OpenGL 2.1 Capaple
Output: DVI (2 dual-link), HDTV
Western Digital
2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
Features:
10,000 RPM, 3 Gb/sec transfer rate
RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
p/n: TW3X4G1333C9DHX G
product: CM3X2048-1333C9DHX
Features:
XMS3 DHX Dual-Path 'heat xchange'
2048 x 2 MB
1333 MHz
Latency 9-9-9-24-2T
1.6V ver3.2 -
Ideapad A1-07 tablet wifi-bluet​ooth does not work!
Hello everyone. As you can see from the title on my tablet is not working wifi and bluetooth. When turning wifi tablet is reset and continues to be off and on until it forcibly turns off, and when you turn it on again, and do not touch wifi everything is normal and there are no problems with resetting. Can someone help me and give suggestion to solve this stupid problem. I'm from Croatia and I'm bad with the English writing.
Hi
Welcome To Lenovo Community
Please perform a factory reset
Please ensure you have backed any important data before doing factory reset
Hold the volume down and the power till Lenovo logo appears .
System will boot into recover mode. Follow the instructions
Hope This Helps
Cheers!!!
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with Kudos!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter!
Maybe you are looking for
-
Сведения о приложении Имя Firefox Версия 7.0.1 User Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.16) Gecko/20110319 MRA 5.6 (build 03278) Firefox/3.6.16 WebMoney Advisor Папка профиля Открыть его папку Включённые плагины about:plugins
-
Why am I seeing outgoing and incoming text from another phone number that is on my plan?
Why am I seeing outgoing and incoming text from another phone number that is on my plan?
-
N79 - Where is the delete key?
I just bought the N79 phone and realised there is no "Delete" key. In all my previous phones one key was always designated as the "delete" key. Help!!
-
Error is thrown ONLY when the job is run doe delivery creation
Dear SDNres, I am facing a tricky issue. I have a job that creates Sales order , Delivery, Billing. When the sales order contains line items <=8 then the job runs fine and creates delivery successfully When the sales order contains line items more th
-
Getting a slide to OVERLAY the content below
I have a side with an information div... right below when someone clicks on the informational div thing, a slider pops out below it with a form. What I'd like to do is have arbitrary content below the information div thing and when the slider pops ou