Command Prompt Error in Oracle SP2-0042 Unknown Command

I'm trying to create a control file in the command prompt, so I can load a flat file (tilde delimited) but I keep getting an error when the LOAD DATA command is invoked.  Here's the script and what am I doing wrong?

-- This is the SQL*Loader for  Items

LOAD DATA
INFILE      'Z:\JR Osuna\extracts_items tilda delimited\ITEMS_MFG.txt'
BADFILE     'Z:\JR Osuna\extracts_items tilda delimited\ITEMS_MFG.bad'
DISCARDFILE 'Z:\JR Osuna\extracts_items tilda delimited\ITEMS_MFG.dsc'
TRUNCATE
INTO TABLE trex_inv_items_mfg_copics_stg
FIELDS TERMINATED BY "~"
TRAILING NULLCOLS                                      
(
MITEM                 CHAR "TRIM(:MITEM        )",
MLLC                  CHAR "TRIM(:MLLC         )",
MRACN                  CHAR "TRIM(:MRACN        )",
MTYPN                  CHAR "TRIM(:MTYPN        )",
.....many more rows....
)

Thanks.

Joalkat
JoalkatAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MikeOM_DBACommented:

>> I'm trying to create a control file in the command prompt, ...
You create sql*loader control files with an OS editor NOT is sql*plus...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JoalkatAuthor Commented:
Thanks, it worked...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.