While creating a sequential file strings are padded with NULLs. I want to remove those nulls before loading to table.
Although its for parallel jobs but i tried to set following property as well but it didnt work: APT_STRING_PADCHAR 32x0
Padding NULL to string
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
APT_STRING_PADCHAR is for parallel jobs only. Use Convert() to remove any Char(0) values, and Fmt() to generate space padding. For example, if the output field is 15 characters wide
Code: Select all
Fmt(Convert(Char(0)," ",InLink.ColName),"15L")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.