What is the equivalent function in parallel for 'Fmt'

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
vcsasikala
Participant
Posts: 26
Joined: Wed Jun 20, 2007 1:13 am
Location: Chennai

What is the equivalent function in parallel for 'Fmt'

Post by vcsasikala »

I'm converting a server job to Parellel job.
I don't know how to replace a function Fmt(Column,"11RZ").
How to Suppress leading zeros in parallel job?
Regards,

Sasikala V C
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Although there is no equivalent PX/EE function for the BASIC "FMT" there is usually no need to use one. PX will perform automated input conversions. Do you need to perform a specific output conversion?
Last edited by ArndW on Wed Oct 17, 2007 5:38 am, edited 1 time in total.
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

"How to Suppress leading zeros in parallel job?". What is the data type of your source? If it is varchar then use Trim (Input.col,"0","L"). This would trim the leading zeros only.
Post Reply