Hi
I am facing a strange issue with sequential file stage.
I have a file with 2 columns with only one records.
Date: varchar(10)
seqno:char(3).
I am using the above file as a lookup reference.
ISSUE:-
When ever i compile the job or run after 2- 3 hrs later, the data from file is not importing and it shows as
"src_Date_Counter,0: Import complete; 0 records imported successfully, 0 rejected."
but the record is there when i check in file.
is anything i am missing basics.
Sequential file stage strange behaviour
Moderators: chulett, rschirm, roy
Does that mean if you compile and run the job immediately, it processes 1 record but if you repeat after a period of time then it doesn't read that record?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Is this file re-created between runs? If so might there be occasions when the data in the file do not match the defined record schema (metadata)?
Add a reject link to the Sequential File stage. Direct the reject link to a Peek stage so that you can see what the Sequential File stage attempted to read.
Another possibility is that the First Line is Column Headings property was set to True before the job was compiled. This will cause DataStage to skip the first (and only) line.
Add a reject link to the Sequential File stage. Direct the reject link to a Peek stage so that you can see what the Sequential File stage attempted to read.
Another possibility is that the First Line is Column Headings property was set to True before the job was compiled. This will cause DataStage to skip the first (and only) line.
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: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: