popeye
29th October 2002, 03:21
Hi,
I get a ret value of -2 when I try to use seq.open(...).
What does it mean? I am UNIX (Baan IV c)
Thanks.
Cheers,
Popeye!

NPRao
29th October 2002, 05:39
Hi Madhu,

Here is the info from the help manual-


UNIX errors
1
EPERM
Not owner

This indicates an attempt to modify a file that cannot be modified, except by its owner or by a super user. This is also generated when ordinary users attempt an action that only a super user is permitted to carry out.

2
ENOENT
No such file or directory

This occurs when a specified file name should exist but does not, or when one of the directories in a path name does not exist.

ssbaan
29th October 2002, 17:02
This could also mean that you do not have the proper Unix permissions set on the directory or file that allows your user running the script access to the file