Search found 227 matches

by paddu
Wed Sep 27, 2006 6:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reset set of Sequence Variables
Replies: 2
Views: 1178

Reset set of Sequence Variables

I searched the forum and got this command to initialize a Sequence_name . UPDATE SDKSequences USING DICT VOC SET F1 = 'New_Value' WHERE @ID = 'Sequence_Name'; I have set of Sequence_Names to initialize at a time before starting data load process. How can i update set of Sequence_Names at once ? We h...
by paddu
Mon Sep 25, 2006 4:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Executing stored Procedure
Replies: 6
Views: 1368

Thank You
Paddu
by paddu
Mon Sep 25, 2006 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Executing stored Procedure
Replies: 6
Views: 1368

i tried this


CALL smdmadm.CHECK_DIM_NULL_VALUE();

CALL smdmadm.CHECK_MISSING_KEY_VALUE();

looks like first procedure exectued . i could see data popluated in the table but i don't see second one executed.

I got thsi warning again
ORA-00900: invalid SQL statement

Thanks
Paddu
by paddu
Mon Sep 25, 2006 4:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Executing stored Procedure
Replies: 6
Views: 1368

Hi

call smdmadm.CHECK_MISSING_KEY_VALUE() worked .Thanks :D

How can i Exec two procedures one after the other ? Shall i use semi-colon at the end of the statement?

Thank You Very Much
Paddu
by paddu
Mon Sep 25, 2006 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Executing stored Procedure
Replies: 6
Views: 1368

Problem Executing stored Procedure

I am trying to execute a store procedure using Oci stage After Sql as Exec smdmadm.CHECK_MISSING_KEY_VALUE It give me this error. ORA-00900: invalid SQL statement can anyone help me out with this. Thsi procedure pulls all the table names , column names , count in that particular schema (smdmadm) and...
by paddu
Sat Sep 16, 2006 10:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data
Replies: 8
Views: 8237

resolved this issue . The issue was with AVG columns . I used round function in my sql query to get rid of decimal place after 5 and it worked fine. You all were right ,data was not fitting into datastage data definintion. Thanks Now i have new issue . We have 20 job sequences . All are put together...
by paddu
Fri Sep 15, 2006 10:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data
Replies: 8
Views: 8237

[quote="ray.wurlod"]No, you can still form a sum or an average even though some of the values are non-positive. Nulls might cause an issue, but you can extract these using the NVL function. No, it's not that. ...[/quote] Ray , i tried using NVL but same error . The same query works fine in...
by paddu
Thu Sep 14, 2006 7:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data
Replies: 8
Views: 8237

Ray,

it runs fine in Toad , i even checked the max count of the sum of columns
it does not exceed the limit .

but few columns which i summing and doing AVG have zeros or negative values mostly, Does this affect?



Thanks
paddu
by paddu
Thu Sep 14, 2006 6:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI has fetched truncated data
Replies: 8
Views: 8237

OCI has fetched truncated data

Hi all i am perfoming aggregation on certain columns and it throws me this warning and aborts ( does not show warning at which record but almost for all the records) DIRECT_SALES_test_2006913..tf_ORDERTYPE: OCI has fetched truncated data Size of the table 8Million My aggregation is through SQL query...
by paddu
Fri Sep 01, 2006 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS Mapping Error
Replies: 4
Views: 2956

NLS Mapping Error

Hi All, i am reading a Flat File (pipe delimited) and writing into Oracle. i see the warning below for about 5 times and my job aborts. nls_map_buffer_in() - NLS mapping error, row 1812940 (approx), row = "0106390580|000010||EA|||52138Z||20060116||00000000|24.000 |24.000 |24.000 |0120|00001|EA|...
by paddu
Wed Aug 30, 2006 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hours to time
Replies: 16
Views: 6356

Yes Craig , I am fine now

Thanks
Paddu
by paddu
Wed Aug 30, 2006 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hours to time
Replies: 16
Views: 6356

I used this before but i realised i was doing something which makes no sense. OCONV(ICONV(out_BURT_TOT.DATEFROM[1,4]:"-":out_BURT_TOT.DATEFROM[5,2]:"-":out_BURT_TOT.DATEFROM[7,2] : " " : out_BURT_TOT.ABIC_ZSTARTIME[1,2]:":":out_BURT_TOT.ABIC_ZSTARTIME[3,2]:&qu...
by paddu
Wed Aug 30, 2006 1:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hours to time
Replies: 16
Views: 6356

I tried what you gave kris but now it does not convert and nulls are not accepted in thisfield. Individual pieces work fine Date conversion and Time conversion but concatenate does not work . Is there any function to convert the whole logic to convert to orcale timestamp. Any help appreciated Thanks...
by paddu
Wed Aug 30, 2006 11:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hours to time
Replies: 16
Views: 6356

No change in the error message ORA-01830: date format picture ends before converting entire input string :( OCONV(ICONV(Arg1[1,4]:"-":Arg1[5,2]:"-":Arg1[7,2],"D-YMD[4,2,2]"),"D-YMD[4,2,2]") : " " : OCONV(ICONV(Arg2[1,2]:":":Arg2[3,2]:"...
by paddu
Wed Aug 30, 2006 11:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hours to time
Replies: 16
Views: 6356

Kris- i tried your logic , it threw the same error.

Craig- I did not follow you exactly . Is there any function to convert the whole function which i am using to convert to Oracle Timestamp format ?