Using Modify Stage - Substring 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

lannguyen
Participant
Posts: 3
Joined: Wed Mar 21, 2012 3:55 am

Post by lannguyen »

I had the same problem.

when I used
NAME2:String[max=100] = substring[1,100] (NAME1)
it returns a warning, I must use NOWARN.

I found a solution for the substring without warning:
NAME2:string[max=100]=string_trim(NAME1)
Last edited by lannguyen on Tue Mar 27, 2012 1:43 am, edited 1 time in total.
Post Reply