Search found 126 matches

by praburaj
Tue Sep 14, 2010 4:01 am
Forum: General
Topic: Need Output for XML CLOB DATATYPE
Replies: 4
Views: 2592

Need Output for XML CLOB DATATYPE

Hi all, I have received XML file from the source system which is stored as a clob in the db2 table. Now I have data like this in my xml file. <Object name="Person"><Attribute name="Name"><Scalar>david</Scalar></Attribute><Attribute name="erfestival" type="String&qu...
by praburaj
Sat Feb 06, 2010 9:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: updated records from a file
Replies: 3
Views: 1939

updated records from a file

I want to fetch the updated records from a sequential file without using changecapture. How to perform this.

Plz give me some solutions.
by praburaj
Thu Sep 03, 2009 11:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to fetch one custid associated with multiple processids.
Replies: 2
Views: 1182

how to fetch one custid associated with multiple processids.

Hi I have table with processId CustId 1 z101 2 z101 3 z102 4 z103 1 z103 I want for each custId ---- corresponding ProcessIds should be taken. Ex: for z101----- ProcessIds are 1,2 I have further codings with that each processId values. this something like a nested for loop in C Coding For(..) { for(...
by praburaj
Fri Jul 24, 2009 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue on duplicate records
Replies: 7
Views: 4220

" You don't specify what needs to happen if all the fields are the same except for date, and two records (or more) have the date populated with different values." Yeah.. you are right. If all the fileds are same except for date then those two records need to be populated. Source Id seq typ...
by praburaj
Thu Jul 23, 2009 10:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue on duplicate records
Replies: 7
Views: 4220

Issue on duplicate records

Hi, I need a help in doing this logic. I have a source table as follows. Id seq type date 101 564 'A' 29/06/2007 101 564 'A' null 102 432 'D' null 102 784 'D' null 102 894 'C' 07/04/2008 I want the output as Id Seq type date 101 564 'A' 29/06/2007 102 432 'D' null 102 784 'D' null 102 894 'C' 07/04/...
by praburaj
Thu Mar 12, 2009 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to reduce one year from current date
Replies: 10
Views: 5078

Thanks to all. My problem is resolved :lol:
by praburaj
Thu Mar 12, 2009 4:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to reduce one year from current date
Replies: 10
Views: 5078

YearFromDate function is not working. When i compiled the job, i got error like this

Error in output column derivation expression for column Dat_BE_D in link LkOutTo_RM. Invalid conversion requested from a dfloat to a date.
by praburaj
Thu Mar 12, 2009 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to reduce one year from current date
Replies: 10
Views: 5078

I have to calculate the date of 365 days from today's date.
It means current date - 365. How to do this in data stage?
by praburaj
Thu Mar 12, 2009 2:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to reduce one year from current date
Replies: 10
Views: 5078

How to reduce one year from current date

Hi,

How to reduce one year from the current date. I already tried with DateFromDaysSince. But this logic does not work. Can anyone have other approach for this? Please help me to resolve this issue
by praburaj
Wed Mar 11, 2009 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Loaded in target table with Some Spaces
Replies: 1
Views: 941

Data Loaded in target table with Some Spaces

Hi, My source is DB2. When I load the data into the Char field (6) in to target table, the data is getting loaded with spaces. I have tried with trim option also. But it does not work. EX: This is my job flow DB2---->Transformer-->DB2; Source Target RMTYPE_ C RMTYPE_C MUL MUL  SEQ SEQ Please h...
by praburaj
Thu Feb 05, 2009 11:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to Create Surrogate Key at Script Level
Replies: 1
Views: 1178

Need to Create Surrogate Key at Script Level

Hi All

I want to create surrogate key based on my natural key for my job at UNIX script level.I don't know how to create at script level.plz help me to resolve this issue.
EX:

Code S.key
000T01 1
000T02 2
000T03 3
000T04 4
by praburaj
Tue Sep 30, 2008 1:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Pipe read failed
Replies: 2
Views: 3856

Fatal Error: Pipe read failed

Hello, My job design dataset -> removeduplicate-> lookup -> database In this job i am trying to load data to dimension table in sybase db. when i am loading 100 records its inserting fine. But i need to insert 8 million records. when i am loading 8 million records i am getting follwoing fatal error ...
by praburaj
Tue Sep 23, 2008 4:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: memory error
Replies: 2
Views: 1450

memory error

Hello, My job design is dataset ->aggregator -> transformer -> dataset i am doing some aggregation in this job. when i run this job with sample data its running fine. But when i run with 10 million data i am getting following memory error "Operator Terminated abnormally. Terminating with except...
by praburaj
Wed Sep 17, 2008 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get matched records between two columns
Replies: 15
Views: 6718

I am doing in datastage only. My source is dataset which is having 6 records where key column is Key_Pln_N and my reference table is db2 which is having 29 records where key column is key_pln_n1. I want compare the records between these two columns. if records are unmatched between these two columns...
by praburaj
Wed Sep 17, 2008 12:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get matched records between two columns
Replies: 15
Views: 6718

How to get matched records between two columns

Hi, I have two columns in my source table Key_Pln_N and key_pln and my reference table column is key_pln_n1. now, i want to compare with key_pln_n1 and Key_Pln_N. If there is any unmatched records between these two columns i have to populate those records in to my dataset. Plz help me to resolve thi...