Routine
Moderators: chulett, rschirm, roy
Basic transformer is a stage in PX just like any other stages like copy,modify.. It is similar in functionality to server edition transfomer. You can call server routines in px just the way you call the server routine in server edition.Please read chapter 17 in parallel job developer guide for more information as to how to use the stage.
-
- Participant
- Posts: 125
- Joined: Mon Sep 11, 2006 4:22 am
- Location: India
Can we call it in normal Transformer?
Can we call it in normal Transformer?As in my pallate I am not able to see Basic Transformer(Parallel Extender 7.5.1) and in my source data one date column is coming as '1-Jan-2000',(Source is sequential File) and I need to convert it into dd/mm/yyyy format .I wrote a server routine for converson,but I am unable to call this routine in Transformer.
-
- Participant
- Posts: 125
- Joined: Mon Sep 11, 2006 4:22 am
- Location: India
Can we call it in normal Transformer?
Can we call it in normal Transformer?As in my pallate I am not able to see Basic Transformer(Parallel Extender 7.5.1) and in my source data one date column is coming as '1-Jan-2000',(Source is sequential File) and I need to convert it into dd/mm/yyyy format .I wrote a server routine for converson,but I am unable to call this routine in Transformer.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's preferable to use parallel functions rather than server routines in parallel jobs. Your transformation can be readily achieved using DateToString() nested inside StringToDate() if the source and target data types are date or the reverse nesting if the data types are string.
BASIC Transformer stage can be found in the Stage Types branch of the Repository. That it is not in the Palette is deliberate (though you can customize your Palette) because they would prefer that you don't use it.
Stop using a server job mindset when creating parallel jobs.
BASIC Transformer stage can be found in the Stage Types branch of the Repository. That it is not in the Palette is deliberate (though you can customize your Palette) because they would prefer that you don't use it.
![Idea :idea:](./images/smilies/icon_idea.gif)
Stop using a server job mindset when creating parallel jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
And then avoid using them if at all possible. Think Parallel not Server - and as Ray notes, there's a reason it's not on the pallete by default.balajisr wrote:Basic transformer is a stage in PX just like any other stages like copy,modify.. It is similar in functionality to server edition transfomer. You can call server routines in px just the way you call the server routine in server edition.Please read chapter 17 in parallel job developer guide for more information as to how to use the stage.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers