Warning Msg in DSJob for Oracle field lengths

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
Vijay Kumar
Participant
Posts: 59
Joined: Sat May 29, 2004 12:31 am
Location: Pune

Warning Msg in DSJob for Oracle field lengths

Post by Vijay Kumar »

Hi,
I am getting the following warning msg in the Job Log:

Implict conversion from source type 'string max[200] to result type max=50. Possible truncation of variable length string.

In fact the field length is 50. I had verified this using the Oracle Client which is loaded on the same DataStage Server.

Is there any other specific setting that should done in DataStage to avoid this kind of warning msgs.

Thanks in advance.
Vijay
balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Post by balajisr »

The message is clearly stating that your source has length of 200 and your target has length of 50 and due to that truncation may occur.

Import your metadata correctly.
Vijay Kumar
Participant
Posts: 59
Joined: Sat May 29, 2004 12:31 am
Location: Pune

Post by Vijay Kumar »

The metadata that i have defined is correct it is only of lenght 50 and not 200.
I had verified with the Oracle DBA also.
balajisr wrote:The message is clearly stating that your source has length of 200 and your target has length of 50 and due to that truncation may occur.

Import your metadata correctly.
balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Post by balajisr »

What is your source and target?
Vijay Kumar
Participant
Posts: 59
Joined: Sat May 29, 2004 12:31 am
Location: Pune

Post by Vijay Kumar »

Source is Oracle Enterprise Stage and Target is a Flat File.
Post Reply