How to handle Control M Character

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

kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If wish to alter the file before extracting it, you can follow as Narasimha or Smrutiranjan suggested in before job subroutine.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
smrutiranjannayak
Participant
Posts: 22
Joined: Mon Apr 02, 2007 4:02 am
Location: MUMBAI
Contact:

Thanks ashish

Post by smrutiranjannayak »

Thanks for this solution buddy.......

i know use of MCP function but it can do these things also i dont know.....keep it up......

Cheers
Smrutiranjan Nayak
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Haaa... Finally i got a resolution for this.

Post by ray.wurlod »

Th3Und34D- wrote:I got a solution. It solved my purpose of removing ^M. :)

Use Iconv("Column where ^M is present", "MCP")

With MCP option ur problem will b solved ... :D

Regards,
Asish Koyya
Please post your parallel version of the Iconv() function.
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