Search code examples
datastage

How to convert a field to spaces blindly


I have a delimited sequential file. This file has a field that is variable length. I want to make this field blank. Can some suggest how to convert the field to spaces?

Thanks in advance for any help.


Solution

  • The easiest way is this expression in a Transformer stage

    Space(Len(InLink.MyString))