Search found 92 matches
- Tue Oct 03, 2006 8:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Splitting Huge targetfile into small file
- Replies: 5
- Views: 2746
Re: Splitting Huge targetfile into small file
Try using mod function. MOD(KeyMgtGetNextValue('your job name'),25000) Hi All I have one huge file with name price.txt .I need to split this file for every 25000 records.After splitting the out files will be price_timestamp.txt .So I have tried with UNIX split command .this is not meeting my require...
- Wed Sep 27, 2006 9:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: To pick max number from a job and use in another
- Replies: 3
- Views: 1305
To pick max number from a job and use in another
Hi,
I need to pick up the max value that is generated by job1, and use it in job2?
For job1 i have used KeyMgtGetNextValue('x').
for job2 can i use the KeyMgtGetMaxKey('x')?
Any ideas
Thanks in advance.
I need to pick up the max value that is generated by job1, and use it in job2?
For job1 i have used KeyMgtGetNextValue('x').
for job2 can i use the KeyMgtGetMaxKey('x')?
Any ideas
Thanks in advance.
- Fri Sep 08, 2006 12:05 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: split file
- Replies: 12
- Views: 4529
split
Hi Meena,
There are 25000 records opp...
Thanks.
There are 25000 records opp...
Thanks.
meena wrote:Hi,
I think you can do this by using single transformer to create five sequential files and use the filter condition in transformer as DeepakCorning asked to do.
- Fri Sep 08, 2006 10:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: split file
- Replies: 12
- Views: 4529
split file
Hi,
i have to split the one file into 5 file.
ex: x
1
1
2
2
3
3
4
4
4
4
i have to split x in such a way that
1,1 goes to file 1
2,2 goes to file 2
3,3 goes to file 3
4,4,4,4 goes to file 4
Any ideas.
Thanks in advance
i have to split the one file into 5 file.
ex: x
1
1
2
2
3
3
4
4
4
4
i have to split x in such a way that
1,1 goes to file 1
2,2 goes to file 2
3,3 goes to file 3
4,4,4,4 goes to file 4
Any ideas.
Thanks in advance
- Tue Aug 22, 2006 9:10 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: replace
- Replies: 10
- Views: 3341
replace
chulett wrote:You might want to give just a wee bit more detail... and an example.
Here are the examples
B-CDE PASS "NEED TO REPLACE B WITH XYZ"
A-HJU PASS "NEED TO REPLACE A WITH XYZ"
AHJU PASS "NEED TO REPLACE A WITH XYZ"
Thanks in Advance.
- Tue Aug 22, 2006 8:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: replace
- Replies: 10
- Views: 3341
replace
Hi,
how to replace a leading prefix with 'xyz'
Thanks in advance
how to replace a leading prefix with 'xyz'
Thanks in advance
- Thu Aug 17, 2006 9:27 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: look up issue
- Replies: 5
- Views: 1002
look up issue
Hi,
I am doing a lookup, both sorce and lookup(hash file) has matching records. but the records are not hooking up, and no data is coming from lookup.
i deleted the hash file and recreated it.
can some let me what's the prob.
Thanks in advance.
I am doing a lookup, both sorce and lookup(hash file) has matching records. but the records are not hooking up, and no data is coming from lookup.
i deleted the hash file and recreated it.
can some let me what's the prob.
Thanks in advance.
- Fri Aug 11, 2006 10:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to convert multiple rows of data into single row
- Replies: 5
- Views: 5815
Re: How to convert multiple rows of data into single row
Hi Prabu,
can you explain in detail
Thanks
can you explain in detail
Thanks
prabu wrote:adams06 wrote:Hi,
How to convert multiple rows of data into single row?
ex: input
field1
a
b
c
d
output:
a,b,c,d
1)pivot stage
- Fri Aug 11, 2006 9:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to convert multiple rows of data into single row
- Replies: 5
- Views: 5815
How to convert multiple rows of data into single row
Hi,
How to convert multiple rows of data into single row?
ex: input
field1
a
b
c
d
output:
a,b,c,d
How to convert multiple rows of data into single row?
ex: input
field1
a
b
c
d
output:
a,b,c,d
- Tue Aug 08, 2006 10:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read three charecters after decimal
- Replies: 5
- Views: 2016
Read three charecters after decimal
Hi, I need to read the extensions of file. i am using this code: if Trim(Field(DSLink.field,'.',2))[1,3] = 'xyz' Then 'X' else '' Thanks Is there always just one decimal point? Is is alright to take everything after it or just literally the first three characters? Use the FIELD function to take the ...
- Tue Aug 08, 2006 9:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read three charecters after decimal
- Replies: 5
- Views: 2016
Read three charecters after decimal
Hi,
I have to read the last three charecters after the decimal, how can i do this.
ex: 111-222.xyz
222-333-s2.abc
111-444_c_1.asd
Thanks & Regards
I have to read the last three charecters after the decimal, how can i do this.
ex: 111-222.xyz
222-333-s2.abc
111-444_c_1.asd
Thanks & Regards
- Mon Jul 24, 2006 6:21 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: sequence number
- Replies: 6
- Views: 3133
sequence
Hi DSguru, i have used the code that is mentioned, but it is not giving me the expected result The result looks like this X Y Z nO A B C 1 A B C 2 A B C1 1 A B C1 2 A B C2 1 A B C2 2 A B C3 1 i am supposed to get X Y Z nO A B C 1 A B C 1 A B C1 2 A B C1 2 A B C2 3 A B C2 3 A B C3 4 suggest me Thanks...
- Mon Jul 24, 2006 10:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: sequence number
- Replies: 6
- Views: 3133
sequence number
Hi, here is the input data: X Y Z A B C A B C A B C1 A B C1 A B C2 A B C2 A B C3 i need to generate the no For the first two records i need to generate 1 in column no For the 3rd and 4th records i need to generate 2 in column no For the 5th and 6th records i need to generate 3 in column no For the 7...
- Fri Jul 21, 2006 11:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: error
- Replies: 3
- Views: 884
error
Hi Narasimha,
when i am running job in development its running fine, when moved into production i am getting this error
Thanks
when i am running job in development its running fine, when moved into production i am getting this error
Thanks
narasimha wrote:Check the log of the job x to get more details
- Fri Jul 21, 2006 11:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: error
- Replies: 3
- Views: 884
error
when i am running a sequence, i am getting the following error
Unhandled abort encountered in job x on server
Please let me know how to handle this error.
Thanks in Advance
Unhandled abort encountered in job x on server
Please let me know how to handle this error.
Thanks in Advance