The call to sqlldr failed; the return code = 256;

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

The call to sqlldr failed; the return code = 256;

Post by pavankatra »

Hi we are facing problem when we are loading data into oracle table.stage used is oracle enterprise stage.error is below.

Oracle_Enterprise_3,1: The call to sqlldr failed; the return code = 256;
please see the loader logfile: C:/IBM/InformationServer/Server/Scratch/ora.6172.514000.1.log for details.


Datastage version :8.1
Oracle version: 9i

Please anyone help to sortout this issue.

Thanks in advance.
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Oracle enterprise stage calls the oracle sqlldr when the mode is 'Load'. Since its not native to Datastage the errors are stored in log files.

So, Please check the file C:/IBM/InformationServer/Server/Scratch/ora.6172.514000.1.log for errors.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

Post by pavankatra »

priyadarshikunal wrote:Oracle enterprise stage calls the oracle sqlldr when the mode is 'Load'. Since its not native to Datastage the errors are stored in log files.

So, Please check the file C:/IBM/InformationServer/Server/Scratch/ora.6172.514000.1.log for errors.
thanks for your reply.

Oracle_Enterprise_20,0: SQL*Loader-350: Syntax error at line 1.
Oracle_Enterprise_20,0: Expecting keyword LOAD, found "True".
Oracle_Enterprise_20,0: True
Oracle_Enterprise_20,0: ^
Oracle_Enterprise_20,1: The call to sqlldr failed; the return code = 256;
please see the loader logfile: C:/IBM/InformationServer/Server/Scratch/ora.5208.144000.1.log for details.

below is the information in log
SQL*Loader: Release 10.2.0.1.0 - Production on Thu May 6 17:56:05 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.

SQL*Loader-350: Syntax error at line 1.
Expecting keyword LOAD, found "True".
True
^


Oracle_Enterprise_20,1: The runLocally() of the operator failed.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Check the corresponding ctl file.
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

Post by pavankatra »

Sainath.Srinivasan wrote:Check the corresponding ctl file. ...
I am sorry, i didnt get what you are saying.Can you please ellobrate what is ctl file and how to check that ctl file.

thanks for your reply.
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

just change extention from '.log' to '.ctl' in the file name mentioned. Thats the SQL Loader control file, check that file.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

Post by pavankatra »

priyadarshikunal wrote:just change extention from '.log' to '.ctl' in the file name mentioned. Thats the SQL Loader control file, check that file.
Thanks for your help.

There we have two files one is with ".log" and secon one is ".ctl"

So what i need to do to resolve this issue,please suggest me.why because i was strucked.It is almost end of the project.

thanks in advance.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Post the contents of the "control" file, the one with the .ctl extension.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

pavankatra wrote: So what i need to do to resolve this issue,please suggest me.why because i was strucked.It is almost end of the project.
Is this the only table in your entire project ? You say it is the end of the project ?

Your inhouse Oracle person must be able to assist with the control file issue.
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

Post by pavankatra »

Sainath.Srinivasan wrote:
pavankatra wrote: So what i need to do to resolve this issue,please suggest me.why because i was strucked.It is almost end of the project.
Is this the only table in your entire projec ...
no,i am loading the data into 3 tables.It is my last step thats why i asked you like that.

Thanks in advance.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

But you havent posted the ctl file content yet.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Either that or involve someone who knows how sqlldr works, someone like your DBA for instance.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dsfamily
Participant
Posts: 26
Joined: Tue Jul 13, 2004 3:01 pm
Contact:

Post by dsfamily »

Please install fixpack1 and this issue will fade away
Post Reply