Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6671767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:25:42+00:00 2026-05-26T03:25:42+00:00

Oracle DB/Windows XP:- I am running an batch file that calls an .ctl file

  • 0

Oracle DB/Windows XP:-
I am running an batch file that calls an “.ctl” file which in turn calls an “.xls” file, both present in the same folder.
The idea is to load the data onto Oracle db present on an remote oracle server.(non local machine)

I am getting this error, no matter what I do.

Oracle error:- LRM-00116: syntax error at ‘control’ following ‘=’

The .bat file code is as below

    rem SET SQLLOGIN=remod/P3w1d0ry@wsd

    pause Ready to Load the remo.Temp_data Table

    sqlldr userid=%SQLLOGIN% control=TempData.ctl errors=100 

    pause

The .ctl file is as follows:-
LOAD DATA
INFILE "data.xls"
replace
into table remo.Temp_data
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
test_abbr "rtrim(:test_abbr)",
test_pk       "rtrim(:test_pk)",
test_sk       "rtrim(:test_sk)",
test_dt       "rtrim(:test_dt)",
test_email       "rtrim(:test_email)",
)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:25:42+00:00Added an answer on May 26, 2026 at 3:25 am

    You’ve remarked out the the SET of SQLLOGIN. Also you might want to put a call in front of the sqlldr statement. You’ll also need some data to load…

    SET SQLLOGIN=remod/P3w1d0ry@wsd
    
    pause Ready to Load the remo.Temp_data Table
    
    call sqlldr userid=%SQLLOGIN% control=TempData.ctl data=mydata.csv errors=100 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here: http://download.oracle.com/docs/html/A95907_01/diff_uni.htm#1077398 I found that on Windows Oracle is thread based, while on Unix
I want to develop windows service in Delphi that communicates with an Oracle server
I have an Oracle 8.1.7 Server running on Windows 2000 Advanced Server in a
We have an Oracle server running in a remote server which only has an
Platform : Windows running Oracle 10g I have to modify some old dll library
I'm running Windows Server 2003 on a 64-bit Itanium server which is also running
I'm running Oracle 11g on Linux and I'm trying to run a script which
I am running a non-english Windows 7 system, and apparently Oracle SQL Developer (version
Sometimes my Oracle database on Windows gets hosed. How do I do a manual
How do I use Windows Authentication to connect to an Oracle database? Currently, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.