- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- RMS-E-FLK, file currently locked by another user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 03:52 AM
тАО02-17-2008 03:52 AM
I am getting the above error while deleting one of the file.
No one else is using the system and I am not able to delete the file.
Can any one help me to know, how can I delete that file and how to know which process has locked this file.
Best Regards,
ajaydec
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 04:27 AM
тАО02-17-2008 04:27 AM
Re: RMS-E-FLK, file currently locked by another user
If a file is installed, that could be a reason that you can't delete it, but it will show up as being open by the PID 00000000.
What file are you trying to delete?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 04:42 AM
тАО02-17-2008 04:42 AM
Re: RMS-E-FLK, file currently locked by another user
I got the following output:
QUEUE_MANAGER 00008096 [VMS$COMMON.SYSEXE]QMAN$MASTER.DAT;1
00000000 [DECEDI.DATA]DECEDI_CSG.GS;131
Could you tell me what to do next.
File name is DECEDI_CSG.GS;131
How shud I stop queue_manager to access this file.
Thanks & Regards,
ajaydec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 05:14 AM
тАО02-17-2008 05:14 AM
Re: RMS-E-FLK, file currently locked by another user
<<<
00000000 [DECEDI.DATA]DECEDI_CSG.GS;131
<<<
So. like Jon indicated, the file is INSTALLed. That means, the file has been made permanently "KNOWN" to the system.
Obviously it is a DECEDI file, so to gain control over it, you will have to stop DECEDI. But I really doubt that it would be wise to delete that file (at least without knowing much more about what it is doing, and WHY it would be INSTALLed by DECEDI).
And the que manager? DO NOT tamper with that!!
In this case, it is just a totally unrelated process that has another file opened, which only happens to be displayed one line ahead of your DECEDI file.
hth
Proost.
Have one on me.
jpe

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 05:23 AM
тАО02-17-2008 05:23 AM
Re: RMS-E-FLK, file currently locked by another user
I have de-installed DEC/EDI from my system and will be installing the later version. While de-installing the older verion I don't know how that file is left and now I am not able to delete that file.
Without knowing I have stopped queue manager in a hope that after this I can delete the file but now the output of show dev /file is as follows:
TCPIP$MOUNTD_1 000005F6 [TCPIP$NFS]TCPIP$MOUNTD.PID;1
00000000 [DECEDI.DATA]DECEDI_CSG.GS;131
Could you help me how can I remove this file from my system.
Regards,
ajaydec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 07:21 AM
тАО02-17-2008 07:21 AM
Re: RMS-E-FLK, file currently locked by another user
>>>
I have de-installed DEC/EDI from my system
<<<
Okay, but obviously it was not yet completely stopped;. or the de-instal did not include a STOP
>>>
Without knowing I have stopped queue manager
<<<
Well, start it again with
$ START QUEUE/MANAGER
>>>
Could you help me how can I remove this file from my system.
<<<
Well, it probably was just INSTALLed, so (needs CMKRNL):
$ INSTAL REMOVE
should do the trick.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 09:02 AM
тАО02-17-2008 09:02 AM
Solutionthe file extension .GS does not necessaryily imply, that this file is an installed executable. It my be a global section file, which has been installed as a global section by the DECEDI software. In this case, you may not be able to de-install it with INSTALL and you'll have to reboot the system, if you can't find the correct DECEDI shutdown procedure to remove this global section.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 10:00 AM
тАО02-17-2008 10:00 AM
Re: RMS-E-FLK, file currently locked by another user
A reboot is certainly not the preferred solution, but then I'd not expect a product removal sequence to be necessary with most software products, and this removal sequence was clearly incomplete somehow, thus the likely safest way to proceed with any expediency here is a system reboot.
Does the DEC/EDI upgrade sequence indicate the previous version was to be removed before the new version is installed? That's fairly unusual in general, as it nukes the previous context and settings.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2008 10:16 PM
тАО02-19-2008 10:16 PM
Re: RMS-E-FLK, file currently locked by another user
You are right its a global section, can you tell me how can i remove global section from memory.
Regards,
ajaydec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2008 11:26 PM
тАО02-19-2008 11:26 PM
Re: RMS-E-FLK, file currently locked by another user
you can't delete a global section with DCL or INSTALL. You need to find the appropriate DECedi shutdown program to clean up and issue a $DGBLSC system service, to mark that global section for deletion. When the last process, which has mapped that section, exits, then the global section will be deleted.
A reboot will always help ;-)
Otherwise have a look with INSTALL LIST/GLOBAL/FULL and see, if you can find that global section. It may already be on the 'Delete Pending Global Sections' list.
If it's still installed and not on the delete pending list and you can't find the DECedi program to shut down this section, you may be able to write a little program using $DGBLSC to delete the section.
If it's on the delete pending list, you'll need to find, which processes are still mapped to that section:
$ ANAL/SYS
SDA> SHOW GSD/DELETE
SDA> SHOW GST/SECTION_INDEX=xx ! xx= GSTX
Then you'll find the WCB (Window Control Block) address in the 'Window' column.
SDA> SET OUT/NOINDEX x.x
SDA> SHOW PROC/CHAN ALL
SDA> EXIT
$ SEA x.x "
If you find the WCB address, you need to EDIT x.x, find the WCB address and scroll back to the process name. Then STOP/ID that process.
Volker.