Right justified and prefixed with blanks - Fixed width file

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

Right justified and prefixed with blanks - Fixed width file

Post by vcsasikala »

Hi,
I need to write a fixed width output file. I have converted all the column datatype to CHAR. Job is running fine without any error.
But
All the fields are left justified and suffixed with blanks. They should be right justified and prefixed with blanks.

I can pad spaces in front of all the colmns with str function.

Is there any other easy way to do it?


Thanks,
Sasikala
Regards,

Sasikala V C
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No.
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