Convert Function

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
sankarse
Participant
Posts: 3
Joined: Fri Aug 22, 2008 4:52 am

Convert Function

Post by sankarse »

Hi

I have a Convert Function used in my existing Job like below

Convert(char(10), ' ',DSLink2.FName)

What is the Meaning of this ..

I tried some samples with Fixed length recs . But could n't find any clues.

Appreciate the help .

View user's profile
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The Convert() and Char() functions are documented in the BASIC Programmer's Guide. This code removes all the LF (0x10) characters from a string and replaces them with nothing. In the case of fixed length fields the character is removed and a space padded to the end of the string.
sankarse
Participant
Posts: 3
Joined: Fri Aug 22, 2008 4:52 am

Post by sankarse »

Thanks a lot ArndW.. Clarified . :-)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

However, DataStage BASIC functions are not available in DataStage TX maps (the forum in which you posted) or in DataStage parallel jobs (your alleged job type). Please be more careful about posting in the correct forum.
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