1752794 Members
6132 Online
108789 Solutions
New Discussion юеВ

Re: %dcl-e-open

 
nuno vitoria_1
Occasional Advisor

%dcl-e-open

i have this error:

%DCL-E-OPENOUT, error opening BG_DIGI:[LOGIN] LAST_SETUP_DIGI.COM; as output
-RMS-E-WLK, device currently locked

INTERnet ACP AUXS failure status=%RMS-E-WLK
26 REPLIES 26
marsh_1
Honored Contributor

Re: %dcl-e-open

Hi nuno,


it would be helpful if you could provide some more info, e.g operating system version,architecture, what it is you are doing when you get this error, is this new behaviour and if so what else has changed ?
Joseph Huber_1
Honored Contributor

Re: %dcl-e-open

RMS-E-WLK: somebody tries to write to a read-only device, defined through the logical name BG_INI .

Internet AUXS indicates the process trying to write to the file is started as a TCPIP service.

Since BG_DIGI is not a base VMS name, if You don't know to which application-package it belongs, do a
TCPIP SHOW SERVICE
to see if one of the services refers to this name.
http://www.mpp.mpg.de/~huber
Hein van den Heuvel
Honored Contributor

Re: %dcl-e-open

What is being attempted when this error occurs? Did it ever work?

To investigate, start with: $HELP/MESS WLK.
It reads: "The hardware device specified for an RMS file system operation is write-locked for protection, and write access is attempted."

That device pretty much has to be whatever is pointed to by "BG_DIGI".
So do a: SHOW LOG BG_DIGI
As well as: $SHOW DEVICE BG_DIGI

Are you running something from a CD?

Cheers,
Hein.
Hoff
Honored Contributor

Re: %dcl-e-open

You can either debug the DCL command procedure involved here, or pass along a problem report to the individual or organization that is maintaining this DCL command procedure on your behalf.

If you're maintaining this DCL command procedure, enable verification (eg: $ SET VERIFY) or otherwise insert some debugging statements (eg: $ WRITE SYS$OUTPUT "debug message") or such.

In this case, it looks that the DCL command OPEN has failed here; that there is either some faulty prolog code, a change that has adversely effected the OPEN command, or a faulty OPEN command. Or there could be a system-level issue arising here, and one that could easily involve some sort of a configuration issue or hardware error; something that has locked a disk.

If you have a support contract, use it. If you don't have a support contract, call in a specialist and/or get a support contract. That, or you're going to be learning rather more about how to support OpenVMS and the hardware and the software involved here. (See above.)

Jess Goodman
Esteemed Contributor

Re: %dcl-e-open

To get some more details about the error, do
$ SHOW DEVICE/FULL BG_DIGI:

If, as would seem likely, the device physical name starts with BG then it is an IP socket. Depending on what TCP/IP stack you are using and what VMS version you are runnning (hint: tell us these things), you can get socket details with the command:

$ UCX SHOW DEVICE /FULL BGn

where BGn is the socket's physical device name that was output with the first command.
I have one, but it's personal.
Richard J Maher
Trusted Contributor

Re: %dcl-e-open

Hi,

Did this DCL used to work and has just stopped working? Has the open statement changed?

What does

$ucx show dev bg_digi/full

display?

I have attached an INETd (Auxillary Server) example which is probably of little use to you as it uses the $assign service from a 3GL rather than DCL OPEN (but it does have 2PC between Windows SQL Server and DECdtm/Rdb :-)

Cheers Richard Maher
Jess Goodman
Esteemed Contributor

Re: %dcl-e-open

Richard,

For some strange reason the UCX - TCP/IP services command UCX SHOW DEVICE does not allow you to use a logical name for the socket device - at least up through TCP/IP Services 5.4.
I have one, but it's personal.
nuno vitoria_1
Occasional Advisor

Re: %dcl-e-open




Welcome to OpenVMS AXP (TM) Operating System, Version V6.2

Username: SYSTEM
Password:
Welcome to OpenVMS Alpha Operating System, Version V6.2 on node LITAX1
Last interactive login on Tuesday, 7-OCT-2008 08:53:31.67
Last non-interactive login on Tuesday, 7-OCT-2008 10:28:39.56
DEFAULT keypad definitions:
F17 = "@BG_GEN:[COM]SETUP DIGI"
F18 = "@BG_COM:SYSMGT"
F19 = "@BG_COM:VBACKUP_SUPERVISOR"
F20 = "@BG_GEN:[COM]SETUPEDD"


$ ucx show dev bg_digi/full
%UCX-E-INETERROR, Error accessing Internet
-UCX-E-INVSOCKNAM, Invalid socket name
$
nuno vitoria_1
Occasional Advisor

Re: %dcl-e-open

This station needs de server for to work.

IRIX (litsg3)

login: digi
Password:
IRIX Release 6.3 IP32 litsg3
Copyright 1987-1996 Silicon Graphics, Inc. All Rights Reserved.
Last login: segunda-feira 06 de outubro 2008 17:42:22 on :0

Client: litsg3
Server: litax1

Software version: DIGI V9.4.1 (dd. 1-FEB-1999 10:49)
Maintenance Pack 4 (dd. 17-NOV-1999 09:45)

Software downloaded: yes

Locale "pt" used for: Operating System
Typography

litsg3 1%