Re: [U2] WRITESEQ Error

2013-04-12 Thread Al DeWitt
We found the cause to this problem and I thought I'd share it with you.

The file we append sits on a virtual PC.  The VOC pointer is 
\\file-server\share-name\folder-name

This PC is configured for automatic windows updates and automatically restarts. 
 We had Patch Tuesday.  The PC restarted fine and automatically started the 
application, however, the share-name stopped working.

When the IT person tried to restart it he didn't do it correctly.  Now that we 
have correctly recreated share-name all is well.

Thanks for all your help.

Al DeWitt


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Woodward, Bob
 Sent: Thursday, April 11, 2013 6:34 PM
 To: U2 Users List
 Subject: Re: [U2] WRITESEQ Error
 
 I quite often found that the file had either not been sequentially opened, or 
 it had
 been closed before the writeseq command.
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
 Sent: Thursday, April 11, 2013 3:56 PM
 To: 'U2 Users List'
 Subject: Re: [U2] WRITESEQ Error
 
 I initially thought it was a permissions issue as well, however, I am a domain
 admin and I get the same error.  If it is a permissions error than something 
 has
 changed that I am not aware of.
 
 Al DeWitt
 
  -Original Message-
  From: Wjhonson [mailto:wjhon...@aol.com]
  Sent: Thursday, April 11, 2013 5:53 PM
  To: u2-users@listserver.u2ug.org
  Subject: Re: [U2] WRITESEQ Error
 
  Here 9 points to a permissions issue
 
  http://u2-universe-unidata.1073795.n5.nabble.com/Unidata-6-1-AIX-quot-
  write- error-errno-9-quot-on-WRITESEQ-td6781.html
 
 
 
 
 
 
 
 
 
  -Original Message-
  From: Kevin King ke...@precisonline.com
  To: U2 Users List u2-users@listserver.u2ug.org
  Sent: Thu, Apr 11, 2013 3:44 pm
  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
 ___
 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


Re: [U2] WRITESEQ Error

2013-04-12 Thread Bill Haskett
Beware of Windows Updates!  They've cause me all kinds of trouble.  So 
much so that I now have to review the updates by hand to see what 
they're trying to slip in!  :-o


Bill


- Original Message -
*From:* adew...@stylmark.com
*To:* 'U2 Users List' u2-users@listserver.u2ug.org
*Date:* 4/12/2013 7:59 AM
*Subject:* Re: [U2] WRITESEQ Error

We found the cause to this problem and I thought I'd share it with you.

The file we append sits on a virtual PC.  The VOC pointer is 
\\file-server\share-name\folder-name

This PC is configured for automatic windows updates and automatically restarts. 
 We had Patch Tuesday.  The PC restarted fine and automatically started the 
application, however, the share-name stopped working.

When the IT person tried to restart it he didn't do it correctly.  Now that we 
have correctly recreated share-name all is well.

Thanks for all your help.

Al DeWitt



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

I quite often found that the file had either not been sequentially opened, or 
it had
been closed before the writeseq command.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Thursday, April 11, 2013 3:56 PM
To: 'U2 Users List'
Subject: Re: [U2] WRITESEQ Error

I initially thought it was a permissions issue as well, however, I am a domain
admin and I get the same error.  If it is a permissions error than something has
changed that I am not aware of.

Al DeWitt


-Original Message-
From: Wjhonson [mailto:wjhon...@aol.com]
Sent: Thursday, April 11, 2013 5:53 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] WRITESEQ Error

Here 9 points to a permissions issue

http://u2-universe-unidata.1073795.n5.nabble.com/Unidata-6-1-AIX-quot-
write- error-errno-9-quot-on-WRITESEQ-td6781.html









-Original Message-
From: Kevin King ke...@precisonline.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Apr 11, 2013 3:44 pm
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
___
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


Re: [U2] WRITESEQ Error

2013-04-12 Thread Charles Stevenson
I, for one, truly appreciate it when people post back like this when 
they finally find the solution to their puzzle.

Thanks, Al.

cds

On 4/12/2013 9:59 AM, Al DeWitt wrote:

We found the cause to this problem and I thought I'd share it with you.

The file we append sits on a virtual PC.  The VOC pointer is 
\\file-server\share-name\folder-name

This PC is configured for automatic windows updates and automatically restarts. 
 We had Patch Tuesday.  The PC restarted fine and automatically started the 
application, however, the share-name stopped working.

When the IT person tried to restart it he didn't do it correctly.  Now that we 
have correctly recreated share-name all is well.

