Using NFS shares from RMCobol

I have set up a directory on a PC using smb and can access the directory using all normal unix commands.
I want to be able to access files in the directory from RMCobol programs but get system error 46 which appears to be "no record locks available".
Does anybody know what I need to do to overcome this so that I can read the files?

regards

Ron Grout

Hmmm Lots of Cobol questions over the week....and I thought Cobol was dead.

Since you want to read the file, use "OPEN INPUT". I can't believe that Cobol will try to lock records in input mode.

It does appear to do so - I can't understand it either.
Perhaps it is the difference in file attributes under XP or something.
I can't write a file either.
I have set up shares in visionfs as well but to no avail.
There must be other RMCobol users out there that do this!

I think that RMCobol will run on XP. That might be a solution. I would also contact the compiler vendor. It does not make sense to lock records in input mode.

Samba is not NFS. There are NFS products for XP. They may support the lockd protocol, but I'm not sure.