Are you saying the C can distinguish between these various error, but Universe 
cannot?
Also is there a list of these error codes somewhere that we could grab?


 

 

 

-----Original Message-----
From: Daniel McGrath <dmcgr...@rocketsoftware.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Thu, Apr 11, 2013 4:14 pm
Subject: Re: [U2] WRITESEQ Error


It is an error code thrown from the c functions like lseek or write. It means 
'Bad file descriptor' - typically occurs when a program cannot write to the 
file 
for any of the following reasons: Growing beyond ulimit, writing to a read-only 
file (either opened as read only or permission issues),  or has been closed 
externally (such as losing a network drive).

As a general rule of thumb, if you see errno, it is a C level error, so you can 
check out error codes for seemingly similar C functions.

Obviously, this error condition is something  that can be better documented or 
trapped though.

Cheers,
Dan

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Kevin King
Sent: Thursday, April 11, 2013 4:44 PM
To: U2 Users List
Subject: Re: [U2] WRITESEQ Error

Al brings up a good point though... Where would one find what error 9 means 
exactly?  I scanned the documentation and didn't see any mention of an error 9 
for WRITESEQ or even described in STATUS() which is where a lot of the IO 
errors 
show up.


On Thu, Apr 11, 2013 at 3:45 PM, Wjhonson <wjhon...@aol.com> wrote:

> You're first test is always permissions.
> Permissions, permissions, I hate them.
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Al DeWitt <adew...@stylmark.com>
> To: (u2-users@listserver.u2ug.org) <u2-users@listserver.u2ug.org>
> Sent: Thu, Apr 11, 2013 2:10 pm
> Subject: [U2] WRITESEQ Error
>
>
> I have a program that has been working fine until today.  The users 
> are now experiencing an error at the following statement #:
>
> 508:     WRITESEQ RECRD APPEND ON FILEIN ELSE
> ... at line 508 write error, errno = 9
>
> Can someone tell me what errno 9 is and what my cause it?    The file
> resides on
> a virtual XP machine that runs a third-party app that reads this file.
>
> Thanks.
>
> Albert DeWitt, CPIM
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
>
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to