Target table has more data than Source View

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Sathishkumarins
Premium Member
Premium Member
Posts: 41
Joined: Tue Jul 08, 2008 5:45 am
Location: Columbus

Target table has more data than Source View

Post by Sathishkumarins »

Hi,

I developed a job which had a source table and a view to fetch data from that source and to load that into a target table. View fetches about 250,000. But when it is loaded into target table it has some 1000(251,000) more records than view.

I'm facing this warning . ''OCI has fetched truncated data''.
Fatal error as ''ORA-01002: fetch out of sequence ''.

Also the table got locked initially followed by job lock. So i created a copy job and released the table lock and ran that and faced these errors finally.

Any idea why i faced this error?
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

There might be two seperate issues you are facing.
''OCI has fetched truncated data''
There might be some column in the source which is having column length greater than the one in the target.
''ORA-01002: fetch out of sequence ''
I would recommend you to search the forum there had been few different scenarios for this issue.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Sathishkumarins
Premium Member
Premium Member
Posts: 41
Joined: Tue Jul 08, 2008 5:45 am
Location: Columbus

Post by Sathishkumarins »

Thanks. Will work on that.....
Post Reply