I have the following recordset (2 columns oldpolid,newpolid). eg is as follows
a,b
b,c
c,d
d,e
I want the following record set
a,e
b,e
c.e
d.e
i.e. I need the final answer but also all the intemediate .
I would appreciate any help, thanks guys
Search found 13 matches
- Wed Jan 19, 2005 9:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: intermediate result set required from a recordset
- Replies: 19
- Views: 9435
- Fri Jul 30, 2004 5:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ds_seqput: error in 'write()' - Error 0
- Replies: 1
- Views: 2585
ds_seqput: error in 'write()' - Error 0
any advice would be appreciated, a job aborted with the following errors: ds_seqput: error in 'write()' - Error 0 ds_seqput: error in 'write()' - There is not enough space in the file system. This job runs once a month and has always been successful in the past.The job is fairly complex and takes 20...
- Fri May 21, 2004 4:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datastage basic looping csv file
- Replies: 9
- Views: 7775
- Thu May 20, 2004 4:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datastage basic looping csv file
- Replies: 9
- Views: 7775
Hi Ray, I am using version 6.0.1.5, thanks for spending time to look at the Scenario, I apologise if my explanation is not clear, its sometimes difficult to describe I did the following On Input (Sequential File Stage) , on the 'Filter Command' tab ,I typed 'sort'. I got the following error : Sequen...
- Wed May 19, 2004 8:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datastage basic looping csv file
- Replies: 9
- Views: 7775
Thanks Ken for your post. My source comes from Sybase. We are not allowed permissions to create procedures, just select statements. Does anyone know if I can do this in Sybase (I could possibly copy it to DB2 and manipulate it there). I think the cleanest 1 job approach would be using DataStageBasic...
- Wed May 19, 2004 7:29 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datastage basic looping csv file
- Replies: 9
- Views: 7775
- Tue May 18, 2004 9:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datastage basic looping csv file
- Replies: 9
- Views: 7775
datastage basic looping csv file
I have a record set like below in a csv file (can be *.txt) OLDPOLID, NEWPOLID AJRZE3J0313A, AJPZE3J0313A NOCP42M0836A, NOCP43M0836A LWA73ARAH02R, LWA73ARAH01R LWA73ARAH01R, LWA63ARAH01R AJPZE3J0313A, AJPZE3F0313A LWA63ARAH01R, LWA63ARAH01Q LWA63ARAH01Q, LWA63ARAH01A This file (csv or txt) hold poli...
- Tue Feb 10, 2004 12:34 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: looping
- Replies: 6
- Views: 3429
Re: looping
raju_chvr wrote:Did u give it a try with stage variables and RowProcGetPreviousValue() ?
I think that should work. In the constraints you should have a condition
RowProcGetPreviousValue(NewPolid) <> OldPolid
to write into output.
IHTH
This didnt work, any ideas why or other methods, thanks in advance
- Tue Feb 10, 2004 9:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: looping
- Replies: 6
- Views: 3429
looping
Hi all, i have a file/table that holds 2columns OldPolicy,NewPolicy eg: OldPolid , NewPolid AA , AB AB , AC AC , AD BA , BB BB , BC AA became AB,AB became AC, AC became AD.The net result is that AA became AD and similarly BA became BC . I need to reflect this as: OldPolid , NewPolid AA , AD BA , BC ...
- Thu Feb 05, 2004 6:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: split a string after every 5 characters
- Replies: 2
- Views: 1580
split a string after every 5 characters
I have a one line text file. The data in this line is: 541015210154301 I still want to keep the data on one line but after every 5th character I need to put some text in [ then enclose the answer in () ] eg: The output I need is: (el1="54101" or el1="52101" or el1="54301&quo...
- Wed Nov 12, 2003 2:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: cannot call user defined routine [ UDR ] from 2nd UDR
- Replies: 2
- Views: 1773
cannot call user defined routine [ UDR ] from 2nd UDR
I have a user defined routine [ UDR ] which accepts 1 argument and I am trying to call this UDR from within a second UDR. its not working see below: ####################################### FileName = "testfile.txt" Deffun RunJobWrapper(FileName) Calling "DSU.RunJobWrapper" Call R...
- Thu Nov 06, 2003 4:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how to output the last row from a transform to a flat file
- Replies: 3
- Views: 1976
i need last row from Transform not FlatFile
i need last row from Transform not last row from a FlatFile. I think you have given me a solution for choosing the last row from a flat file to a TRANSFORM. I need to get the last line from a TRANSFORM/(Input Link) and then output it to a flatfile. I was trying to put a constraint in the transform e...
- Thu Nov 06, 2003 3:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how to output the last row from a transform to a flat file
- Replies: 3
- Views: 1976
how to output the last row from a transform to a flat file
how do I output the last row from a transform to a flat file, there doesnt seem to be a max function or last row function
Thank You
Thank You