hi,
I'm sure there is a very simple answer to this but I am going to ask anyway.
I have a comma delimited file which has five fields per line. However, on some lines several fields can be missing (even the commas) and the job won't run.
This is what the job log tells me,
'A2000_PopulatePCMTable..PCM_csv.L01: read_delimited() - row 1, column vchrPCM3, required column missing'
How can you get round this? I thought the 'Missing columns action' would circumvent this problem but it doesn't.
Probably very simple answer
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 12
- Joined: Wed Oct 05, 2005 1:44 am
-
- Participant
- Posts: 12
- Joined: Wed Oct 05, 2005 1:44 am
Hi,
Having empty or missing fields is one thing (that you can handle)
But having missing delimiters even makes this impossible to handle automatically (since ther is no way to say I'm missing column number n, you can only say I'm missing a column or columns) and may force you to reject those rows for manual handling.
IHTH,
Having empty or missing fields is one thing (that you can handle)
But having missing delimiters even makes this impossible to handle automatically (since ther is no way to say I'm missing column number n, you can only say I'm missing a column or columns) and may force you to reject those rows for manual handling.
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
-
- Charter Member
- Posts: 166
- Joined: Wed Mar 16, 2005 6:52 am
- Location: Mumbai, India
In the Sequential file Stage's Columns tab, look for a column named "Incomplete Column"(Near the end just before Description). The default value for this column for all rows is "Error".
If this value is changed to "Replace" for all column defn. entries, the stage will replace all missing or incomplete rows in the sequential file with NULL's. and this has been tested to work for missing delimiters too.
No error or warning message will be posted.
IHTH
If this value is changed to "Replace" for all column defn. entries, the stage will replace all missing or incomplete rows in the sequential file with NULL's. and this has been tested to work for missing delimiters too.
No error or warning message will be posted.
IHTH
Amey Vaidya<i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: