Null Field Value property of the "LAST_UPDATE_DATE" must have the same length as the fixed-width field length. Go to the column properties and add 19 spaces for the field.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
us1aslam1us wrote:Null Field Value property of the "LAST_UPDATE_DATE" must have the same length as the fixed-width field length. Go to the column properties and add 19 spaces for the field.
I applied condition in tranformer stage if IsNull(LAST_UPDATE_DATE) Then '
' Else LAST_UPDATE_DATE, but this condition didn't work.
Please let me know where can i find column properties to define 19 spaces..
Edward, the transform action doesn't affect this message. You need to right-mouse click on the column in the sequential file stage, then do and "edit row" and either explicitly set or remove the attribute there.
in the sartget sequential file stage property, you should define the "null field value" may be '' or ' ', or you can set for individual fields too.
better define as file property, less effort.
Thanks..i have 97 nullable columns.So its hard for me to define '*' to each and every column based on their length.
Is there any alternative solution ??
in general property of sequential file stage you can set that instead of each column.
Sanjay
edward_m wrote:Thanks..i have 97 nullable columns.So its hard for me to define '*' to each and every column based on their length.
Is there any alternative solution ??
sanjay wrote:
in general property of sequential file stage you can set that instead of each column.
Thanks for your response Sanjay.
Could you please let me know where do we set up??
In sequential file i defined the following properties for under Format
Field defualts:
Delimeter = comma
Null Field value =''
Quote = none
edward_m wrote:Thanks..i have 97 nullable columns.So its hard for me to define '*' to each and every column based on their length.
Is there any alternative solution ??
Thanks in Advance..
No.
It's not hard. It's just tedious.
Last edited by ray.wurlod on Thu Jul 05, 2007 11:41 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.