Hi
I am getting following warning in Director Log
FileName: When checking operator: When validating export schema:
At field "Column_ABCD": "null_field" length (0) must match field's fixed width (40)
Can anybody please suggest how can i get rid of this warning
Thanks in advance
Unable to understand Datastage Director Warning
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 72
- Joined: Wed Dec 12, 2007 2:29 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
A Search would have garnered your answer faster. Your data type is Char(40), therefore ANY value, whether or not that value represents NULL, must contain forty characters. The Null Field Value property contains a value that will be interpreted as NULL on reading or be written if NULL is received into the writing stage when writing. Since the column is of data type Char(40) (string[40]) the Null Field Value must contain 40 characters.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 72
- Joined: Wed Dec 12, 2007 2:29 am
-
- Participant
- Posts: 72
- Joined: Wed Dec 12, 2007 2:29 am
I'm curious how that is "not good for the design". Or how putting a zero in a CHAR(40) is an appropriate represention of an empty string field.
In my opinion, what you did is not a workaround but rather the solution. The fact that the warning is now gone should be a big clue, a 'workaround' would involve something like using a message handler to to demote it. Regardless, please mark the thread with the outcome of your choice using the buttons at the top of the screen.
Thanks.
In my opinion, what you did is not a workaround but rather the solution. The fact that the warning is now gone should be a big clue, a 'workaround' would involve something like using a message handler to to demote it. Regardless, please mark the thread with the outcome of your choice using the buttons at the top of the screen.
Thanks.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers