Search found 195 matches

by talk2shaanc
Wed Jun 01, 2005 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: @INROWNUM Problem
Replies: 5
Views: 1711

First off, you can't have more than one Input link to a transformer. :? Its way of writing, reading or thinking. I know, there could be only one "Mainstream" and remaining "Reference" link. And as each of the link would be sending some data to the transformer, i would call them ...
by talk2shaanc
Wed Jun 01, 2005 6:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: @INROWNUM Problem
Replies: 5
Views: 1711

Re: @INROWNUM Problem

I want that the value be assigned based on number of input rows from one link Then use @OUTROWNUM instead. :wink: This wont help, he want count of records coming from one of the input link out of 'N'. Say you have two input link (InL1 and InL2) to a transformer stage (Tr1) and one output link(OpL1)...
by talk2shaanc
Tue May 31, 2005 1:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parse Header, Trailer and Detail using CFF
Replies: 6
Views: 3133

... and how do you think the tail command works out which are the final lines in the file? :roll: Definately it does not reach tail or end of file, by reading through all the lines :shock: and keeping the count. if I remember exactly, It looks for End-Of-File Mark in the last few bytes and reads ac...
by talk2shaanc
Mon May 30, 2005 10:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parse Header, Trailer and Detail using CFF
Replies: 6
Views: 3133

If i dont have any use of details in my header and trailer in my design, then i would avoid counting the no of lines in the file, if your file size is huge it would take time. Another way could be, remove the Tail of the file by using TAIL command of unix. In CFF stage give start rec=1 and End rec=m...
by talk2shaanc
Sun May 29, 2005 11:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: file merge
Replies: 12
Views: 4644

Well guys, from the example he has given i think he is looking for merge(appending one file below the other), not joining which can be done through merge stage. But for appending , either use link-collector or you will have to write a routine. I dont know if the server version you are having has lin...
by talk2shaanc
Fri May 27, 2005 8:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Date Timestamp
Replies: 7
Views: 2297

yes you are right the generated sql query will also have TO_DATE format, but the format used in TO_DATE would be some default format, and it may not be same as your input data in that case you need to have User-defined query. Again creating User-Defined query may intoduce some human error. But if we...
by talk2shaanc
Fri May 27, 2005 1:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Size and Array Size
Replies: 3
Views: 1874

Re: Transaction Size and Array Size

Can anyone clarify me about Transaction Size and Array size? Details about them can be found in the pdf documents as well as datastage help. You should try to get this kind of simple details yourself and post a thread when you have some technical difficulties. Transaction size: This is the number o...
by talk2shaanc
Fri May 27, 2005 12:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job aborted, i want to start excution from where it aborted
Replies: 6
Views: 1841

missed out few things, again the soln i suggested is not the only thing. The soln i hav given will work if your job fails once. But what if your job fails several times, in that case , you need to get/store the counts of rejected and processed records for every run and before running the job, you sh...
by talk2shaanc
Fri May 27, 2005 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job aborted, i want to start excution from where it aborted
Replies: 6
Views: 1841

You might also need to round your @INROWNUM count down to the nearest commit point. If you are commiting with a transaction size of 1000 and you fail after 11323 rows you may have committed just 11000 of those rows. If you have the transaction and array size set to 1 then this makes reject handling...
by talk2shaanc
Thu May 26, 2005 10:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Date Timestamp
Replies: 7
Views: 2297

or
1. Read it as a character throughout all the stages(even in the oracle stage)
2. Write a user-defined query , in which you use TO_DATE function, with a format that matches your data format.
by talk2shaanc
Thu May 26, 2005 10:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job aborted, i want to start excution from where it aborted
Replies: 6
Views: 1841

if your source is sequential flat file then the method suggested, using @INROWNUM, can be helpful otherwise one cannot be sure that; row processed now, was not processed in last run. If source is Oracle ordering by rownum would help as well as instead of using @INROWNUM you can avoid reading from th...
by talk2shaanc
Thu May 26, 2005 5:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job tree is not containing any jobnames in designer,manager
Replies: 3
Views: 918

It's highly likely that the indexes need (re)building. Good practice would be to first check if the jobs in your project needs index rebuilding. Use: LIST.INDEX DS_JOBS ALL, on Command tab in DataStage Administrator, to re-build the indexes. If it requires rebuilding of index. Use DS.REINDEX DS_JOBS...
by talk2shaanc
Wed May 25, 2005 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Null Values
Replies: 12
Views: 2374

amsh76 wrote:If I am not wrong, in Oracle, it does equivalent of trim on the column and thats the reason you are getting this problem.
Sorry but you are wrong, Oracle stores spaces as spaces only. if column is varchar and its not null, it will accept spaces as its values.
by talk2shaanc
Wed May 25, 2005 10:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading char date into OCI9 Date datatype (not timestamp)
Replies: 14
Views: 7032

Well if you follow the method that i have suggested in my first post, you would surely get it.
by talk2shaanc
Tue May 24, 2005 10:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading char date into OCI9 Date datatype (not timestamp)
Replies: 14
Views: 7032

Sainath.Srinivasan wrote:Try OConv(YourDate, 'D-YMD[4,2,2]')

Format does not match with the input value. Looking at the value he has pasted, it should be either OConv(YourDate, 'D-DMY[2,2,4]') or OConv(YourDate, 'D-MDY[2,2,4]')