Ustring in Schema 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
Aquilis
Participant
Posts: 204
Joined: Thu Apr 05, 2007 4:54 am
Location: Bangalore
Contact:

Ustring in Schema File

Post by Aquilis »

Hi,
I am trying to Restructure data from a File through Column Import Stage.In Column Import Stage, have assinged Schema File with RCP enabled.

Since I am expecting Special characters in the File, so I set 'Ustring' in Schema file.

Say, when I mentioned ustring max[5] in schema file and if get data of 7 Bytes but with character length of 5 only, I am expecting the same rejected through Column Import Stage (I mentioned a reject link to Column Import Stage).

But schema file is being validated based on Character length instead of Byte size and records are getting parsed thru it.

Does schema file validation happens on Byte size when I specify datatype as Ustring or still it will consider the normal length only?

Thanks,
Aquilis
Post Reply