develooper Front page | perl.perl5.porters | Postings from May 2012

Re: [perl #7873] [RESOLVED] Accessing remote file on OpenVMS withperl5.6.1 fails

Thread Previous
From:
John E. Malmberg
Date:
May 9, 2012 16:15
Subject:
Re: [perl #7873] [RESOLVED] Accessing remote file on OpenVMS withperl5.6.1 fails
Message ID:
4FAAFA4C.3010401@encompasserve.org
On 5/8/2012 10:07 PM, Craig A. Berry wrote:
> On Mon, May 7, 2012 at 5:15 PM, Doug Woronuk<doug.woronuk@megasys.com>  wrote:
>> Hello Brad and others;
>>
>> We are now using Perl 5.8.6 and the same problem exists.  Here's my
>> specifics:
>>
>> On OpenVMS MEG2::
>>
>> open(FH,'>ITN3::A.A') or die "Failed to open file\n";
>> print "Got here\n";
>> print FH "test";
>> close FH;
>>
>> Fatal VMS error (status=2312) at P_ROOT:[000000]VMS.C;2, line 6706 at a.pl
>> line 1.
>> Fatal VMS error (status=2312) at P_ROOT:[000000]VMS.C;2, line 6706.
>> %SYSTEM-W-NOSUCHDEV, no such device available

> Thanks for the reply, Doug.  Have you confirmed this works outside of
> Perl, i.e.,
>
> $ open/write remote itn3::a.a
> $ write remote "something something"
> $ close remote
> $ type  remote itn3::a.a
>
> If it's only reproducible with Perl, then it would need to be verified
> with a current version of Perl, i.e., 5.12.x or later.  I haven't used
> DECnet in a long time and I don't think I have anything set up to do
> that verification myself.

I can not reproduce this problem with the HP supplied Perl 5.8.6 or with 
Perl v5.11.0.  I do not have a later Perl built.

In general, if the xxx::a.a syntax works on node xxx, and does not work 
from a different node, then it indicates that something is wrong, like a 
missing or incorrect proxy, or an error in the sylogin.com or login.com, 
or something else is causing the problem.

EAGLE> perl decnet_test.pl
Got here
EAGLE> type decnet_test.pl
open(FH,'>LION::A.A') or die "Failed to open file\n";
print "Got here\n";
print FH "test";
close FH;
EAGLE> dir lion::a.a;

Directory LION::USER_ROOT:[MALMBERG]

A.A;2

Regards,
-John
Personal Opinion Only

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About