Search found 17 matches

by ssharmila
Wed Dec 30, 2009 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting OLE DB provider error: Unspecified error. Warning
Replies: 1
Views: 1613

Getting OLE DB provider error: Unspecified error. Warning

Hi
i have used MS SQL server load stage as my target. After executing the job, only few records got loaded in it. Am getting warning as OLE DB provider error: Unspecified error. Why its so. plz help me to overcome the warning and to load all the data into DB

Thnks
by ssharmila
Wed Oct 14, 2009 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Failed to convert column from DataStage type to OLE DB type.
Replies: 3
Views: 2913

chulett wrote:Don't know SQL Server but what is the data type of the target column in the actual table? (not the job) ...

Its numeric column.
by ssharmila
Wed Oct 14, 2009 12:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Failed to convert column from DataStage type to OLE DB type.
Replies: 3
Views: 2913

Failed to convert column from DataStage type to OLE DB type.

Hi , I have a job in which target is SQL server database.And we are SQL server bulk stage for the target. I have two columns in source with datatype Numeric and length 15 Performing some calculations and populating to target column of length 6. And the warning in log file shows as below CustLoadHist...
by ssharmila
Tue Oct 13, 2009 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OLE DB provider error
Replies: 3
Views: 2480

Re: OLE DB provider error

chitravallivenkat wrote:could you please give the SQL statement used in that stage?


No sql statements in tht stage
Data is finely passing till the transformer that is before target stage.
am using MS SQL Server Load stage in target. the problem is i cant load into it. its throwing error.
by ssharmila
Tue Oct 13, 2009 6:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OLE DB provider error
Replies: 3
Views: 2480

OLE DB provider error

Hi,
Am getting the following warning while running the server job.

Load: OLE DB provider error: The statement has been terminated.

Please Help me in solving this...

Thanks n advance.
by ssharmila
Mon Aug 24, 2009 2:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: transformer condition
Replies: 4
Views: 2382

data is from sequential file

data is from seq file. So in transformer i have to give any condition to retrieve the column name in which the value is present. Where is the data sourced from? If the source is a database, you may be able to do this. For sequential files, you may have to reference the metadata by position or other ...
by ssharmila
Mon Aug 24, 2009 1:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: transformer condition
Replies: 4
Views: 2382

transformer condition

Only in few columns data will be present. rest are null values.. I used pivot stage to merge multiple columns to a single one. In which am taking only the values and ignoring the nulls etc. i need to know in which column that data is present. i can use the If condition in transformer. but large no. ...
by ssharmila
Tue Jun 16, 2009 12:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting positon of value
Replies: 6
Views: 2885

chulett wrote:Correct, you'd need to write a custom routine to leverage that. Plus convert all those commas to Field Marks or Value Marks or some kind of dang marks first. :wink: ...
Thank you all...I will try to write routine for that
by ssharmila
Mon Jun 15, 2009 5:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting positon of value
Replies: 6
Views: 2885

getting positon of value

can anyone tell me how to get positon of value in a list??

ex, A is an input having value like (1,2,3,4), i want to get the position of 2 in it...how can i implement this? Thanks in advance
by ssharmila
Thu Jun 11, 2009 5:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: giving filepath as argument in server routine
Replies: 3
Views: 2576

Re: giving filepath as argument in server routine

Pagadrai wrote:Hi,

Did you try passing the filepath value as a string to the routine.
Or Can you please give more details about the method you are following and the error encountered?

Thanks... now its working
by ssharmila
Thu Jun 11, 2009 3:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: giving filepath as argument in server routine
Replies: 3
Views: 2576

giving filepath as argument in server routine

when i am trying to give filepath as a argument in server routine, it shows Parameter format not correct. Anyone tell me how can i pass filepath as argument??Thanks in advance
by ssharmila
Thu Jun 11, 2009 3:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: issue in deleting file using ExecDOS command
Replies: 6
Views: 3997

The command will execute in the DataStage project directory, if the file name is not qualified. You probably need DEL /F X:\folder1\folder2\A*.* ... Thanks all for ur support. I mentioned the filepath in the job properties where the bat file present and also where it goes to check the empty file .....
by ssharmila
Wed Jun 10, 2009 10:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: issue in deleting file using ExecDOS command
Replies: 6
Views: 3997

What is the command you are giving in ExecDOS ?? Are you giving absolute path ? Thank you all...del A*.*, this is the command i worte in bat file. I gave filepath as a parameter .I will give the path while runtime. Once the job ran, ExecDOS routune have to go to that path and delete the file start ...
by ssharmila
Wed Jun 10, 2009 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: issue in deleting file using ExecDOS command
Replies: 6
Views: 3997

issue in deleting file using ExecDOS command

i am trying to delete file using ExecDOS , this command searching the file in default datastage directory like C:\Ascential\DataStage\Projects\Practice1.If file is present in it , it ll be deleted. But i want to search it in given directory while runtime, (ex, c:\Folder) like this.Anyone tell me wha...
by ssharmila
Wed Jun 10, 2009 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: delete file using afterjobroutine
Replies: 7
Views: 2860

You don't need a routine, just use ExecDOS after job and issue the del command from there, which is the DOS 'delete file' command. ... Thanks.. I executed in DOS successfully.But i am in need of deleting the file depends on one input. ex.if col.A='DOS' then delete A.txt file else if col.A='Unix' th...