- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: %RMS-F-RSZ, invalid record size
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
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
тАО03-10-2009 01:26 AM
тАО03-10-2009 01:26 AM
%RMS-F-RSZ, invalid record size
While updating the file using sys$update I am getting following error.
%RMS-F-RSZ, invalid record size
From VMS help I get to know, there is some problem with the record size of the file.
Could you help me to know how to check the record size of the current file?
And is it possible to change the record size of a file?
Here is the output of dir /full and ana /rms
$ dir test.dat /full
Directory DKA200:[PROGRAMS]
TEST.DAT;1 File ID: (93465,43,0)
Size: 9/9 Owner: [NITIN,AUTH]
Created: 10-MAR-2009 12:25:20.59
Revised: 10-MAR-2009 12:25:20.63 (1)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 9, Extend: 1000, Global buffer count: 0, No version limit, Contiguous best try
Record format: Undefined, maximum 0 bytes, longest 3732 bytes
Record attributes: None
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None
Total of 1 file, 9/9 blocks.
$ ana /rms test.dat
Check RMS File Integrity 10-MAR-2009 12:26:35.60 Page 1
DKA200:[PROGRAMS]TEST.DAT;1
FILE HEADER
File Spec: DKA200:[PROGRAMS]TEST.DAT;1
File ID: (93465,43,0)
Owner UIC: [NITIN,AUTH]
Protection: System: RWED, Owner: RWED, Group: RE, World:
Creation Date: 10-MAR-2009 12:25:20.59
Revision Date: 10-MAR-2009 12:25:20.63, Number: 1
Expiration Date: none specified
Backup Date: none posted
Contiguity Options: contiguous-best-try
Performance Options: none
Reliability Options: none
Journaling Enabled: none
RMS FILE ATTRIBUTES
File Organization: sequential
Record Format: undefined
Record Attributes:
Maximum Record Size: 0
Longest Record: 3732
Blocks Allocated: 9, Default Extend Size: 1000
End-of-File VBN: 9, Offset: %X'016C'
File Monitoring: disabled
Global Buffer Count: 0
The analysis uncovered NO errors.
ANA/RMS TEST.DAT
Regards,
Nitin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 02:17 AM
тАО03-10-2009 02:17 AM
Re: %RMS-F-RSZ, invalid record size
As that file has an undefined record format then there is not a log ANAL/RMS can check.
Should it be another record format?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 02:22 AM
тАО03-10-2009 02:22 AM
Re: %RMS-F-RSZ, invalid record size
What does this mean? sys$update is a directory,
what did You do really resulting to this error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 02:36 AM
тАО03-10-2009 02:36 AM
Re: %RMS-F-RSZ, invalid record size
I have written a C program to open a file and update the file test.dat (given file info above). For opening the file I am using VMS system service $open and for updating the file I am using RMS routine $update.
Regards,
ajaydec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 02:38 AM
тАО03-10-2009 02:38 AM
Re: %RMS-F-RSZ, invalid record size
Re: Joseph
> sys$update is a directory,
> what did You do really resulting to this error ?
Ayadec probably called the $UPDATE RMS service
(from C you have to call it "sys$update")
Re: ayadec
Make sure RAB$W_RSZ is properly filled in in the RAB.
Greetz,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 03:33 AM
тАО03-10-2009 03:33 AM
Re: %RMS-F-RSZ, invalid record size
For a SEQUENTIAL file, such as here, that record size MUST be exactly the same as the original record length.
The preceeding SYS$GET will have filled RAB$W_RSZ... don't change it.
If you _think_ you are not changing the record size, then you may want to provide more details about the code, check for memory over writes and so forth.
What problem are you really trying to solve?
You may have to create a new file to hold the changed data.
hth,
Hein.