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:
Don Seay <[log in to unmask]>
Reply To:
Date:
Mon, 16 Jun 1997 12:39:44 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
[log in to unmask] (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.
>
> The only way I have found is to close stdin but then the lockword
> violation error is way down in the error stack, and also it will be
> very inefficient for me to keep closing/reopening stdin every time I
> want to open a file.
>
>
> Any ideas?
>
>
> Jamie Dickson.

Try specifying a null lockword in the filename, as in filename/ or
filename/.pub.sys. I believe that will return an error to HPFOPEN
instead of prompting for a lockword if the file has a lockword.

ATOM RSS1 RSS2