James Dickson writes:
>Does anyone know how to programmatically, i.e. in Posix & C, disable
>MPE from requesting a lockword if it is not specified in the HPFOPEN
>formal designator.
One thing you can do is include a blank lockword in the formal designator
if it doesn't have a lockword. For example, change:
MYFILE.PUB.MYAPP
to
MYFILE/.PUB.MYAPP
This will cause the HPFOPEN call to return a lockword violation error
code (FSERR 92, I think) rather than prompting for the lockword.
-- Bruce Toback
[log in to unmask]