Search found 394 matches

by samsuf2002
Tue Mar 25, 2008 3:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

Ray - I just want to convert seq file into xml , i gave all the schema in the Description for each data element and i am using the same job flow as you said seq---tx---xmloutput . In my output i am getting first record in xml format starting with <?xml version="1.0" encoding="UTF-8&qu...
by samsuf2002
Tue Mar 25, 2008 9:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

convert to xml file

Hi All, I am trying to convert a txt file comma seperated into xml , what are the steps i need to follow.

Thanks in advance
by samsuf2002
Wed Jan 09, 2008 10:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert string to timestamp am or pm
Replies: 20
Views: 7860

what part of my post you dint understand ?
by samsuf2002
Wed Jan 09, 2008 4:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Most effective way to define a constraint
Replies: 5
Views: 2619

You should have post this in server forum to get better response, are you getting any issues with the constraint you provide ?
by samsuf2002
Wed Jan 09, 2008 4:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: When checking operator: Dropping component
Replies: 1
Views: 2848

looks like you are joining two columns of same name so thats why it is dropping that colunmns , try to change the name of the col you want to join in reference or source data set and then try.
by samsuf2002
Wed Jan 09, 2008 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query Regarding Change Capture stage malfunction
Replies: 5
Views: 3268

What are the properties you are using in CDC ? i think the change value property should be 'Explicit keys and All values'.
by samsuf2002
Wed Jan 09, 2008 9:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert string to timestamp am or pm
Replies: 20
Views: 7860

Try the derivation given by ArndW and another way I suggest to do it as a substring, like date and time. U can change the date by using stringtodate() and keep the time as string to tranform it for am/pm using stage variables.
by samsuf2002
Tue Jan 08, 2008 9:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job compile error
Replies: 7
Views: 3139

Can you please post the error you are getting ?
by samsuf2002
Tue Jan 08, 2008 9:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job compile error
Replies: 7
Views: 3139

What is the compiler you are using ?
by samsuf2002
Wed Sep 12, 2007 9:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage returns a NULL value as '0' in Lookup stage
Replies: 6
Views: 11680

For int if the look up fails it give 0 if u want null instead of 0, u can convert it in the transformer from valuetonull ,as for data types try using Cont_Id as decimal (lenght,0) .
by samsuf2002
Wed Sep 12, 2007 9:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture Warnings in Log
Replies: 6
Views: 2239

Check that all the properties , data types and keys in both input files are same and change the CDC property tp Explicit Keys, All Values as suggested by minaj if u want to compare all the columns.
by samsuf2002
Fri Jun 22, 2007 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deleting rows from a table and then inserting rows
Replies: 6
Views: 1520

In your target stage you will option for open command (sql executes before loading the table) and close command (sql executes after loading the table), since you need to delete the those entries with id 1,2,3 before loading the table you can use open command to sql for your criteria.
by samsuf2002
Wed Jun 20, 2007 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup condition
Replies: 1
Views: 595

lookup condition

I am runnning a PX job in which i am doing a lookup to SQL server tbl on a certain where condition ,i want to select only first one row from the table on that condition and i want to do that in lookup stage or transformer but not in sql server stage..how can i do that any suggestions will be appreci...
by samsuf2002
Wed Jun 20, 2007 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: timestamp_format -> not a valid format
Replies: 4
Views: 1532

You can use TimestamptoDate() function if you want only date part from your input timestamp and you can specify your default date format in your target stage.