Front page | perl.vmsperl |
Postings from June 2002
RE: TYPE/CONT in Perl
Thread Previous
|
Thread Next
From:
Craig A. Berry
Date:
June 10, 2002 11:50
Subject:
RE: TYPE/CONT in Perl
Message ID:
5.1.1.5.0.20020610133556.02dfff18@mail.mac.com
At 07:11 PM 6/10/2002 +0100, BAZLEY, Sebastian wrote:
>found the magic incantation:
>
>$in=vmsopen($file,'shr=put','ctx=rec');
>
>Thanks again for helping solve the problem.
>
>If the VMS::Stdio documentation is ever updated, perhaps it might be useful
>to add an example using these qualifiers?
It looks like the appropriate documentation is with the creat() function in
the C RTL Reference. The most pertinent bit says:
"You cannot share the default Compaq C for OpenVMS stream file I/O. If you
wish to share files, you must specify 'ctx=rec' to force record access mode.
You must also specify the appropriate 'shr' options depending on the type of
access you want. "
If you ever have multiple copies of this script going after the same file
you may also need 'rop=nlk' or possibly 'rop=rrl'.
Thread Previous
|
Thread Next