HP3000-L Archives

June 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Sun, 22 Jun 1997 08:34:49 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
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]

ATOM RSS1 RSS2