On Apr 10, 2011 4:05 AM, "Sunita Rani Pradhan" <sunita.prad...@altair.com> wrote: > > sysopen(DATA,"list1.txt",O_RDWR|O_TRUNC); >
Why not just use open with +< ? I've never seen the benefit of sysopen unless you're working with a stream. Also, I don't know those options are compatible with each other. > It is failing with following error : Argument "O_VVW^C" isn't numeric in > sysopen at sysopen.pl line 3. > IIRC the options are numeric (binary?) values that get added up. Maybe that 'VVW' is the result. If I'm right, this nonsense result is because the options don't work together. > > > I am not able to find the cause of this issue. Could anybody let me know > , where I am wrong ? > > > > > > Thanks > > Sunita >