- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- FORTRAN file open recl
Operating System - OpenVMS
1753572
Members
5905
Online
108796
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
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-2004 07:10 AM
тАО08-23-2004 07:10 AM
FORTRAN file open recl
Is it possible to write a formatted file with lines containing more than 32767 bytes (characters)? I'm using FORTRAN on an ALPHA system running OpenVMS 7.1. Is there a way to get around the maximum record length (RECL) of 32767?
Thanks,
Kin Wong
Thanks,
Kin Wong
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 08:24 AM
тАО08-23-2004 08:24 AM
Re: FORTRAN file open recl
No. Formatted file records are implemented directyl as RMS records, which have this 32767 byte restriction.
Now for Unformatted files, the records can be 'segmentend'. Segmented records can be as lon as you need through a systems of segments flags. Two bytes to indicated whether an RMS 'physical' record is the first or last (or first and list = single) of a fortran logical record. Such unformatted logical records can be long on top of limited length physical RMS records.
http://h18009.www1.hp.com/fortran/docs/vms-um/dfumio.htm#index_x_1821
hth,
Hein.
Now for Unformatted files, the records can be 'segmentend'. Segmented records can be as lon as you need through a systems of segments flags. Two bytes to indicated whether an RMS 'physical' record is the first or last (or first and list = single) of a fortran logical record. Such unformatted logical records can be long on top of limited length physical RMS records.
http://h18009.www1.hp.com/fortran/docs/vms-um/dfumio.htm#index_x_1821
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 09:09 AM
тАО08-23-2004 09:09 AM
Re: FORTRAN file open recl
Kin,
As Hein says, these are the limits of RMS reflected through FORTRAN I/O. However, from an application perspective, there's nothing to stop you from implementing your own I/O routines which accept records of arbitrary length and map them to RMS files. In simplest form, just use internal WRITEs to format your records, then write them to unformatted files.
As Hein says, these are the limits of RMS reflected through FORTRAN I/O. However, from an application perspective, there's nothing to stop you from implementing your own I/O routines which accept records of arbitrary length and map them to RMS files. In simplest form, just use internal WRITEs to format your records, then write them to unformatted files.
A crucible of informative mistakes
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP