Search found 500 matches

by ag_ram
Thu Dec 20, 2007 4:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure returning records with null
Replies: 6
Views: 1951

Hi I am not able to fix in datastage stored proc stage or in the code (Prepared by DBA). I have made only workaround such as I have put one constraint in the transformer for 3 key columns.(If key columns <> 0 processing the records.) But if anyone has resolution for it...i will be more happier. thanks
by ag_ram
Tue Dec 18, 2007 12:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: MQ and XML Problem
Replies: 5
Views: 3665

Your first explanation solved the problem. I have placed data element as XML. That was creating the problem...it resolved.


thanks
kamal
by ag_ram
Sun Dec 16, 2007 2:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: MQ and XML Problem
Replies: 5
Views: 3665

One more information: If I split the job into 2 (one job is having XML file creation and another job where I put message into MQ) there is no problem in datastage. The error is recurring only when I have XML output stage and MQ in single job. For any further information on the issue, please revert b...
by ag_ram
Sun Dec 16, 2007 2:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: MQ and XML Problem
Replies: 5
Views: 3665

MQ and XML Problem

Hi I am creating an XML using XML out put stage, then I trying to put the message into MQ. I am getting following error. MQ_PutOrders: [IIS-CONN-WSMQ-000003] Argument uszDataElementName has invalid value XML (CC_WSMQUtil::buildWSMQDataElement(), file CC_WSMQUtil.cpp, line 1,289) Extract of XML is so...
by ag_ram
Sun Dec 16, 2007 1:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure returning records with null
Replies: 6
Views: 1951

Hi chulett, You are right. I forgot to mention...datastage extracts data from SQL server through stored procedure stage. When I execute the same stored proc in toad, it is returning no records but in datastage, it is extracting 1 record with null values for all the columns. Let me have a talk with D...
by ag_ram
Sat Dec 15, 2007 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure returning records with null
Replies: 6
Views: 1951

Adding to this...

If execute the same select query in toad it is returning 0 records.
by ag_ram
Sat Dec 15, 2007 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure returning records with null
Replies: 6
Views: 1951

Stored procedure returning records with null

Hello

I have no data in tables.

It is still returning 1 row with all the null values in the columns.

If table has 4 rows then it is returning 5 rows with one extra record having all values as null.

Can any one has clue?
by ag_ram
Tue Dec 11, 2007 2:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mapping logic for XML output stage
Replies: 2
Views: 1106

Mapping logic for XML output stage

Hi I have 1 line items XMLs. I need to put these 3 elements into the Orders element Ex: job: dataset1--------XML1----------| lookup --------XMLoutputstage dataset2 -------XML2----------| XML2 will give 3 line items XML1 will give XML: <Order><a><b></Order) XML2 will give XML: <Line_Item> for Lookup ...
by ag_ram
Mon Dec 10, 2007 4:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure in MS SQL server returning cursors
Replies: 2
Views: 967

Stored Procedure in MS SQL server returning cursors

Hi

I have a stored procedure which returns 2 cursors. My stored procedure has been written in MS SQL dabase. Can datastage handle this stored procedure... I mean whether datastage supports multiple cursors as output paramter of a stored procedure ?


Please reverk back.

Thanks
kamal
by ag_ram
Tue Dec 04, 2007 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer
Replies: 10
Views: 2369

Thanks for ur reply guys, it works fine.
by ag_ram
Mon Dec 03, 2007 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer
Replies: 10
Views: 2369

thanks for ur reply, but my requirement is like i should not pass a record on the first time I see each particular combination, if combination repeats i should reject that combination entirely, whichever combination comes only one time i shud select that.
by ag_ram
Mon Dec 03, 2007 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer
Replies: 10
Views: 2369

Transformer

Hi, I have a requirement as follows. there are 3 columns User,role, and code sample records U1,R1,D U1,R1,U U2,R1,D U2,R2,U and i need to select only U2,R1,D U2,R2,U meaning i should not select if same user/role combination has 2 codes, in the above ex U1/R1 combination has two codes D and U and so ...
by ag_ram
Fri Nov 16, 2007 3:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal round off
Replies: 6
Views: 3879

Hi, Ya Maveric my target is a database, you meant to swithoff the RCP in the datastage administrator right. I have found one solution for this problem,that is after dividing the decimal by 100 convert the value to Float as suggested by gopal(Thanks :) ) and futher we can use a transformer stage to u...
by ag_ram
Thu Nov 15, 2007 11:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal round off
Replies: 6
Views: 3879

Re: Decimal round off

[quote="ag_ram"]Hi,

I changed the target to float at the intermediate step it's working fine,but my target is still decimal(5,3),so at the target it's getting rounded off.
by ag_ram
Thu Nov 15, 2007 4:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal round off
Replies: 6
Views: 3879

Decimal round off

Hi, I have the value of input column as 99.99 whose metadata type is Decimal(5,3),this is further divided by 100 in the transformer stage and the output is coming as 1.0, the datatype in output is same as Decimal(5,3).But I require the value to be 0.999 and not as 1.0 without rounding off.Is there a...