- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- DCL WRITE/SYMBOL Failing - Bug?
Operating System - OpenVMS
1820636
Members
1910
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-23-2005 10:27 PM
тАО08-23-2005 10:27 PM
DCL WRITE/SYMBOL Failing - Bug?
Here's a great one for you!
I have a set of routines (DCF) designed to handle files and records. The routines work fine across the system.
I've recently decided to take advantage of the 7.3-2 increased DCL limits and am writing a record of 500 bytes.
As you can see, the attempt to write a record fails. If I then close the file, re-open it and retry the write, it's sucessful.
I suspect this is an internal DCL/RMS bug, but I'd like your opinion.
If anyone's interested in the full code, drop me your email address to ratkinsonuk_at_tbs-ltd_dot_co_dot_uk.
$ !
$ OPEN /READ /WRITE /SHARE /ERROR=OPEN_MASTERFILE_ERROR OUTFILE DSK$EMAILDIST
...........
$ SH LOG OUTFILE*
(LNM$PROCESS_TABLE)
"OUTFILE" = "_$1$DGA100"
(LNM$JOB_811F26C0)
(LNM$GROUP_000250)
(LNM$SYSTEM_TABLE)
(LNM$SYSCLUSTER_TABLE)
(DECW$LOGICAL_NAMES)
$ WRITE /SYMBOL OUTFILE DCF$EMD_RECORD
%RMS-F-FAC, record operation not permitted by specified file access (FAC)
$ERROR:
$ DCF$ACTION == "TRUE"
$ !
$ VERIFY = 1
$ !
$ EXIT %X00004
%NONAME-F-NOMSG, Message number 00000004
GAMMA_ROB$$ CLOSE OUTFILE
GAMMA_ROB$$ OPEN /READ /WRITE /SHARE /ERROR=OPEN_MASTERFILE_ERROR OUTFILE DSK$EMAILDIST
GAMMA_ROB$$ WRITE /SYMBOL OUTFILE DCF$EMD_RECORD
GAMMA_ROB$$ CLOSE OUTFILE
I have a set of routines (DCF) designed to handle files and records. The routines work fine across the system.
I've recently decided to take advantage of the 7.3-2 increased DCL limits and am writing a record of 500 bytes.
As you can see, the attempt to write a record fails. If I then close the file, re-open it and retry the write, it's sucessful.
I suspect this is an internal DCL/RMS bug, but I'd like your opinion.
If anyone's interested in the full code, drop me your email address to ratkinsonuk_at_tbs-ltd_dot_co_dot_uk.
$ !
$ OPEN /READ /WRITE /SHARE /ERROR=OPEN_MASTERFILE_ERROR OUTFILE DSK$EMAILDIST
...........
$ SH LOG OUTFILE*
(LNM$PROCESS_TABLE)
"OUTFILE" = "_$1$DGA100"
(LNM$JOB_811F26C0)
(LNM$GROUP_000250)
(LNM$SYSTEM_TABLE)
(LNM$SYSCLUSTER_TABLE)
(DECW$LOGICAL_NAMES)
$ WRITE /SYMBOL OUTFILE DCF$EMD_RECORD
%RMS-F-FAC, record operation not permitted by specified file access (FAC)
$ERROR:
$ DCF$ACTION == "TRUE"
$ !
$ VERIFY = 1
$ !
$ EXIT %X00004
%NONAME-F-NOMSG, Message number 00000004
GAMMA_ROB$$ CLOSE OUTFILE
GAMMA_ROB$$ OPEN /READ /WRITE /SHARE /ERROR=OPEN_MASTERFILE_ERROR OUTFILE DSK$EMAILDIST
GAMMA_ROB$$ WRITE /SYMBOL OUTFILE DCF$EMD_RECORD
GAMMA_ROB$$ CLOSE OUTFILE
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 11:06 PM
тАО08-23-2005 11:06 PM
Re: DCL WRITE/SYMBOL Failing - Bug?
Ignore me (having a stupid day). I was opening the file twice, once read only and the write, hence the FAC error.
Rob.
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 12:57 AM
тАО08-24-2005 12:57 AM
Re: DCL WRITE/SYMBOL Failing - Bug?
Robert,
"bad days" remembers me a song of REM.
Stop your work for a while and give your congratulation to some promote gurus in this forum.
Have a nice day!
Antonio Vigliotti
"bad days" remembers me a song of REM.
Stop your work for a while and give your congratulation to some promote gurus in this forum.
Have a nice day!
Antonio Vigliotti
Antonio Maria Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 01:48 AM
тАО08-24-2005 01:48 AM
Re: DCL WRITE/SYMBOL Failing - Bug?
This leaves the question, why the procedure didn't proceed to the error label.
Note:
I normally add a CLOSE/NOLOG... before every OPEN, just in case.
regards Kalle
Note:
I normally add a CLOSE/NOLOG... before every OPEN, just in case.
regards Kalle
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP