Search found 195 matches

by talk2shaanc
Tue Jul 12, 2005 11:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ROW SPLITTER PROBLEM
Replies: 6
Views: 3154

row spliter splits A row, NOT spilts into rows. Taking a simple example. if have column Name with value James Anderson Then using row splitter you can have two column First name=James and Last Name=Anderson. The row splitter stage is similar to the server sequential file stage. The difference is th...
by talk2shaanc
Tue Jul 12, 2005 11:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unlocking Job
Replies: 5
Views: 2067

in search give keywords, clean+up+resources and click on "search all terms" radio button, you will find many posts.
by talk2shaanc
Thu Jul 07, 2005 11:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORAOCI8 Stage Error ORA-01438: value larger than specified.
Replies: 9
Views: 5616

Actually, it's Oracle that doesn't always point it out. :evil: Seems to be dependant on the Client version. Well I have wrked on Oracle9i, and i remember in that if i use insert script, and if any of the numeric column has a value greater than its size. The cursor goes to that position and you get ...
by talk2shaanc
Thu Jul 07, 2005 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORAOCI8 Stage Error ORA-01438: value larger than specified.
Replies: 9
Views: 5616

I agree with you Ketfos.
Unfortunately Gaurav, datastage doesnt point out the column for which its giving error.
Best way is use sqlldr, if you have many columns else you can also use normal insert script.
by talk2shaanc
Thu Jul 07, 2005 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: usage of Common block across transformer
Replies: 20
Views: 7553

There is a caveat in the release notes since about release 5 or 6 that cautions about the use of COMMON storage BETWEEN stages. Since the introduction of row buffering, results are unpredictable if your processing depends on COMMON storage populated in one transform and retreived in another, if row...
by talk2shaanc
Thu Jul 07, 2005 9:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: usage of Common block across transformer
Replies: 20
Views: 7553

You can't. That's quite different from initializing in one transformer and using in anther. Hey, craig i didnt get you. You mean to say it cannot be accomplished? Well I think, I can do it by using $INCLUDE in my current routine, for my actual requirement. After reading everybody post and some sear...
by talk2shaanc
Thu Jul 07, 2005 8:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: usage of Common block across transformer
Replies: 20
Views: 7553

Hi, Under Routines\sdk\RowProc you can find similar routines that come with the product. (at least for 7.5) IHTH, Thanks, for your suggestion. But I have already done that. 8) Nowdays, I always do R&D, and search first, and then if i dont get anything and my deadline is close, I knock the doors...
by talk2shaanc
Thu Jul 07, 2005 8:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: usage of Common block across transformer
Replies: 20
Views: 7553

My actual requirement is : Intialize it in one of the transformer and use it in after-job routine of the same job. So just for testing the function , i created a dummy job. seqfile --->Trans1--->Hashfile--->trans2---->seq in trans1 i am initializing and trans2 i am trying to fetch that value. But fi...
by talk2shaanc
Thu Jul 07, 2005 7:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: usage of Common block across transformer
Replies: 20
Views: 7553

usage of Common block across transformer

Hey Guys, In the below routine, if i pass a value it stores it in common and if i give argument values as 'Get', it returns the old value stored in COMMON. The below routine works for a process i.e., in a transformer when i keep switching between arguments values. But i wanted to store the value in ...
by talk2shaanc
Tue Jul 05, 2005 4:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: help needed with hash file with key combinations
Replies: 7
Views: 2498

If i have understood correctly, then you want only that record in hash file which is latest(latest-for a given key column the date column is max).

Soln: Just sort all your key columns ascending and the date column descending.
by talk2shaanc
Mon Jul 04, 2005 4:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find Last Record in File
Replies: 13
Views: 3805

Shantanu, the basic idea is good, but a stage variable will get executed for each row passed through the transformer... This will probably slow down your job considerably. Better a combination - use the routine, but call it from a parent Sequencer. Thanx for highlighting, sorry i missed out writing...
by talk2shaanc
Fri Jul 01, 2005 11:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find Last Record in File
Replies: 13
Views: 3805

Alternate,

step1: Write a routine, which would use DSEXECUTE to fire wc -l command on UNIX box and get the count of lines. pass the file name and path as argument to the file.

step2:Call that routine in a stage variable in one of your transformer and get control over the records. :D
by talk2shaanc
Tue Jun 28, 2005 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtract Year
Replies: 10
Views: 2826

Hi, You had mentioned that routine is not correct. If will not matter what date mask you use in Oconv function which is just the display format. You can output the date in diferent formats in Oconv, still it is going to to return correct results, irrespective of the date format. As long as input fo...
by talk2shaanc
Mon Jun 27, 2005 12:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtract Year
Replies: 10
Views: 2826

ketfos wrote: Ans3 = Iconv(Ans2,"D2")
Ketfos
above is incorrect, the format D2 is for a date value say; 25 MAY 05

Correct format would be:
Ans3= Iconv(Ans2, "D/MDY[2,2,4]")
by talk2shaanc
Fri Jun 24, 2005 10:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find a routine whether that routine exist in project or not
Replies: 3
Views: 1123

Well I think, thatz the simplest and fastest way to find it, if you dont have metastage.
If you are unable to locate the routine; check if its a transform


SELECT * FROM DS_TRANSFORMS WHERE DSRID
LIKE '%Name%';