"null_field" length(2) must match field's fixed wi

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
deepa_shenoy
Participant
Posts: 95
Joined: Thu Sep 24, 2009 12:15 am
Location: India

"null_field" length(2) must match field's fixed wi

Post by deepa_shenoy »

Hi All,

I am getting this error:

SEQL_Current: When checking operator: When validating export schema: At field "system_business_date": "null_field" length (2) must match field's fixed width (26)

The datatype is Timestamp. What value do I give for Null Field Value?
Currently I have given \xAB. Is there any other better approach than giving a 26 char Null field value?

Thanks in advance.

Regards,
Deepa
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This has been answered in a response to another of your posts, in which you asked exactly this question.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
deepa_shenoy
Participant
Posts: 95
Joined: Thu Sep 24, 2009 12:15 am
Location: India

Post by deepa_shenoy »

I'm sorry for the repetition.

This is more specific to DATE fields-Timestamp in particular.

I meant instead of giving Null Field value which has 26 characters, is there any other approach? When I use Actual Length and Null Field Length it throws an error saying, it must be used in conjuction with Prefix or Link Length.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

deepa_shenoy wrote:I meant instead of giving Null Field value which has 26 characters, is there any other approach?
For fixed-width, no.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
deepa_shenoy
Participant
Posts: 95
Joined: Thu Sep 24, 2009 12:15 am
Location: India

Post by deepa_shenoy »

Thank you. I used 1900-12-12-00:00:00.
Post Reply