Search found 57 matches

by bakul
Wed Nov 24, 2004 10:06 pm
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: Merge 2 XML documents
Replies: 4
Views: 4154

A merge stage cannot be used in this scenario because a merge stage takes no inputs. The xml documents to be merged are generated in the job itself. Also,any passive stage with both an input and output link cannot be used in an RTI enabled job.
by bakul
Wed Nov 24, 2004 7:49 am
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: More than one XML Repetition path
Replies: 1
Views: 3423

More than one XML Repetition path

Is it possible to specify more than one XML Repetition path?
by bakul
Wed Nov 24, 2004 7:11 am
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: Merge 2 XML documents
Replies: 4
Views: 4154

Merge 2 XML documents

Is there anyway to merge 2 XML documents. I don't want to concat them,I want to merge them.

I have 2 transformers generating 2 different XML's but the output has to be a single XML.Is there any way to accomplish this?

Thanks and Regards,
Bakul

:?:
by bakul
Mon Nov 22, 2004 4:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 5278

Thanks all for the response! I have used job parameters and that seems to help!
by bakul
Fri Nov 19, 2004 6:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 5278

I'll try to explain what I want to do. I have to generate 2 types of queries based on an input parameter. In one query , I need to select the rows with field 'STATUS' = 'A' . In another query, I need to select the rows if the 'STATUS' is either 'A' or 'B' or 'C'. The query to run depends on the inpu...
by bakul
Fri Nov 19, 2004 3:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 5278

Dynamically generate where clause-Urgent

I have a situation where I have to retrieve values for the same fields from a DB2 database every time but the where condition depends on the input data.
Is there any way to dynamically change the where clause in a DB2/UDB or ODBC stage used for lookup?

Thanks and regards,
Bakul
:roll:
by bakul
Wed Nov 17, 2004 12:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2790

I tried writing DBMSCODE, SQLSTATE and REJECTEDCODE to a sequential file. I had given 3 records as input, each of which had a required column missing. I also tried giving a NULL value to a NON-NULL field. In the output sequential file the DBMSCODE and SQLSTATE are blank. The REJECTEDCODE shows a val...
by bakul
Tue Nov 16, 2004 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2790

Yep..that seems to be it! But now I have a problem with insert/update. The structure is something like this, Input ------> Tfm1 ------> DB2/UDB | | | XMLOutput None of the links here are lookup links. The link ordering is such that, the insert/update to DB2 happens first and then the data is passed ...
by bakul
Tue Nov 16, 2004 2:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2790

I had another doubt. If LASTERR/DBMSCODE/SQLSTATE variables aren't available till the PUT operation on the output link is over,what constraint should I use to send rows with errors on link OUTPUT2 and the correct rows on OUTPUT link? Note: The output stage is not a static stage in both cases. Thanks...
by bakul
Tue Nov 16, 2004 2:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2790

Thanks Ray!
I guess I'll have to try and work around it! :!:

Thanks and Regards,
Bakul
by bakul
Mon Nov 15, 2004 11:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2790

A little problem

Thanks Ray! But I have a problem. I want the DBMSCODE or SQLCODE which indicates the error to be carried forward on the same output link as the remaining data and so cannot use a second output link Output2. Any suggestions on how I could carry forward the DBMSCODE/SQLCODE on the same link as the dat...
by bakul
Thu Nov 11, 2004 4:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE
Replies: 10
Views: 2790

SQLSTATE

Hi, I am using a DB2/UDB stage for lookup. I need to access the SQLSTATE and DBMSCODE variables in the transformer. However,even when a match is not found in the lookup, the SQLSTATE and DBMSCODE fields in the transformer are blank. How do I get the exact sqlstate in the transformer? db2/udb | | <lo...