Anyone interested in using ICONV, OCONV and FMT in PX

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Anyone interested in using ICONV, OCONV and FMT in PX

Post by pneumalin »

Hi Friends,
Does anyone ever receive the requirement on porting server functions such as ICONV, OCONV and FMT to PX? Although the replacement for them can be found in current PX package, I am just wondering if any client would be interested in seeing the one-to-one match for these functions between Server and PX, especially for those clients who want to convert the Server jobs to PX.
Any comment on this topic is appreciated...
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Meaning what? You are volunteering to write them and donate them to the public domain? Trying to organize a grass roots campaign so IBM does that? Honestly curious here. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

Typically not... ICONV and OCONV are use to convert to and from internal storage formats used by server jobs. Since PX jobs don't use those storage formats I've never seen a requirement to re-create the functionality.
Last edited by asorrell on Wed Mar 10, 2010 11:15 am, edited 1 time in total.
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I once started that effort but never got a chance to finish it. The thing is ICONV and OCONV are so vast, it takes uninterrupted, 101% dedication and effort to make such a conversion.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

Just try to sense if there is even a need for this...
If there is , I don't mind doing that in my spare time since I have already done part of the functions for some clients and I have no problem to complete the full function...
As we all know, it's a long shot to get IBM act on it.
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

pneumalin wrote:Just try to sense if there is even a need for this...
If there is , I don't mind doing that in my spare time since I have already done part of the functions for some clients and I have no problem to complete the full function...
As we all know, it's a long shot to get IBM act on it.
Yeah, why not? I hope you post the translator version for PX soon.
gateleys
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Since thet source for ICONV and OCONV are in c, it would be much easier for IBM to adapt existing code than to rewrite the complete functionality. Albeit the time and date handling (with full NLS support) would be a great feature to add to PX and is currently sorely lacking.
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

If ICONV and OCONV are originally written in C in Server Edition, I agree it would make more sense for IBM to migrate them.
How about FMT?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Most of the interal functions in server edition are written in C. This includes FMT.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

If this is the case, I shall advise IBM to migrate them.
Thanks everyone for your response...
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I think the date functions inside ICONV and OCONV are most needed. Otherwise most of that is not needed. I think most FMT can be handled by string functions. Once in a while HEX and other similar conversions would be nice. They maybe there I have not looked. I have always pushed most of that off into the database which is not always a good idea.
Mamu Kim
devo
Premium Member
Premium Member
Posts: 18
Joined: Fri Sep 22, 2006 1:22 pm

Post by devo »

The functionality of FMT may be available in new functions. However, the help is fairly poor on this subject. Would anyone be willing to post a reference between FMT and new Parallel functions?
Grant Dever
Programmer Analyst Sr
daignault
Premium Member
Premium Member
Posts: 165
Joined: Tue Mar 30, 2004 2:44 pm
Contact:

Post by daignault »

Of course you can always drag the BASIC transformer from your repository onto the pallet and use the ICONV/OCONV/FMT variables.

Ray D
SettValleyConsulting
Premium Member
Premium Member
Posts: 72
Joined: Thu Sep 04, 2003 5:01 am
Location: UK & Europe

Post by SettValleyConsulting »

Dropping a BASIC transformer into a Parallel job will cripple your performance, as it will run sequentially on a single node (the conductor node) regardless of the degree of parallelism in use.

Personally I have yet to encounter a formatting problem that can't be solved with a Modify, printf or in some idiosyncratic cases, a parallel routine.
Phil Clarke
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

SettValleyConsulting wrote:Dropping a BASIC transformer into a Parallel job will cripple your performance, as it will run sequentially on a single node (the conductor node) regardless of the degree of parallelism in use.
That is not necessarily true. This stage type can run on multiple nodes in an SMP environment and (theoretically at least) all machines on which the server engine is installed.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply