- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- VMS 5.5.2 FORTRAN OPEN error 30 attempting to crea...
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
Forums
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
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
тАО06-22-2006 05:35 AM
тАО06-22-2006 05:35 AM
VMS 5.5.2 FORTRAN OPEN error 30 attempting to create file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 05:47 AM
тАО06-22-2006 05:47 AM
Re: VMS 5.5.2 FORTRAN OPEN error 30 attempting to create file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 06:37 AM
тАО06-22-2006 06:37 AM
Re: VMS 5.5.2 FORTRAN OPEN error 30 attempting to create file
Hello William,
Welcome to the OpenVMS ITRC Forum.
I suspect that your problem is lack of CONTIGUOUS free space on the disk.
Directory entries are inserted in alphatical order in the directory blocks. When a block fills, the rest of the directory is shuffled up by a block and the directory may need to grow.
If it needs to grow, then a CONTIGUOS chunk of diskspace, larger then the current directory is allocated. If that fails, then the directory enty insertion fails, and thus the file create fails.
Some file name may be directed to directory blocks with some free space left, while others find a full block and trigger the (failing) growth.
270 K block free is really pittyful.
I recommend DFU to analyze the situation,
and/or the VMS Defrag tool in display mode.
You can also try:
$COPY /CONTIG/ALLO=NNN nl: tmp.tmp
where NNN = current directty size plus a few.
If that fails, then you know you are in trouble.
Good luck,
Hein
HvdH Performance Consulting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 10:23 AM
тАО06-22-2006 10:23 AM
Re: VMS 5.5.2 FORTRAN OPEN error 30 attempting to create file
Presumably your program has an IOSTAT clause in the OPEN statement to catch the error status. Although that's good programming practice, to control behaviour in the case of errors, but it can obscure useful information, as any failure conditions are reduced to a single number.
If you omit the IOSTAT, the FORTRAN RTL will signal the whole condition, including secondary and tertiary RMS conditions.
If the condition is repeatable, try removing the IOSTAT clause from the OPEN statement, at least while you're debugging.
More generally, you can have the best of both worlds by writing your code like this:
OPEN( whatever... IOSTAT=stat)
IF(stat.EQ.expected-error1)THEN
deal with expected error1
ELSEIF(stat.EQ.expected-error2)THEN
deal with expected error2
ELSEIF (other expected errors)
...
ELSEIF (unknown error) THEN
OPEN(same as above but without IOSTAT)
ENDIF
(Oh, and here's a nickle, go buy youself a GB of disk space! Work out how much of your time 270K blocks of disk is worth - probably just a few seconds)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 11:47 PM
тАО06-22-2006 11:47 PM
Re: VMS 5.5.2 FORTRAN OPEN error 30 attempting to create file
ERRSNS ([io-err] [,sys-err] [,stat] [,unit] [,cond])
io-err - Stores the most recent Fortran error number that occurred during program execution. The value is zero if no error has occurred.
sys-err - Stores the most recent RMS STS status code.
stat - Stores the most recent RMS STV status value. This status value provides additional status information.
unit - Stores the logical unit number (if the last the last error was an I/O error).
cond - Stores the actual processor value. This value is always zero.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2006 01:49 AM
тАО06-23-2006 01:49 AM
Re: VMS 5.5.2 FORTRAN OPEN error 30 attempting to create file
Phil