<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: %RMS-F-RSZ, invalid record size in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375505#M41844</link>
    <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;ajaydec</description>
    <pubDate>Tue, 10 Mar 2009 09:36:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-03-10T09:36:16Z</dc:date>
    <item>
      <title>%RMS-F-RSZ, invalid record size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375502#M41841</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While updating the file using sys$update I am getting following error.&lt;BR /&gt;&lt;BR /&gt;%RMS-F-RSZ, invalid record size&lt;BR /&gt;&lt;BR /&gt;From VMS help I get to know, there is some problem with the record size of the file.&lt;BR /&gt;&lt;BR /&gt;Could you help me to know how to check the record size of the current file?&lt;BR /&gt;And is it possible to change the record size of a file?&lt;BR /&gt;&lt;BR /&gt;Here is the output of dir /full and ana /rms &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ dir test.dat /full&lt;BR /&gt;&lt;BR /&gt;Directory DKA200:[PROGRAMS]&lt;BR /&gt;&lt;BR /&gt;TEST.DAT;1                    File ID:  (93465,43,0)&lt;BR /&gt;Size:            9/9          Owner:    [NITIN,AUTH]&lt;BR /&gt;Created:    10-MAR-2009 12:25:20.59&lt;BR /&gt;Revised:    10-MAR-2009 12:25:20.63 (1)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online&lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 9, Extend: 1000, Global buffer count: 0, No version limit, Contiguous best try&lt;BR /&gt;Record format:      Undefined, maximum 0 bytes, longest 3732 bytes&lt;BR /&gt;Record attributes:  None&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWED, Owner:RWED, Group:RE, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 9/9 blocks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ana /rms test.dat&lt;BR /&gt;&lt;BR /&gt;Check RMS File Integrity                     10-MAR-2009 12:26:35.60   Page 1&lt;BR /&gt;DKA200:[PROGRAMS]TEST.DAT;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FILE HEADER&lt;BR /&gt;&lt;BR /&gt;        File Spec: DKA200:[PROGRAMS]TEST.DAT;1&lt;BR /&gt;        File ID: (93465,43,0)&lt;BR /&gt;        Owner UIC: [NITIN,AUTH]&lt;BR /&gt;        Protection:  System: RWED, Owner: RWED, Group: RE, World:&lt;BR /&gt;        Creation Date:   10-MAR-2009 12:25:20.59&lt;BR /&gt;        Revision Date:   10-MAR-2009 12:25:20.63, Number: 1&lt;BR /&gt;        Expiration Date: none specified&lt;BR /&gt;        Backup Date:     none posted&lt;BR /&gt;        Contiguity Options:  contiguous-best-try&lt;BR /&gt;        Performance Options: none&lt;BR /&gt;        Reliability Options: none&lt;BR /&gt;        Journaling Enabled:  none&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RMS FILE ATTRIBUTES&lt;BR /&gt;&lt;BR /&gt;        File Organization: sequential&lt;BR /&gt;        Record Format: undefined&lt;BR /&gt;        Record Attributes:&lt;BR /&gt;        Maximum Record Size: 0&lt;BR /&gt;        Longest Record: 3732&lt;BR /&gt;        Blocks Allocated: 9, Default Extend Size: 1000&lt;BR /&gt;        End-of-File VBN: 9, Offset: %X'016C'&lt;BR /&gt;        File Monitoring: disabled&lt;BR /&gt;        Global Buffer Count: 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The analysis uncovered NO errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ANA/RMS TEST.DAT&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nitin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
      <pubDate>Tue, 10 Mar 2009 08:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375502#M41841</guid>
      <dc:creator />
      <dc:date>2009-03-10T08:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: %RMS-F-RSZ, invalid record size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375503#M41842</link>
      <description>You can change file attributes using SET FILE/ATTRIBUTE&lt;BR /&gt;&lt;BR /&gt;As that file has an undefined record format then there is not a log ANAL/RMS can check.&lt;BR /&gt;Should it be another record format?</description>
      <pubDate>Tue, 10 Mar 2009 09:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375503#M41842</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2009-03-10T09:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: %RMS-F-RSZ, invalid record size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375504#M41843</link>
      <description>?? While updating the file using sys$update I am getting following error.&lt;BR /&gt;&lt;BR /&gt;What does this mean? sys$update is a directory,&lt;BR /&gt;what did You do really resulting to this error ?</description>
      <pubDate>Tue, 10 Mar 2009 09:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375504#M41843</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-03-10T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: %RMS-F-RSZ, invalid record size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375505#M41844</link>
      <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;ajaydec</description>
      <pubDate>Tue, 10 Mar 2009 09:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375505#M41844</guid>
      <dc:creator />
      <dc:date>2009-03-10T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: %RMS-F-RSZ, invalid record size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375506#M41845</link>
      <description>&lt;BR /&gt;Re: Joseph&lt;BR /&gt;&lt;BR /&gt;&amp;gt; sys$update is a directory,&lt;BR /&gt;&amp;gt; what did You do really resulting to this error ?&lt;BR /&gt;&lt;BR /&gt;Ayadec probably called the $UPDATE RMS service&lt;BR /&gt;(from C you have to call it "sys$update")&lt;BR /&gt;&lt;BR /&gt;Re: ayadec&lt;BR /&gt;Make sure RAB$W_RSZ is properly filled in in the RAB.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Tue, 10 Mar 2009 09:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375506#M41845</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2009-03-10T09:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: %RMS-F-RSZ, invalid record size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375507#M41846</link>
      <description>The RMS system service SYS$UPDATE takes the RAB field RAB$W_RSZ as input for the record size. &lt;BR /&gt;&lt;BR /&gt;For a SEQUENTIAL file, such as here, that record size MUST be exactly the same as the original record length. &lt;BR /&gt;The preceeding SYS$GET will have filled RAB$W_RSZ... don't change it.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;What problem are you really trying to solve?&lt;BR /&gt;&lt;BR /&gt;You may have to create a new file to hold the changed data.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Mar 2009 10:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-rsz-invalid-record-size/m-p/4375507#M41846</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-10T10:33:00Z</dc:date>
    </item>
  </channel>
</rss>