Thanks for all your help.

Al DeWitt


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


[U2] WRITESEQ Error

2013-04-11 Thread Al DeWitt
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Dan Goble
More times than not it is a permissions problem with the user / file


Dan Goble | Senior Systems Engineer

Interline Brands, Inc.
804 East Gate Drive Suite 100, Mount Laurel, NJ 08054
Office: 856.533.3110 | Mobile: 609.792.6855
E-mail: dan.go...@interlinebrands.com | Website: www.interlinebrands.com


This e-mail and any files transmitted with it are confidential and intended 
solely for the individual or entity to whom they are addressed.  Please notify 
the sender immediately by e-mail if you have received this e-mail in error and 
delete all copies of this message.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Thursday, April 11, 2013 5:11 PM
To: (u2-users@listserver.u2ug.org)
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Wjhonson
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Kevin King
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Wjhonson
Here 9 points to a permissions issue

http://u2-universe-unidata.1073795.n5.nabble.com/Unidata-6-1-AIX-quot-write-error-errno-9-quot-on-WRITESEQ-td6781.html



 

 

 

-Original Message-
From: Kevin King ke...@precisonline.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Apr 11, 2013 3:44 pm
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Al DeWitt
I initially thought it was a permissions issue as well, however, I am a domain 
admin and I get the same error.  If it is a permissions error than something 
has changed that I am not aware of.

Al DeWitt

 -Original Message-
 From: Wjhonson [mailto:wjhon...@aol.com]
 Sent: Thursday, April 11, 2013 5:53 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] WRITESEQ Error
 
 Here 9 points to a permissions issue
 
 http://u2-universe-unidata.1073795.n5.nabble.com/Unidata-6-1-AIX-quot-write-
 error-errno-9-quot-on-WRITESEQ-td6781.html
 
 
 
 
 
 
 
 
 
 -Original Message-
 From: Kevin King ke...@precisonline.com
 To: U2 Users List u2-users@listserver.u2ug.org
 Sent: Thu, Apr 11, 2013 3:44 pm
 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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Wjhonson
Try to read and write that same file *from* the O/S level, NOT from within 
Universe.
Can you do that?  Does it complain?

Permissions are nasty beasts, they sometimes see *you* and your *inside 
Universe persona* as two different creatures.

 

 

 

-Original Message-
From: Al DeWitt adew...@stylmark.com
To: 'U2 Users List' u2-users@listserver.u2ug.org
Sent: Thu, Apr 11, 2013 3:55 pm
Subject: Re: [U2] WRITESEQ Error


I initially thought it was a permissions issue as well, however, I am a domain 
admin and I get the same error.  If it is a permissions error than something 
has 
changed that I am not aware of.

Al DeWitt

 -Original Message-
 From: Wjhonson [mailto:wjhon...@aol.com]
 Sent: Thursday, April 11, 2013 5:53 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] WRITESEQ Error
 
 Here 9 points to a permissions issue
 
 http://u2-universe-unidata.1073795.n5.nabble.com/Unidata-6-1-AIX-quot-write-
 error-errno-9-quot-on-WRITESEQ-td6781.html
 
 
 
 
 
 
 
 
 
 -Original Message-
 From: Kevin King ke...@precisonline.com
 To: U2 Users List u2-users@listserver.u2ug.org
 Sent: Thu, Apr 11, 2013 3:44 pm
 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

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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Daniel McGrath
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Wjhonson
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


Re: [U2] WRITESEQ Error

2013-04-11 Thread Woodward, Bob
I quite often found that the file had either not been sequentially
opened, or it had been closed before the writeseq command.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Thursday, April 11, 2013 3:56 PM
To: 'U2 Users List'
Subject: Re: [U2] WRITESEQ Error

I initially thought it was a permissions issue as well, however, I am a
domain admin and I get the same error.  If it is a permissions error
than something has changed that I am not aware of.

Al DeWitt

 -Original Message-
 From: Wjhonson [mailto:wjhon...@aol.com]
 Sent: Thursday, April 11, 2013 5:53 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] WRITESEQ Error
 
 Here 9 points to a permissions issue
 
 http://u2-universe-unidata.1073795.n5.nabble.com/Unidata-6-1-AIX-quot-
 write- error-errno-9-quot-on-WRITESEQ-td6781.html
 
 
 
 
 
 
 
 
 
 -Original Message-
 From: Kevin King ke...@precisonline.com
 To: U2 Users List u2-users@listserver.u2ug.org
 Sent: Thu, Apr 11, 2013 3:44 pm
 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
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users