Unix Technical Forum

unload errors

This is a discussion on unload errors within the Informix forums, part of the Database Server Software category; --> Hello all, I am unloading some tables on a nightly basis (via cron) from Informix running on an HP-UX ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:17 AM
Marc Baker
 
Posts: n/a
Default unload errors

Hello all,

I am unloading some tables on a nightly basis (via cron) from Informix
running on an HP-UX box. The script is static. Occasionally there will be
an error during the unload.

Example:

Error in line 7
Near character position 5
Error in line 101
Near character position 21

or

Error in line 78
Near character position 24

It is not consistantly dying in the same spot, and if I run it manually
afterward it runs fine. Most evenings these errors do not occur, weird.

Anyway, I suspect that another process may have a record locked. Is there a
way to report on this from the unload script?


Thanks,

Marc


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 11:17 AM
Superboer
 
Posts: n/a
Default Re: unload errors

Why locking a row;
maybe you can set isolation to dirty read; before executing the unload,

or maybe set lock mode to wait???? or.... lock the table ??

catch stuff from dbaccess:

(dbaccess <yourdb> yoursqlfile 2>&1 ) > somelogfile
may give you more info.


Superboer.




Marc Baker schreef:

> Hello all,
>
> I am unloading some tables on a nightly basis (via cron) from Informix
> running on an HP-UX box. The script is static. Occasionally there will be
> an error during the unload.
>
> Example:
>
> Error in line 7
> Near character position 5
> Error in line 101
> Near character position 21
>
> or
>
> Error in line 78
> Near character position 24
>
> It is not consistantly dying in the same spot, and if I run it manually
> afterward it runs fine. Most evenings these errors do not occur, weird.
>
> Anyway, I suspect that another process may have a record locked. Is there a
> way to report on this from the unload script?
>
>
> Thanks,
>
> Marc


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com